onehook-api-client 1.0.18 → 1.0.20

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.
@@ -0,0 +1,585 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isUiElementId = exports.TELEMETRY_EXEMPT_CATEGORIES = exports.uiElementsForPlatform = exports.UI_ELEMENTS = exports.UiElement = exports.HookedStateAction = exports.NotificationChannel = exports.NotificationType = exports.CardVariant = exports.SafetyAction = exports.LikeTargetType = exports.ProfileSection = exports.MediaType = exports.SwipeDirection = exports.UiElementKind = exports.UiAction = exports.TabScreen = exports.ViewableScreen = exports.Screen = exports.Platform = exports.SignalType = exports.TELEMETRY_CATALOG_HASH = exports.TELEMETRY_CATALOG_VERSION = void 0;
4
+ exports.TELEMETRY_CATALOG_VERSION = "1.3.0";
5
+ exports.TELEMETRY_CATALOG_HASH = "25955dd2f9856888";
6
+ exports.SignalType = {
7
+ SCREEN_VIEW: "screen_view",
8
+ UI_INTERACTION: "ui_interaction",
9
+ CARD_IMPRESSION: "card_impression",
10
+ CARD_SWIPE_UI: "card_swipe_ui",
11
+ PROMPT_VIEW: "prompt_view",
12
+ MEDIA_VIEW: "media_view",
13
+ MEDIA_FULLSCREEN_OPEN: "media_fullscreen_open",
14
+ SECTION_VIEW: "section_view",
15
+ NOTIFICATION_OPENED: "notification_opened",
16
+ SESSION_HEARTBEAT: "session_heartbeat",
17
+ LIKE_COMPOSER_OPEN: "like_composer_open",
18
+ LIKE_COMMENT_ABANDONED: "like_comment_abandoned",
19
+ CONVERSATION_OPENED: "conversation_opened",
20
+ COMPOSE_ABANDONED: "compose_abandoned",
21
+ PROFILE_REVISIT: "profile_revisit",
22
+ HOOKED_STATE_VIEW: "hooked_state_view",
23
+ LIKES_YOU_VIEW: "likes_you_view",
24
+ SAFETY_UI_OPEN: "safety_ui_open",
25
+ };
26
+ exports.Platform = {
27
+ WEB: "web",
28
+ IOS: "ios",
29
+ ANDROID: "android",
30
+ };
31
+ exports.Screen = {
32
+ NAV: "NAV",
33
+ LANDING: "LANDING",
34
+ LOGIN: "LOGIN",
35
+ REDEEM_INVITE: "REDEEM_INVITE",
36
+ ONBOARDING: "ONBOARDING",
37
+ DISCOVER: "DISCOVER",
38
+ LIKE_COMPOSER: "LIKE_COMPOSER",
39
+ LIKES_YOU: "LIKES_YOU",
40
+ CHAT: "CHAT",
41
+ CHAT_SETTINGS: "CHAT_SETTINGS",
42
+ NOTIFICATIONS: "NOTIFICATIONS",
43
+ PROFILE: "PROFILE",
44
+ PROFILE_EDIT: "PROFILE_EDIT",
45
+ PROFILE_PREVIEW: "PROFILE_PREVIEW",
46
+ PREFERENCES: "PREFERENCES",
47
+ SETTINGS: "SETTINGS",
48
+ PAYWALL: "PAYWALL",
49
+ LIVENESS: "LIVENESS",
50
+ PHOTO_VIEWER: "PHOTO_VIEWER",
51
+ SEARCH: "SEARCH",
52
+ CREATE: "CREATE",
53
+ SHARED: "SHARED",
54
+ };
55
+ exports.ViewableScreen = {
56
+ LANDING: "LANDING",
57
+ LOGIN: "LOGIN",
58
+ REDEEM_INVITE: "REDEEM_INVITE",
59
+ ONBOARDING: "ONBOARDING",
60
+ DISCOVER: "DISCOVER",
61
+ LIKE_COMPOSER: "LIKE_COMPOSER",
62
+ LIKES_YOU: "LIKES_YOU",
63
+ CHAT: "CHAT",
64
+ CHAT_SETTINGS: "CHAT_SETTINGS",
65
+ NOTIFICATIONS: "NOTIFICATIONS",
66
+ PROFILE: "PROFILE",
67
+ PROFILE_EDIT: "PROFILE_EDIT",
68
+ PROFILE_PREVIEW: "PROFILE_PREVIEW",
69
+ PREFERENCES: "PREFERENCES",
70
+ SETTINGS: "SETTINGS",
71
+ PAYWALL: "PAYWALL",
72
+ LIVENESS: "LIVENESS",
73
+ PHOTO_VIEWER: "PHOTO_VIEWER",
74
+ SEARCH: "SEARCH",
75
+ CREATE: "CREATE",
76
+ };
77
+ exports.TabScreen = {
78
+ DISCOVER: "DISCOVER",
79
+ LIKES_YOU: "LIKES_YOU",
80
+ CHAT: "CHAT",
81
+ PROFILE: "PROFILE",
82
+ };
83
+ exports.UiAction = {
84
+ TAP: "tap",
85
+ LONG_PRESS: "long_press",
86
+ SUBMIT: "submit",
87
+ TOGGLE: "toggle",
88
+ SELECT: "select",
89
+ DISMISS: "dismiss",
90
+ };
91
+ exports.UiElementKind = {
92
+ BUTTON: "button",
93
+ TAB: "tab",
94
+ TOGGLE: "toggle",
95
+ LINK: "link",
96
+ LIST_ITEM: "list_item",
97
+ MENU_ITEM: "menu_item",
98
+ DIALOG_BUTTON: "dialog_button",
99
+ GESTURE: "gesture",
100
+ SEGMENTED: "segmented",
101
+ };
102
+ exports.SwipeDirection = {
103
+ LEFT: "left",
104
+ RIGHT: "right",
105
+ UP: "up",
106
+ };
107
+ exports.MediaType = {
108
+ IMAGE: "image",
109
+ VIDEO: "video",
110
+ VOICE: "voice",
111
+ };
112
+ exports.ProfileSection = {
113
+ PHOTOS: "PHOTOS",
114
+ BIO: "BIO",
115
+ INTERESTS: "INTERESTS",
116
+ PROMPTS: "PROMPTS",
117
+ VOICE: "VOICE",
118
+ };
119
+ exports.LikeTargetType = {
120
+ PHOTO: "PHOTO",
121
+ VIDEO: "VIDEO",
122
+ VOICE: "VOICE",
123
+ PROMPT: "PROMPT",
124
+ INTEREST: "INTEREST",
125
+ BIO: "BIO",
126
+ };
127
+ exports.SafetyAction = {
128
+ UNMATCH: "unmatch",
129
+ BLOCK: "block",
130
+ REPORT: "report",
131
+ };
132
+ exports.CardVariant = {
133
+ INTERLEAVED: "interleaved",
134
+ SWIPE: "swipe",
135
+ FEED: "feed",
136
+ };
137
+ exports.NotificationType = {
138
+ NEW_MATCH: "new_match",
139
+ NEW_LIKE: "new_like",
140
+ NEW_MESSAGE: "new_message",
141
+ REENGAGEMENT: "reengagement",
142
+ OTHER: "other",
143
+ };
144
+ exports.NotificationChannel = {
145
+ PUSH: "push",
146
+ IN_APP: "in_app",
147
+ };
148
+ exports.HookedStateAction = {
149
+ SHOWN: "shown",
150
+ GO_TO_CHAT: "go_to_chat",
151
+ DISMISS: "dismiss",
152
+ };
153
+ exports.UiElement = {
154
+ NAV_TAB_SELECT: "nav.tab_select",
155
+ NAV_SEARCH_OPEN: "nav.search_open",
156
+ NAV_MENU_OPEN: "nav.menu_open",
157
+ NAV_BACK: "nav.back",
158
+ NAV_HOME_LOGO: "nav.home_logo",
159
+ NAV_HOOKED_GO_TO_CHAT: "nav.hooked_go_to_chat",
160
+ NAV_HOOKED_DISMISS: "nav.hooked_dismiss",
161
+ LANDING_GET_STARTED: "landing.get_started",
162
+ LANDING_LOGIN: "landing.login",
163
+ LANDING_POLICY_LINK: "landing.policy_link",
164
+ LANDING_HOME_LINK: "landing.home_link",
165
+ LANDING_OPEN_IN_APP: "landing.open_in_app",
166
+ LANDING_NAV_LINK: "landing.nav_link",
167
+ LANDING_SOCIAL_LINK: "landing.social_link",
168
+ LANDING_MOBILE_MENU_TOGGLE: "landing.mobile_menu_toggle",
169
+ LANDING_SECTION_NAV: "landing.section_nav",
170
+ LANDING_EMAIL_LINK: "landing.email_link",
171
+ LANDING_PRICING_PERIOD_SELECT: "landing.pricing_period_select",
172
+ LANDING_CAREERS_APPLY: "landing.careers_apply",
173
+ LANDING_DEMO_INTERACT: "landing.demo_interact",
174
+ LANDING_CHATBOT_WIDGET: "landing.chatbot_widget",
175
+ LANDING_NOTICE_RETRY: "landing.notice_retry",
176
+ LOGIN_SUBMIT: "login.submit",
177
+ LOGIN_GOOGLE: "login.google",
178
+ LOGIN_APPLE: "login.apple",
179
+ LOGIN_PASSKEY: "login.passkey",
180
+ LOGIN_IDENTIFIER_MODE: "login.identifier_mode",
181
+ LOGIN_PASSWORD_MODE: "login.password_mode",
182
+ LOGIN_FORGOT_PASSWORD: "login.forgot_password",
183
+ LOGIN_RESEND_CODE: "login.resend_code",
184
+ LOGIN_REDEEM_INVITE: "login.redeem_invite",
185
+ LOGIN_CLOSE: "login.close",
186
+ LOGIN_PASSKEY_SETUP: "login.passkey_setup",
187
+ REDEEM_INVITE_SUBMIT: "redeem_invite.submit",
188
+ REDEEM_INVITE_BACK: "redeem_invite.back",
189
+ REDEEM_INVITE_LOGIN: "redeem_invite.login",
190
+ REDEEM_INVITE_CLOSE: "redeem_invite.close",
191
+ REDEEM_INVITE_RESEND_CODE: "redeem_invite.resend_code",
192
+ ONBOARDING_NEXT: "onboarding.next",
193
+ ONBOARDING_BACK: "onboarding.back",
194
+ ONBOARDING_FINISH: "onboarding.finish",
195
+ ONBOARDING_SKIP_SIGN_OUT: "onboarding.skip_sign_out",
196
+ ONBOARDING_SKIP_SIGN_OUT_CONFIRM: "onboarding.skip_sign_out_confirm",
197
+ ONBOARDING_PHOTO_ADD: "onboarding.photo_add",
198
+ ONBOARDING_PHOTO_REMOVE: "onboarding.photo_remove",
199
+ ONBOARDING_PHOTO_REMOVE_CONFIRM: "onboarding.photo_remove_confirm",
200
+ ONBOARDING_PROMPT_ADD: "onboarding.prompt_add",
201
+ ONBOARDING_PROMPT_REMOVE: "onboarding.prompt_remove",
202
+ ONBOARDING_VOICE_ADD: "onboarding.voice_add",
203
+ ONBOARDING_VOICE_REMOVE: "onboarding.voice_remove",
204
+ ONBOARDING_CHOICE_SELECT: "onboarding.choice_select",
205
+ DISCOVER_PASS_BUTTON: "discover.pass_button",
206
+ DISCOVER_LIKE_BUTTON: "discover.like_button",
207
+ DISCOVER_ROSE_BUTTON: "discover.rose_button",
208
+ DISCOVER_UNDO_BUTTON: "discover.undo_button",
209
+ DISCOVER_ELEMENT_LIKE: "discover.element_like",
210
+ DISCOVER_PHOTO_OPEN: "discover.photo_open",
211
+ DISCOVER_VOICE_PLAY: "discover.voice_play",
212
+ DISCOVER_PREFERENCES_OPEN: "discover.preferences_open",
213
+ DISCOVER_LIKES_YOU_OPEN: "discover.likes_you_open",
214
+ DISCOVER_ADD_HOOK_OPEN: "discover.add_hook_open",
215
+ DISCOVER_RETRY: "discover.retry",
216
+ DISCOVER_ADD_HOOK_SUBMIT: "discover.add_hook_submit",
217
+ DISCOVER_UPGRADE_OPEN: "discover.upgrade_open",
218
+ LIKE_COMPOSER_SEND: "like_composer.send",
219
+ LIKE_COMPOSER_SEND_WITHOUT_COMMENT: "like_composer.send_without_comment",
220
+ LIKE_COMPOSER_CANCEL: "like_composer.cancel",
221
+ LIKE_COMPOSER_UPGRADE: "like_composer.upgrade",
222
+ LIKES_YOU_PROFILE_OPEN: "likes_you.profile_open",
223
+ LIKES_YOU_LIKED_ITEM_OPEN: "likes_you.liked_item_open",
224
+ LIKES_YOU_REFRESH: "likes_you.refresh",
225
+ LIKES_YOU_RETRY: "likes_you.retry",
226
+ LIKES_YOU_CLOSE: "likes_you.close",
227
+ CHAT_SEND_BUTTON: "chat.send_button",
228
+ CHAT_ATTACH_BUTTON: "chat.attach_button",
229
+ CHAT_ATTACH_OPTION: "chat.attach_option",
230
+ CHAT_CAPTURE_OPTION: "chat.capture_option",
231
+ CHAT_VOICE_RECORD_START: "chat.voice_record_start",
232
+ CHAT_VOICE_RECORD_STOP: "chat.voice_record_stop",
233
+ CHAT_VOICE_RECORD_CANCEL: "chat.voice_record_cancel",
234
+ CHAT_VOICE_SEND: "chat.voice_send",
235
+ CHAT_CONVERSATION_SWITCH: "chat.conversation_switch",
236
+ CHAT_CONVERSATION_SORT: "chat.conversation_sort",
237
+ CHAT_CONVERSATION_SORT_OPEN: "chat.conversation_sort_open",
238
+ CHAT_CONVERSATION_SWITCHER_OPEN: "chat.conversation_switcher_open",
239
+ CHAT_PROFILE_OPEN: "chat.profile_open",
240
+ CHAT_SAFETY_MENU_OPEN: "chat.safety_menu_open",
241
+ CHAT_UNMATCH: "chat.unmatch",
242
+ CHAT_REPORT_SPAM: "chat.report_spam",
243
+ CHAT_REPORT_BLOCK: "chat.report_block",
244
+ CHAT_BLOCK_CONFIRM: "chat.block_confirm",
245
+ CHAT_SETTINGS_OPEN: "chat.settings_open",
246
+ CHAT_WALLPAPER_OPEN: "chat.wallpaper_open",
247
+ CHAT_ADD_HOOK_OPEN: "chat.add_hook_open",
248
+ CHAT_PRIVACY_TOGGLE: "chat.privacy_toggle",
249
+ CHAT_CALL: "chat.call",
250
+ CHAT_VIDEO_CALL: "chat.video_call",
251
+ CHAT_MEDIA_OPEN: "chat.media_open",
252
+ CHAT_AUDIO_PLAY: "chat.audio_play",
253
+ CHAT_FILE_OPEN: "chat.file_open",
254
+ CHAT_MESSAGE_DELETE: "chat.message_delete",
255
+ CHAT_MESSAGE_MENU_OPEN: "chat.message_menu_open",
256
+ CHAT_REPORT_REASON_SELECT: "chat.report_reason_select",
257
+ CHAT_SENSITIVE_REVEAL_CONFIRM: "chat.sensitive_reveal_confirm",
258
+ CHAT_ATTACHMENT_RETRY: "chat.attachment_retry",
259
+ CHAT_HISTORY_RECOVER: "chat.history_recover",
260
+ CHAT_MR_ONEHOOK_OPEN: "chat.mr_onehook_open",
261
+ CHAT_MR_ONEHOOK_CLOSE: "chat.mr_onehook_close",
262
+ CHAT_RETRY: "chat.retry",
263
+ CHAT_UNMATCH_CONFIRM: "chat.unmatch_confirm",
264
+ CHAT_PROFILE_CLOSE: "chat.profile_close",
265
+ CHAT_MR_ONEHOOK_CONTEXT_SHARE: "chat.mr_onehook_context_share",
266
+ CHAT_MR_ONEHOOK_SCOPE_OPEN: "chat.mr_onehook_scope_open",
267
+ CHAT_MR_ONEHOOK_SCOPE_SELECT: "chat.mr_onehook_scope_select",
268
+ CHAT_INTRO_TOUR_OPEN: "chat.intro_tour_open",
269
+ CHAT_INTRO_DISMISS: "chat.intro_dismiss",
270
+ CHAT_INTRO_GET_STARTED: "chat.intro_get_started",
271
+ CHAT_HISTORY_RECOVER_METHOD: "chat.history_recover_method",
272
+ CHAT_HISTORY_RECOVER_STEP: "chat.history_recover_step",
273
+ CHAT_HISTORY_RESET_CONFIRM: "chat.history_reset_confirm",
274
+ CHAT_SETTINGS_LAST_SEEN_SELECT: "chat_settings.last_seen_select",
275
+ CHAT_SETTINGS_DISAPPEARING_SELECT: "chat_settings.disappearing_select",
276
+ CHAT_SETTINGS_NOTIFICATION_TOGGLE: "chat_settings.notification_toggle",
277
+ CHAT_SETTINGS_PRIVACY_TOGGLE: "chat_settings.privacy_toggle",
278
+ CHAT_SETTINGS_FONT_SIZE_SELECT: "chat_settings.font_size_select",
279
+ CHAT_SETTINGS_WALLPAPER_SELECT: "chat_settings.wallpaper_select",
280
+ CHAT_SETTINGS_EXPORT_CHAT: "chat_settings.export_chat",
281
+ CHAT_SETTINGS_CLEAR_CACHE: "chat_settings.clear_cache",
282
+ NOTIFICATIONS_ITEM_OPEN: "notifications.item_open",
283
+ NOTIFICATIONS_ITEM_DISMISS: "notifications.item_dismiss",
284
+ PROFILE_EDIT_OPEN: "profile.edit_open",
285
+ PROFILE_PREVIEW_OPEN: "profile.preview_open",
286
+ PROFILE_PREFERENCES_OPEN: "profile.preferences_open",
287
+ PROFILE_SETTINGS_OPEN: "profile.settings_open",
288
+ PROFILE_CHAT_SETTINGS_OPEN: "profile.chat_settings_open",
289
+ PROFILE_CHAT_TOUR_OPEN: "profile.chat_tour_open",
290
+ PROFILE_PHOTO_OPEN: "profile.photo_open",
291
+ PROFILE_VERIFY_IDENTITY: "profile.verify_identity",
292
+ PROFILE_SHARE_INVITE: "profile.share_invite",
293
+ PROFILE_INVITE_CODE_COPY: "profile.invite_code_copy",
294
+ PROFILE_INVITE_CODE_SHARE: "profile.invite_code_share",
295
+ PROFILE_UPGRADE_OPEN: "profile.upgrade_open",
296
+ PROFILE_UNHOOK: "profile.unhook",
297
+ PROFILE_UNHOOK_CONFIRM: "profile.unhook_confirm",
298
+ PROFILE_TAB_SELECT: "profile.tab_select",
299
+ PROFILE_RETRY: "profile.retry",
300
+ PROFILE_VOICE_PLAY: "profile.voice_play",
301
+ PROFILE_EDIT_SAVE: "profile_edit.save",
302
+ PROFILE_EDIT_PREVIEW: "profile_edit.preview",
303
+ PROFILE_EDIT_PHOTO_ADD: "profile_edit.photo_add",
304
+ PROFILE_EDIT_PHOTO_REMOVE: "profile_edit.photo_remove",
305
+ PROFILE_EDIT_PHOTO_REMOVE_CONFIRM: "profile_edit.photo_remove_confirm",
306
+ PROFILE_EDIT_PHOTO_SET_PRIMARY: "profile_edit.photo_set_primary",
307
+ PROFILE_EDIT_PHOTO_ADJUST: "profile_edit.photo_adjust",
308
+ PROFILE_EDIT_PHOTO_REORDER: "profile_edit.photo_reorder",
309
+ PROFILE_EDIT_PROMPT_ADD: "profile_edit.prompt_add",
310
+ PROFILE_EDIT_PROMPT_REMOVE: "profile_edit.prompt_remove",
311
+ PROFILE_EDIT_VOICE_ADD: "profile_edit.voice_add",
312
+ PROFILE_EDIT_VOICE_REMOVE: "profile_edit.voice_remove",
313
+ PROFILE_EDIT_CHOICE_SELECT: "profile_edit.choice_select",
314
+ PREFERENCES_SAVE: "preferences.save",
315
+ PREFERENCES_UPGRADE_OPEN: "preferences.upgrade_open",
316
+ PREFERENCES_LOCKED_FILTER_TAP: "preferences.locked_filter_tap",
317
+ SETTINGS_EMAIL_MANAGE: "settings.email_manage",
318
+ SETTINGS_PHONE_UPDATE: "settings.phone_update",
319
+ SETTINGS_GOOGLE_LINK: "settings.google_link",
320
+ SETTINGS_APPLE_LINK: "settings.apple_link",
321
+ SETTINGS_PASSKEY_ADD: "settings.passkey_add",
322
+ SETTINGS_PASSWORD_SET: "settings.password_set",
323
+ SETTINGS_RECOVERY_SETUP: "settings.recovery_setup",
324
+ SETTINGS_DEVICE_REVOKE: "settings.device_revoke",
325
+ SETTINGS_DEVICE_REVOKE_CONFIRM: "settings.device_revoke_confirm",
326
+ SETTINGS_SAFETY_OPEN: "settings.safety_open",
327
+ SETTINGS_THEME_SELECT: "settings.theme_select",
328
+ SETTINGS_THEME_OPEN: "settings.theme_open",
329
+ SETTINGS_SIGN_OUT: "settings.sign_out",
330
+ SETTINGS_SIGN_OUT_CONFIRM: "settings.sign_out_confirm",
331
+ SETTINGS_DELETE_ACCOUNT_OPEN: "settings.delete_account_open",
332
+ SETTINGS_DELETE_ACCOUNT_CONFIRM: "settings.delete_account_confirm",
333
+ SETTINGS_UNBLOCK_USER: "settings.unblock_user",
334
+ SETTINGS_UNBLOCK_CONFIRM: "settings.unblock_confirm",
335
+ SETTINGS_VERIFY_CODE_SUBMIT: "settings.verify_code_submit",
336
+ SETTINGS_PASSWORD_SET_CONFIRM: "settings.password_set_confirm",
337
+ SETTINGS_HELP_LINK: "settings.help_link",
338
+ SETTINGS_RECOVERY_APPROVE: "settings.recovery_approve",
339
+ SETTINGS_RECOVERY_QR_SAVE: "settings.recovery_qr_save",
340
+ SETTINGS_RECOVERY_QR_SHARE: "settings.recovery_qr_share",
341
+ PAYWALL_PURCHASE: "paywall.purchase",
342
+ PAYWALL_RESTORE: "paywall.restore",
343
+ PAYWALL_FEATURES_EXPAND: "paywall.features_expand",
344
+ PHOTO_VIEWER_CLOSE: "photo_viewer.close",
345
+ PHOTO_VIEWER_PREVIOUS: "photo_viewer.previous",
346
+ PHOTO_VIEWER_NEXT: "photo_viewer.next",
347
+ SEARCH_CLOSE: "search.close",
348
+ SEARCH_QUERY_CLEAR: "search.query_clear",
349
+ SEARCH_FILTER_SELECT: "search.filter_select",
350
+ SEARCH_RESULT_OPEN: "search.result_open",
351
+ CREATE_CLOSE: "create.close",
352
+ CREATE_OPTION_SELECT: "create.option_select",
353
+ SHARED_ALERT_DISMISS: "shared.alert_dismiss",
354
+ SHARED_ERROR_RECOVER: "shared.error_recover",
355
+ SHARED_COUNTRY_CODE_OPEN: "shared.country_code_open",
356
+ SHARED_COUNTRY_CODE_SELECT: "shared.country_code_select",
357
+ SHARED_VOICE_RECORDER: "shared.voice_recorder",
358
+ SHARED_PROMPT_PRESET_SELECT: "shared.prompt_preset_select",
359
+ LIVENESS_BEGIN: "liveness.begin",
360
+ LIVENESS_DISMISS: "liveness.dismiss",
361
+ LIVENESS_RETRY: "liveness.retry",
362
+ LIVENESS_OPEN_SETTINGS: "liveness.open_settings",
363
+ LIVENESS_CLOSE: "liveness.close",
364
+ };
365
+ exports.UI_ELEMENTS = {
366
+ "nav.tab_select": { screen: "NAV", kind: "tab", actions: ["select"], values: ["DISCOVER", "LIKES_YOU", "CHAT", "PROFILE"], platforms: ["web", "ios", "android"] },
367
+ "nav.search_open": { screen: "NAV", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
368
+ "nav.menu_open": { screen: "NAV", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
369
+ "nav.back": { screen: "NAV", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
370
+ "nav.home_logo": { screen: "NAV", kind: "link", actions: ["tap"], values: null, platforms: ["web"] },
371
+ "nav.hooked_go_to_chat": { screen: "NAV", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
372
+ "nav.hooked_dismiss": { screen: "NAV", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
373
+ "landing.get_started": { screen: "LANDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
374
+ "landing.login": { screen: "LANDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
375
+ "landing.policy_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
376
+ "landing.home_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: null, platforms: ["web"] },
377
+ "landing.open_in_app": { screen: "LANDING", kind: "link", actions: ["tap"], values: null, platforms: ["web"] },
378
+ "landing.nav_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: ["philosophy", "how_it_works", "pricing", "contact", "careers", "science"], platforms: ["web"] },
379
+ "landing.social_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: ["instagram", "facebook", "x", "youtube", "linkedin", "tiktok", "threads", "other"], platforms: ["web", "ios"] },
380
+ "landing.mobile_menu_toggle": { screen: "LANDING", kind: "toggle", actions: ["toggle"], values: ["open", "closed"], platforms: ["web"] },
381
+ "landing.section_nav": { screen: "LANDING", kind: "link", actions: ["tap"], values: ["philosophy", "features", "under_the_hood", "get_app"], platforms: ["web"] },
382
+ "landing.email_link": { screen: "LANDING", kind: "link", actions: ["tap"], values: ["privacy", "security", "support", "legal", "careers", "other"], platforms: ["web"] },
383
+ "landing.pricing_period_select": { screen: "LANDING", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web"] },
384
+ "landing.careers_apply": { screen: "LANDING", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
385
+ "landing.demo_interact": { screen: "LANDING", kind: "button", actions: ["tap"], values: ["opener_shuffle", "relationship_mode", "how_it_works_prev", "how_it_works_next", "how_it_works_step", "mascot_video", "mascot", "science_chapter", "science_signal_kind", "science_signal_send", "science_tab", "science_swipe", "science_erasure"], platforms: ["web"] },
386
+ "landing.chatbot_widget": { screen: "LANDING", kind: "button", actions: ["tap"], values: ["open", "close", "fullscreen", "start", "send"], platforms: ["web"] },
387
+ "landing.notice_retry": { screen: "LANDING", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
388
+ "login.submit": { screen: "LOGIN", kind: "button", actions: ["submit"], values: ["request_otp", "verify_otp", "password", "reset_password"], platforms: ["web", "ios", "android"] },
389
+ "login.google": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
390
+ "login.apple": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
391
+ "login.passkey": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
392
+ "login.identifier_mode": { screen: "LOGIN", kind: "toggle", actions: ["toggle"], values: ["phone", "email"], platforms: ["web", "ios", "android"] },
393
+ "login.password_mode": { screen: "LOGIN", kind: "toggle", actions: ["toggle"], values: ["password", "otp"], platforms: ["web", "ios", "android"] },
394
+ "login.forgot_password": { screen: "LOGIN", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
395
+ "login.resend_code": { screen: "LOGIN", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
396
+ "login.redeem_invite": { screen: "LOGIN", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
397
+ "login.close": { screen: "LOGIN", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
398
+ "login.passkey_setup": { screen: "LOGIN", kind: "button", actions: ["tap"], values: ["email_submit", "code_submit", "change_email", "skip_to_passkey", "passkey_create", "skip_to_app"], platforms: ["web"] },
399
+ "redeem_invite.submit": { screen: "REDEEM_INVITE", kind: "button", actions: ["submit"], values: ["validate_invite", "send_otp", "create_account", "verify_sign_in_otp"], platforms: ["web", "ios", "android"] },
400
+ "redeem_invite.back": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["web", "android"] },
401
+ "redeem_invite.login": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
402
+ "redeem_invite.close": { screen: "REDEEM_INVITE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
403
+ "redeem_invite.resend_code": { screen: "REDEEM_INVITE", kind: "link", actions: ["tap"], values: null, platforms: ["web", "ios"] },
404
+ "onboarding.next": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: ["basics", "photos", "media", "prompts", "details"], platforms: ["web", "ios"] },
405
+ "onboarding.back": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
406
+ "onboarding.finish": { screen: "ONBOARDING", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
407
+ "onboarding.skip_sign_out": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
408
+ "onboarding.skip_sign_out_confirm": { screen: "ONBOARDING", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
409
+ "onboarding.photo_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
410
+ "onboarding.photo_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
411
+ "onboarding.photo_remove_confirm": { screen: "ONBOARDING", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web"] },
412
+ "onboarding.prompt_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
413
+ "onboarding.prompt_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
414
+ "onboarding.voice_add": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
415
+ "onboarding.voice_remove": { screen: "ONBOARDING", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
416
+ "onboarding.choice_select": { screen: "ONBOARDING", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
417
+ "discover.pass_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
418
+ "discover.like_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
419
+ "discover.rose_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
420
+ "discover.undo_button": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
421
+ "discover.element_like": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: ["PHOTO", "VIDEO", "VOICE", "PROMPT", "INTEREST", "BIO"], platforms: ["web", "ios"] },
422
+ "discover.photo_open": { screen: "DISCOVER", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
423
+ "discover.voice_play": { screen: "DISCOVER", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["web", "ios"] },
424
+ "discover.preferences_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
425
+ "discover.likes_you_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
426
+ "discover.add_hook_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
427
+ "discover.retry": { screen: "DISCOVER", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
428
+ "discover.add_hook_submit": { screen: "DISCOVER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
429
+ "discover.upgrade_open": { screen: "DISCOVER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
430
+ "like_composer.send": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
431
+ "like_composer.send_without_comment": { screen: "LIKE_COMPOSER", kind: "button", actions: ["submit"], values: null, platforms: ["ios"] },
432
+ "like_composer.cancel": { screen: "LIKE_COMPOSER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
433
+ "like_composer.upgrade": { screen: "LIKE_COMPOSER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
434
+ "likes_you.profile_open": { screen: "LIKES_YOU", kind: "list_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
435
+ "likes_you.liked_item_open": { screen: "LIKES_YOU", kind: "gesture", actions: ["tap"], values: null, platforms: ["web"] },
436
+ "likes_you.refresh": { screen: "LIKES_YOU", kind: "button", actions: ["tap"], values: null, platforms: ["web", "android"] },
437
+ "likes_you.retry": { screen: "LIKES_YOU", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
438
+ "likes_you.close": { screen: "LIKES_YOU", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
439
+ "chat.send_button": { screen: "CHAT", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
440
+ "chat.attach_button": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
441
+ "chat.attach_option": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: ["photo_video", "camera", "file", "voice"], platforms: ["web", "ios", "android"] },
442
+ "chat.capture_option": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: ["photo", "video"], platforms: ["android"] },
443
+ "chat.voice_record_start": { screen: "CHAT", kind: "button", actions: ["tap", "long_press"], values: null, platforms: ["web", "ios", "android"] },
444
+ "chat.voice_record_stop": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
445
+ "chat.voice_record_cancel": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
446
+ "chat.voice_send": { screen: "CHAT", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios"] },
447
+ "chat.conversation_switch": { screen: "CHAT", kind: "list_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
448
+ "chat.conversation_sort": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios"] },
449
+ "chat.conversation_sort_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
450
+ "chat.conversation_switcher_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
451
+ "chat.profile_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
452
+ "chat.safety_menu_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
453
+ "chat.unmatch": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["ios", "android"] },
454
+ "chat.report_spam": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
455
+ "chat.report_block": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
456
+ "chat.block_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
457
+ "chat.settings_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
458
+ "chat.wallpaper_open": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
459
+ "chat.add_hook_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
460
+ "chat.privacy_toggle": { screen: "CHAT", kind: "toggle", actions: ["toggle"], values: ["hidden", "visible"], platforms: [] },
461
+ "chat.call": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
462
+ "chat.video_call": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
463
+ "chat.media_open": { screen: "CHAT", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
464
+ "chat.audio_play": { screen: "CHAT", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["web", "ios", "android"] },
465
+ "chat.file_open": { screen: "CHAT", kind: "list_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
466
+ "chat.message_delete": { screen: "CHAT", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
467
+ "chat.message_menu_open": { screen: "CHAT", kind: "gesture", actions: ["long_press", "dismiss"], values: null, platforms: ["ios", "android"] },
468
+ "chat.report_reason_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
469
+ "chat.sensitive_reveal_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios"] },
470
+ "chat.attachment_retry": { screen: "CHAT", kind: "button", actions: ["tap"], values: ["upload", "download"], platforms: ["web", "ios", "android"] },
471
+ "chat.history_recover": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
472
+ "chat.mr_onehook_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "android"] },
473
+ "chat.mr_onehook_close": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
474
+ "chat.retry": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "android"] },
475
+ "chat.unmatch_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
476
+ "chat.profile_close": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
477
+ "chat.mr_onehook_context_share": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
478
+ "chat.mr_onehook_scope_open": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
479
+ "chat.mr_onehook_scope_select": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: null, platforms: ["web"] },
480
+ "chat.intro_tour_open": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
481
+ "chat.intro_dismiss": { screen: "CHAT", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
482
+ "chat.intro_get_started": { screen: "CHAT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
483
+ "chat.history_recover_method": { screen: "CHAT", kind: "menu_item", actions: ["tap", "dismiss"], values: ["device", "qr_scan", "qr_import", "passkey"], platforms: ["web", "ios", "android"] },
484
+ "chat.history_recover_step": { screen: "CHAT", kind: "menu_item", actions: ["tap"], values: ["retry", "qr_retry", "done", "reset_open", "cancel"], platforms: ["web", "ios", "android"] },
485
+ "chat.history_reset_confirm": { screen: "CHAT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web"] },
486
+ "chat_settings.last_seen_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
487
+ "chat_settings.disappearing_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
488
+ "chat_settings.notification_toggle": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios"] },
489
+ "chat_settings.privacy_toggle": { screen: "CHAT_SETTINGS", kind: "toggle", actions: ["toggle"], values: ["on", "off"], platforms: ["web", "ios"] },
490
+ "chat_settings.font_size_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["ios"] },
491
+ "chat_settings.wallpaper_select": { screen: "CHAT_SETTINGS", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
492
+ "chat_settings.export_chat": { screen: "CHAT_SETTINGS", kind: "button", actions: ["tap", "select", "dismiss"], values: null, platforms: ["ios"] },
493
+ "chat_settings.clear_cache": { screen: "CHAT_SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
494
+ "notifications.item_open": { screen: "NOTIFICATIONS", kind: "list_item", actions: ["tap"], values: null, platforms: ["ios"] },
495
+ "notifications.item_dismiss": { screen: "NOTIFICATIONS", kind: "gesture", actions: ["dismiss"], values: null, platforms: ["ios"] },
496
+ "profile.edit_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
497
+ "profile.preview_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
498
+ "profile.preferences_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
499
+ "profile.settings_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
500
+ "profile.chat_settings_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
501
+ "profile.chat_tour_open": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
502
+ "profile.photo_open": { screen: "PROFILE", kind: "gesture", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
503
+ "profile.verify_identity": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
504
+ "profile.share_invite": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
505
+ "profile.invite_code_copy": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
506
+ "profile.invite_code_share": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
507
+ "profile.upgrade_open": { screen: "PROFILE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
508
+ "profile.unhook": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
509
+ "profile.unhook_confirm": { screen: "PROFILE", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["android"] },
510
+ "profile.tab_select": { screen: "PROFILE", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["ios"] },
511
+ "profile.retry": { screen: "PROFILE", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
512
+ "profile.voice_play": { screen: "PROFILE", kind: "toggle", actions: ["toggle"], values: ["play", "pause"], platforms: ["web"] },
513
+ "profile_edit.save": { screen: "PROFILE_EDIT", kind: "button", actions: ["submit"], values: null, platforms: ["web", "ios", "android"] },
514
+ "profile_edit.preview": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
515
+ "profile_edit.photo_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
516
+ "profile_edit.photo_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
517
+ "profile_edit.photo_remove_confirm": { screen: "PROFILE_EDIT", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
518
+ "profile_edit.photo_set_primary": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
519
+ "profile_edit.photo_adjust": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
520
+ "profile_edit.photo_reorder": { screen: "PROFILE_EDIT", kind: "gesture", actions: ["long_press"], values: null, platforms: ["ios"] },
521
+ "profile_edit.prompt_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
522
+ "profile_edit.prompt_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
523
+ "profile_edit.voice_add": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
524
+ "profile_edit.voice_remove": { screen: "PROFILE_EDIT", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios"] },
525
+ "profile_edit.choice_select": { screen: "PROFILE_EDIT", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
526
+ "preferences.save": { screen: "PREFERENCES", kind: "button", actions: ["submit"], values: null, platforms: ["ios", "android"] },
527
+ "preferences.upgrade_open": { screen: "PREFERENCES", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
528
+ "preferences.locked_filter_tap": { screen: "PREFERENCES", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
529
+ "settings.email_manage": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
530
+ "settings.phone_update": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
531
+ "settings.google_link": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["link", "unlink"], platforms: ["web", "ios", "android"] },
532
+ "settings.apple_link": { screen: "SETTINGS", kind: "toggle", actions: ["toggle"], values: ["link", "unlink"], platforms: ["web", "ios"] },
533
+ "settings.passkey_add": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
534
+ "settings.password_set": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios"] },
535
+ "settings.recovery_setup": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
536
+ "settings.device_revoke": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
537
+ "settings.device_revoke_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios", "android"] },
538
+ "settings.safety_open": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios"] },
539
+ "settings.theme_select": { screen: "SETTINGS", kind: "segmented", actions: ["select", "tap"], values: ["light", "dark", "system"], platforms: ["web", "ios", "android"] },
540
+ "settings.theme_open": { screen: "SETTINGS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
541
+ "settings.sign_out": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
542
+ "settings.sign_out_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
543
+ "settings.delete_account_open": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
544
+ "settings.delete_account_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
545
+ "settings.unblock_user": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
546
+ "settings.unblock_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
547
+ "settings.verify_code_submit": { screen: "SETTINGS", kind: "button", actions: ["submit", "dismiss"], values: ["email", "phone"], platforms: ["ios", "android"] },
548
+ "settings.password_set_confirm": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["ios"] },
549
+ "settings.help_link": { screen: "SETTINGS", kind: "link", actions: ["tap"], values: ["help_center", "faq", "contact", "safety", "privacy", "terms", "other"], platforms: ["ios"] },
550
+ "settings.recovery_approve": { screen: "SETTINGS", kind: "dialog_button", actions: ["submit", "dismiss"], values: null, platforms: ["web", "ios"] },
551
+ "settings.recovery_qr_save": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
552
+ "settings.recovery_qr_share": { screen: "SETTINGS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
553
+ "paywall.purchase": { screen: "PAYWALL", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
554
+ "paywall.restore": { screen: "PAYWALL", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
555
+ "paywall.features_expand": { screen: "PAYWALL", kind: "button", actions: ["tap"], values: null, platforms: ["ios"] },
556
+ "photo_viewer.close": { screen: "PHOTO_VIEWER", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
557
+ "photo_viewer.previous": { screen: "PHOTO_VIEWER", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
558
+ "photo_viewer.next": { screen: "PHOTO_VIEWER", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
559
+ "search.close": { screen: "SEARCH", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
560
+ "search.query_clear": { screen: "SEARCH", kind: "button", actions: ["tap"], values: null, platforms: ["web"] },
561
+ "search.filter_select": { screen: "SEARCH", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web"] },
562
+ "search.result_open": { screen: "SEARCH", kind: "list_item", actions: ["tap"], values: null, platforms: ["web"] },
563
+ "create.close": { screen: "CREATE", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web"] },
564
+ "create.option_select": { screen: "CREATE", kind: "menu_item", actions: ["tap"], values: ["photo", "prompt", "voice"], platforms: ["web"] },
565
+ "shared.alert_dismiss": { screen: "SHARED", kind: "dialog_button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
566
+ "shared.error_recover": { screen: "SHARED", kind: "button", actions: ["tap"], values: ["retry", "home"], platforms: ["web"] },
567
+ "shared.country_code_open": { screen: "SHARED", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["web", "ios", "android"] },
568
+ "shared.country_code_select": { screen: "SHARED", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios", "android"] },
569
+ "shared.voice_recorder": { screen: "SHARED", kind: "button", actions: ["tap"], values: ["record", "stop", "play", "pause", "save", "discard", "cancel", "open_settings"], platforms: ["web", "ios"] },
570
+ "shared.prompt_preset_select": { screen: "SHARED", kind: "segmented", actions: ["select", "tap"], values: null, platforms: ["web", "ios"] },
571
+ "liveness.begin": { screen: "LIVENESS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
572
+ "liveness.dismiss": { screen: "LIVENESS", kind: "button", actions: ["tap", "dismiss"], values: null, platforms: ["ios", "android"] },
573
+ "liveness.retry": { screen: "LIVENESS", kind: "button", actions: ["tap"], values: null, platforms: ["web", "ios", "android"] },
574
+ "liveness.open_settings": { screen: "LIVENESS", kind: "button", actions: ["tap"], values: null, platforms: ["ios", "android"] },
575
+ "liveness.close": { screen: "LIVENESS", kind: "button", actions: ["tap"], values: null, platforms: ["android"] },
576
+ };
577
+ function uiElementsForPlatform(platform) {
578
+ return Object.keys(exports.UI_ELEMENTS).filter((id) => exports.UI_ELEMENTS[id].platforms.includes(platform));
579
+ }
580
+ exports.uiElementsForPlatform = uiElementsForPlatform;
581
+ exports.TELEMETRY_EXEMPT_CATEGORIES = ["duplicate", "backdrop", "gesture", "continuous", "disabled"];
582
+ function isUiElementId(v) {
583
+ return typeof v === "string" && Object.prototype.hasOwnProperty.call(exports.UI_ELEMENTS, v);
584
+ }
585
+ exports.isUiElementId = isUiElementId;