@oxy.so/services 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2133) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +51 -0
  3. package/README.md +857 -0
  4. package/android/build.gradle +21 -0
  5. package/android/src/main/AndroidManifest.xml +10 -0
  6. package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionModule.kt +178 -0
  7. package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionProvider.kt +99 -0
  8. package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionStore.kt +115 -0
  9. package/android/src/main/java/so/oxy/identity/OxyIdentityModule.kt +84 -0
  10. package/android/src/main/java/so/oxy/identity/OxyIdentityProvider.kt +77 -0
  11. package/android/src/main/java/so/oxy/identity/OxyIdentityStore.kt +65 -0
  12. package/android/src/main/java/so/oxy/session/OxyBackgroundSession.kt +184 -0
  13. package/android/src/main/java/so/oxy/session/OxyBackgroundSessionApi.kt +162 -0
  14. package/android/src/main/java/so/oxy/session/OxyBackgroundSessionModule.kt +116 -0
  15. package/android/src/main/java/so/oxy/session/OxyBackgroundSessionStore.kt +179 -0
  16. package/android/src/main/java/so/oxy/session/OxyBackgroundToken.kt +61 -0
  17. package/android/src/main/java/so/oxy/storage/OxyEncryptedPrefs.kt +241 -0
  18. package/expo-module.config.json +13 -0
  19. package/ios/OxyIdentity.podspec +28 -0
  20. package/ios/OxyIdentityModule.swift +33 -0
  21. package/lib/commonjs/assets/OxyLogo.svg +1 -0
  22. package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
  23. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  24. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf.d.ts +3 -0
  25. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  26. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf.d.ts +3 -0
  27. package/lib/commonjs/assets/assets/fonts/icons/manifest.json +375 -0
  28. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +60 -0
  29. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
  30. package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +39 -0
  31. package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
  32. package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  33. package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  34. package/lib/commonjs/assets/fonts/icons/manifest.json +375 -0
  35. package/lib/commonjs/assets/icons/OxyServices.js +51 -0
  36. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
  37. package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
  38. package/lib/commonjs/assets/illustrations/HighFive.js +58 -0
  39. package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
  40. package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +1 -0
  41. package/lib/commonjs/index.js +990 -0
  42. package/lib/commonjs/index.js.map +1 -0
  43. package/lib/commonjs/notifications/deviceNotifications.js +443 -0
  44. package/lib/commonjs/notifications/deviceNotifications.js.map +1 -0
  45. package/lib/commonjs/package.json +1 -0
  46. package/lib/commonjs/ui/analytics/productAnalytics.js +82 -0
  47. package/lib/commonjs/ui/analytics/productAnalytics.js.map +1 -0
  48. package/lib/commonjs/ui/boot/runProviderColdBoot.js +206 -0
  49. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
  50. package/lib/commonjs/ui/client.js +135 -0
  51. package/lib/commonjs/ui/client.js.map +1 -0
  52. package/lib/commonjs/ui/components/AvatarCameraBadge.js +43 -0
  53. package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +1 -0
  54. package/lib/commonjs/ui/components/FollowButton.js +255 -0
  55. package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
  56. package/lib/commonjs/ui/components/FollowTargetButton.js +351 -0
  57. package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -0
  58. package/lib/commonjs/ui/components/KeyboardBoundary.js +15 -0
  59. package/lib/commonjs/ui/components/KeyboardBoundary.js.map +1 -0
  60. package/lib/commonjs/ui/components/KeyboardBoundary.native.js +16 -0
  61. package/lib/commonjs/ui/components/KeyboardBoundary.native.js.map +1 -0
  62. package/lib/commonjs/ui/components/KeyboardBoundary.web.js +15 -0
  63. package/lib/commonjs/ui/components/KeyboardBoundary.web.js.map +1 -0
  64. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +178 -0
  65. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -0
  66. package/lib/commonjs/ui/components/OxyAuthChooser.js +493 -0
  67. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -0
  68. package/lib/commonjs/ui/components/OxyAuthPrompt.js +124 -0
  69. package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -0
  70. package/lib/commonjs/ui/components/OxyConsentScreen.js +502 -0
  71. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -0
  72. package/lib/commonjs/ui/components/OxyOAuthCallback.js +44 -0
  73. package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
  74. package/lib/commonjs/ui/components/OxyPayButton.js +66 -0
  75. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -0
  76. package/lib/commonjs/ui/components/OxyProvider.js +244 -0
  77. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
  78. package/lib/commonjs/ui/components/OxySignInButton.js +322 -0
  79. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
  80. package/lib/commonjs/ui/components/OxySignInRequestSurface.js +147 -0
  81. package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -0
  82. package/lib/commonjs/ui/components/ProfileButton.js +342 -0
  83. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -0
  84. package/lib/commonjs/ui/components/ProfileSummaryCard.js +79 -0
  85. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
  86. package/lib/commonjs/ui/components/RequireOxyAuth.js +296 -0
  87. package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -0
  88. package/lib/commonjs/ui/components/SettingsIcon.js +45 -0
  89. package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -0
  90. package/lib/commonjs/ui/components/SurfaceHeaderAction.js +63 -0
  91. package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -0
  92. package/lib/commonjs/ui/components/SurfaceScreen.js +257 -0
  93. package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -0
  94. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +667 -0
  95. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -0
  96. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +108 -0
  97. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -0
  98. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +106 -0
  99. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +1 -0
  100. package/lib/commonjs/ui/components/authChooser/SignUpView.js +188 -0
  101. package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -0
  102. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +77 -0
  103. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
  104. package/lib/commonjs/ui/components/authChooser/primitives.js +183 -0
  105. package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -0
  106. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +161 -0
  107. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -0
  108. package/lib/commonjs/ui/components/authChooser/signInProgress.js +59 -0
  109. package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +1 -0
  110. package/lib/commonjs/ui/components/authChooser/styles.js +219 -0
  111. package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -0
  112. package/lib/commonjs/ui/components/authChooser/types.js +81 -0
  113. package/lib/commonjs/ui/components/authChooser/types.js.map +1 -0
  114. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +50 -0
  115. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
  116. package/lib/commonjs/ui/components/feedback/constants.js +59 -0
  117. package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
  118. package/lib/commonjs/ui/components/feedback/types.js +6 -0
  119. package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
  120. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
  121. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
  122. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +61 -0
  123. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  124. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +125 -0
  125. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
  126. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +431 -0
  127. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -0
  128. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +172 -0
  129. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
  130. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +64 -0
  131. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  132. package/lib/commonjs/ui/components/internal/PinInput.js +118 -0
  133. package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -0
  134. package/lib/commonjs/ui/components/logo/LogoIcon.js +61 -0
  135. package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
  136. package/lib/commonjs/ui/components/logo/LogoText.js +48 -0
  137. package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
  138. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +133 -0
  139. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
  140. package/lib/commonjs/ui/components/oauthNavigation.js +88 -0
  141. package/lib/commonjs/ui/components/oauthNavigation.js.map +1 -0
  142. package/lib/commonjs/ui/components/passkeyHubPopup.js +33 -0
  143. package/lib/commonjs/ui/components/passkeyHubPopup.js.map +1 -0
  144. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +327 -0
  145. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  146. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +105 -0
  147. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
  148. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +149 -0
  149. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
  150. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +84 -0
  151. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  152. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +195 -0
  153. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  154. package/lib/commonjs/ui/components/payment/constants.js +53 -0
  155. package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
  156. package/lib/commonjs/ui/components/payment/paymentStyles.js +401 -0
  157. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
  158. package/lib/commonjs/ui/components/payment/types.js +6 -0
  159. package/lib/commonjs/ui/components/payment/types.js.map +1 -0
  160. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +223 -0
  161. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
  162. package/lib/commonjs/ui/components/styles/overlay.js +83 -0
  163. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -0
  164. package/lib/commonjs/ui/components/styles/shadow.js +127 -0
  165. package/lib/commonjs/ui/components/styles/shadow.js.map +1 -0
  166. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +83 -0
  167. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
  168. package/lib/commonjs/ui/components/utils/hasTouchHandler.js +13 -0
  169. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -0
  170. package/lib/commonjs/ui/components/utils/roundLayoutSize.js +9 -0
  171. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
  172. package/lib/commonjs/ui/components/utils/splitStyles.js +50 -0
  173. package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -0
  174. package/lib/commonjs/ui/constants/spacing.js +50 -0
  175. package/lib/commonjs/ui/constants/spacing.js.map +1 -0
  176. package/lib/commonjs/ui/context/OxyContext.js +1248 -0
  177. package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
  178. package/lib/commonjs/ui/context/commitSessionFlow.js +149 -0
  179. package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -0
  180. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +331 -0
  181. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
  182. package/lib/commonjs/ui/context/oxyContextHelpers.js +35 -0
  183. package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
  184. package/lib/commonjs/ui/context/oxyContextTypes.js +6 -0
  185. package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
  186. package/lib/commonjs/ui/context/passkeyFlow.js +118 -0
  187. package/lib/commonjs/ui/context/passkeyFlow.js.map +1 -0
  188. package/lib/commonjs/ui/context/useOxyAccountGraph.js +100 -0
  189. package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
  190. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js +42 -0
  191. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +1 -0
  192. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +182 -0
  193. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -0
  194. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +40 -0
  195. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
  196. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +675 -0
  197. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -0
  198. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +197 -0
  199. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -0
  200. package/lib/commonjs/ui/hooks/queries/paymentTypes.js +2 -0
  201. package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +1 -0
  202. package/lib/commonjs/ui/hooks/queries/queryKeys.js +222 -0
  203. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -0
  204. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +326 -0
  205. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
  206. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +49 -0
  207. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -0
  208. package/lib/commonjs/ui/hooks/queries/useFileQueries.js +129 -0
  209. package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -0
  210. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +145 -0
  211. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -0
  212. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +93 -0
  213. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  214. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +170 -0
  215. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -0
  216. package/lib/commonjs/ui/hooks/queries/userCache.js +440 -0
  217. package/lib/commonjs/ui/hooks/queries/userCache.js.map +1 -0
  218. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +31 -0
  219. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +1 -0
  220. package/lib/commonjs/ui/hooks/queryClient.js +223 -0
  221. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -0
  222. package/lib/commonjs/ui/hooks/useAssets.js +227 -0
  223. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -0
  224. package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
  225. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
  226. package/lib/commonjs/ui/hooks/useAuth.js +152 -0
  227. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -0
  228. package/lib/commonjs/ui/hooks/useAvatarPicker.js +106 -0
  229. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -0
  230. package/lib/commonjs/ui/hooks/useDeviceManagement.js +73 -0
  231. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -0
  232. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +57 -0
  233. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -0
  234. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +71 -0
  235. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
  236. package/lib/commonjs/ui/hooks/useFileFiltering.js +76 -0
  237. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -0
  238. package/lib/commonjs/ui/hooks/useFollow.js +331 -0
  239. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -0
  240. package/lib/commonjs/ui/hooks/useFollow.types.js +6 -0
  241. package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
  242. package/lib/commonjs/ui/hooks/useFollowTarget.js +160 -0
  243. package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -0
  244. package/lib/commonjs/ui/hooks/useI18n.js +41 -0
  245. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -0
  246. package/lib/commonjs/ui/hooks/useLanguageManagement.js +193 -0
  247. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -0
  248. package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
  249. package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
  250. package/lib/commonjs/ui/hooks/useOnlineStatus.js +34 -0
  251. package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
  252. package/lib/commonjs/ui/hooks/useOxyEvent.js +28 -0
  253. package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -0
  254. package/lib/commonjs/ui/hooks/useProfileEditing.js +134 -0
  255. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -0
  256. package/lib/commonjs/ui/hooks/useQueryClient.js +20 -0
  257. package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -0
  258. package/lib/commonjs/ui/hooks/useReduceMotion.js +57 -0
  259. package/lib/commonjs/ui/hooks/useReduceMotion.js.map +1 -0
  260. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +163 -0
  261. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -0
  262. package/lib/commonjs/ui/hooks/useSessionManagement.js +183 -0
  263. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -0
  264. package/lib/commonjs/ui/hooks/useSettingToggle.js +132 -0
  265. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
  266. package/lib/commonjs/ui/hooks/useStorage.js +45 -0
  267. package/lib/commonjs/ui/hooks/useStorage.js.map +1 -0
  268. package/lib/commonjs/ui/hooks/useSurfaceHeader.js +142 -0
  269. package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -0
  270. package/lib/commonjs/ui/icons/Ionicons.js +13 -0
  271. package/lib/commonjs/ui/icons/Ionicons.js.map +1 -0
  272. package/lib/commonjs/ui/icons/MaterialCommunityIcons.js +13 -0
  273. package/lib/commonjs/ui/icons/MaterialCommunityIcons.js.map +1 -0
  274. package/lib/commonjs/ui/icons/subsetGlyphMaps.js +362 -0
  275. package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -0
  276. package/lib/commonjs/ui/index.js +148 -0
  277. package/lib/commonjs/ui/index.js.map +1 -0
  278. package/lib/commonjs/ui/isFrontend.js +10 -0
  279. package/lib/commonjs/ui/isFrontend.js.map +1 -0
  280. package/lib/commonjs/ui/navigation/accountDialogManager.js +105 -0
  281. package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -0
  282. package/lib/commonjs/ui/navigation/bottomSheetManager.js +62 -0
  283. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
  284. package/lib/commonjs/ui/navigation/routes.js +110 -0
  285. package/lib/commonjs/ui/navigation/routes.js.map +1 -0
  286. package/lib/commonjs/ui/navigation/surfaceBackBridge.js +68 -0
  287. package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -0
  288. package/lib/commonjs/ui/navigation/surfaceNavStack.js +146 -0
  289. package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -0
  290. package/lib/commonjs/ui/navigation/surfaceRegistry.js +147 -0
  291. package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -0
  292. package/lib/commonjs/ui/navigation/surfaces.js +339 -0
  293. package/lib/commonjs/ui/navigation/surfaces.js.map +1 -0
  294. package/lib/commonjs/ui/oauth/browserAuthTransport.js +170 -0
  295. package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -0
  296. package/lib/commonjs/ui/oauth/completeOAuthCode.js +78 -0
  297. package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -0
  298. package/lib/commonjs/ui/oauth/explicitOAuthConsent.js +245 -0
  299. package/lib/commonjs/ui/oauth/explicitOAuthConsent.js.map +1 -0
  300. package/lib/commonjs/ui/oauth/legacyRedirectLanes.js +48 -0
  301. package/lib/commonjs/ui/oauth/legacyRedirectLanes.js.map +1 -0
  302. package/lib/commonjs/ui/oauth/oauthHandshake.js +53 -0
  303. package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -0
  304. package/lib/commonjs/ui/oauth/oauthPopup.js +276 -0
  305. package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -0
  306. package/lib/commonjs/ui/oauth/oauthPopupMessages.js +150 -0
  307. package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -0
  308. package/lib/commonjs/ui/oauth/types.js +2 -0
  309. package/lib/commonjs/ui/oauth/types.js.map +1 -0
  310. package/lib/commonjs/ui/runtime/createOxyRuntime.js +433 -0
  311. package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -0
  312. package/lib/commonjs/ui/runtime/index.js +63 -0
  313. package/lib/commonjs/ui/runtime/index.js.map +1 -0
  314. package/lib/commonjs/ui/runtime/runtimeContext.js +83 -0
  315. package/lib/commonjs/ui/runtime/runtimeContext.js.map +1 -0
  316. package/lib/commonjs/ui/runtime/types.js +6 -0
  317. package/lib/commonjs/ui/runtime/types.js.map +1 -0
  318. package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js +57 -0
  319. package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js.map +1 -0
  320. package/lib/commonjs/ui/screens/AccountMembersScreen.js +443 -0
  321. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -0
  322. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +264 -0
  323. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
  324. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +184 -0
  325. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -0
  326. package/lib/commonjs/ui/screens/AppInfoScreen.js +373 -0
  327. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
  328. package/lib/commonjs/ui/screens/AvatarCropScreen.js +987 -0
  329. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
  330. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +306 -0
  331. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -0
  332. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +169 -0
  333. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -0
  334. package/lib/commonjs/ui/screens/CreateAccountScreen.js +428 -0
  335. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -0
  336. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +546 -0
  337. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -0
  338. package/lib/commonjs/ui/screens/EditProfileScreen.js +167 -0
  339. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -0
  340. package/lib/commonjs/ui/screens/FAQScreen.js +162 -0
  341. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
  342. package/lib/commonjs/ui/screens/FeedbackScreen.js +592 -0
  343. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
  344. package/lib/commonjs/ui/screens/FileManagementScreen.js +1529 -0
  345. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
  346. package/lib/commonjs/ui/screens/FollowersListScreen.js +17 -0
  347. package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -0
  348. package/lib/commonjs/ui/screens/FollowingListScreen.js +17 -0
  349. package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -0
  350. package/lib/commonjs/ui/screens/HelpSupportScreen.js +123 -0
  351. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -0
  352. package/lib/commonjs/ui/screens/HistoryViewScreen.js +165 -0
  353. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -0
  354. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +235 -0
  355. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
  356. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +127 -0
  357. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
  358. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +188 -0
  359. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
  360. package/lib/commonjs/ui/screens/ManageAccountScreen.js +647 -0
  361. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -0
  362. package/lib/commonjs/ui/screens/NotificationsScreen.js +150 -0
  363. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -0
  364. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +278 -0
  365. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -0
  366. package/lib/commonjs/ui/screens/PreferencesScreen.js +194 -0
  367. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -0
  368. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +958 -0
  369. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  370. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +501 -0
  371. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
  372. package/lib/commonjs/ui/screens/ProfileScreen.js +473 -0
  373. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
  374. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +132 -0
  375. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
  376. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +138 -0
  377. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -0
  378. package/lib/commonjs/ui/screens/UserLinksScreen.js +61 -0
  379. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -0
  380. package/lib/commonjs/ui/screens/UserListScreen.js +301 -0
  381. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -0
  382. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +467 -0
  383. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
  384. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +64 -0
  385. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
  386. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +121 -0
  387. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
  388. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +552 -0
  389. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
  390. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +85 -0
  391. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
  392. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +506 -0
  393. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
  394. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +44 -0
  395. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
  396. package/lib/commonjs/ui/screens/fileManagement/shared.js +79 -0
  397. package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
  398. package/lib/commonjs/ui/screens/index.js +63 -0
  399. package/lib/commonjs/ui/screens/index.js.map +1 -0
  400. package/lib/commonjs/ui/screens/linkFormat.js +38 -0
  401. package/lib/commonjs/ui/screens/linkFormat.js.map +1 -0
  402. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +94 -0
  403. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -0
  404. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +185 -0
  405. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -0
  406. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +86 -0
  407. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -0
  408. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +222 -0
  409. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
  410. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +512 -0
  411. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
  412. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +92 -0
  413. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -0
  414. package/lib/commonjs/ui/server.js +85 -0
  415. package/lib/commonjs/ui/server.js.map +1 -0
  416. package/lib/commonjs/ui/session/authStore.js +75 -0
  417. package/lib/commonjs/ui/session/authStore.js.map +1 -0
  418. package/lib/commonjs/ui/session/backgroundSession.js +258 -0
  419. package/lib/commonjs/ui/session/backgroundSession.js.map +1 -0
  420. package/lib/commonjs/ui/session/createSessionClient.js +56 -0
  421. package/lib/commonjs/ui/session/createSessionClient.js.map +1 -0
  422. package/lib/commonjs/ui/session/identityBinding.js +95 -0
  423. package/lib/commonjs/ui/session/identityBinding.js.map +1 -0
  424. package/lib/commonjs/ui/session/index.js +78 -0
  425. package/lib/commonjs/ui/session/index.js.map +1 -0
  426. package/lib/commonjs/ui/session/nativeSecureStorage.js +90 -0
  427. package/lib/commonjs/ui/session/nativeSecureStorage.js.map +1 -0
  428. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js +306 -0
  429. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js.map +1 -0
  430. package/lib/commonjs/ui/session/tokenTransport.js +75 -0
  431. package/lib/commonjs/ui/session/tokenTransport.js.map +1 -0
  432. package/lib/commonjs/ui/session/useBackgroundSessionSync.js +81 -0
  433. package/lib/commonjs/ui/session/useBackgroundSessionSync.js.map +1 -0
  434. package/lib/commonjs/ui/stores/assetStore.js +225 -0
  435. package/lib/commonjs/ui/stores/assetStore.js.map +1 -0
  436. package/lib/commonjs/ui/stores/authStore.js +169 -0
  437. package/lib/commonjs/ui/stores/authStore.js.map +1 -0
  438. package/lib/commonjs/ui/stores/followStore.js +551 -0
  439. package/lib/commonjs/ui/stores/followStore.js.map +1 -0
  440. package/lib/commonjs/ui/stores/followTargetStore.js +152 -0
  441. package/lib/commonjs/ui/stores/followTargetStore.js.map +1 -0
  442. package/lib/commonjs/ui/stores/resetSessionScopedStores.js +21 -0
  443. package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +1 -0
  444. package/lib/commonjs/ui/types/fileManagement.js +6 -0
  445. package/lib/commonjs/ui/types/fileManagement.js.map +1 -0
  446. package/lib/commonjs/ui/types/navigation.js +6 -0
  447. package/lib/commonjs/ui/types/navigation.js.map +1 -0
  448. package/lib/commonjs/ui/types/surfaceScreen.js +6 -0
  449. package/lib/commonjs/ui/types/surfaceScreen.js.map +1 -0
  450. package/lib/commonjs/ui/utils/avatarUtils.js +43 -0
  451. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -0
  452. package/lib/commonjs/ui/utils/colorUtils.js +49 -0
  453. package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
  454. package/lib/commonjs/ui/utils/commonsStoreLinks.js +42 -0
  455. package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +1 -0
  456. package/lib/commonjs/ui/utils/deliveryPlatform.js +58 -0
  457. package/lib/commonjs/ui/utils/deliveryPlatform.js.map +1 -0
  458. package/lib/commonjs/ui/utils/deviceCredential.js +23 -0
  459. package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -0
  460. package/lib/commonjs/ui/utils/errorHandlers.js +145 -0
  461. package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -0
  462. package/lib/commonjs/ui/utils/fileManagement.js +147 -0
  463. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -0
  464. package/lib/commonjs/ui/utils/iconNames.js +133 -0
  465. package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
  466. package/lib/commonjs/ui/utils/isWebBrowser.js +13 -0
  467. package/lib/commonjs/ui/utils/isWebBrowser.js.map +1 -0
  468. package/lib/commonjs/ui/utils/netConnectivity.js +28 -0
  469. package/lib/commonjs/ui/utils/netConnectivity.js.map +1 -0
  470. package/lib/commonjs/ui/utils/oauthReturn.js +126 -0
  471. package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
  472. package/lib/commonjs/ui/utils/sessionHelpers.js +61 -0
  473. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -0
  474. package/lib/commonjs/ui/utils/storageHelpers.js +120 -0
  475. package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -0
  476. package/lib/commonjs/ui/utils/userUtils.js +69 -0
  477. package/lib/commonjs/ui/utils/userUtils.js.map +1 -0
  478. package/lib/commonjs/utils/hookUtils.js +421 -0
  479. package/lib/commonjs/utils/hookUtils.js.map +1 -0
  480. package/lib/commonjs/webauthn/passkeyClient.js +39 -0
  481. package/lib/commonjs/webauthn/passkeyClient.js.map +1 -0
  482. package/lib/commonjs/webauthn/passkeyClient.native.js +34 -0
  483. package/lib/commonjs/webauthn/passkeyClient.native.js.map +1 -0
  484. package/lib/commonjs/webauthn/passkeyClient.web.js +57 -0
  485. package/lib/commonjs/webauthn/passkeyClient.web.js.map +1 -0
  486. package/lib/module/assets/OxyLogo.svg +1 -0
  487. package/lib/module/assets/assets/OxyLogo.svg +1 -0
  488. package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  489. package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf.d.ts +3 -0
  490. package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  491. package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf.d.ts +3 -0
  492. package/lib/module/assets/assets/fonts/icons/manifest.json +375 -0
  493. package/lib/module/assets/assets/icons/OxyServices.tsx +60 -0
  494. package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
  495. package/lib/module/assets/assets/illustrations/HighFive.tsx +39 -0
  496. package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
  497. package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  498. package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  499. package/lib/module/assets/fonts/icons/manifest.json +375 -0
  500. package/lib/module/assets/icons/OxyServices.js +45 -0
  501. package/lib/module/assets/icons/OxyServices.js.map +1 -0
  502. package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
  503. package/lib/module/assets/illustrations/HighFive.js +53 -0
  504. package/lib/module/assets/illustrations/HighFive.js.map +1 -0
  505. package/lib/module/assets/lottie/welcomeheader_background_op1.json +1 -0
  506. package/lib/module/index.js +224 -0
  507. package/lib/module/index.js.map +1 -0
  508. package/lib/module/notifications/deviceNotifications.js +433 -0
  509. package/lib/module/notifications/deviceNotifications.js.map +1 -0
  510. package/lib/module/package.json +1 -0
  511. package/lib/module/ui/analytics/productAnalytics.js +76 -0
  512. package/lib/module/ui/analytics/productAnalytics.js.map +1 -0
  513. package/lib/module/ui/boot/runProviderColdBoot.js +200 -0
  514. package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
  515. package/lib/module/ui/client.js +38 -0
  516. package/lib/module/ui/client.js.map +1 -0
  517. package/lib/module/ui/components/AvatarCameraBadge.js +40 -0
  518. package/lib/module/ui/components/AvatarCameraBadge.js.map +1 -0
  519. package/lib/module/ui/components/FollowButton.js +251 -0
  520. package/lib/module/ui/components/FollowButton.js.map +1 -0
  521. package/lib/module/ui/components/FollowTargetButton.js +345 -0
  522. package/lib/module/ui/components/FollowTargetButton.js.map +1 -0
  523. package/lib/module/ui/components/KeyboardBoundary.js +10 -0
  524. package/lib/module/ui/components/KeyboardBoundary.js.map +1 -0
  525. package/lib/module/ui/components/KeyboardBoundary.native.js +12 -0
  526. package/lib/module/ui/components/KeyboardBoundary.native.js.map +1 -0
  527. package/lib/module/ui/components/KeyboardBoundary.web.js +10 -0
  528. package/lib/module/ui/components/KeyboardBoundary.web.js.map +1 -0
  529. package/lib/module/ui/components/OxyAccountDialogScreen.js +173 -0
  530. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -0
  531. package/lib/module/ui/components/OxyAuthChooser.js +490 -0
  532. package/lib/module/ui/components/OxyAuthChooser.js.map +1 -0
  533. package/lib/module/ui/components/OxyAuthPrompt.js +118 -0
  534. package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -0
  535. package/lib/module/ui/components/OxyConsentScreen.js +496 -0
  536. package/lib/module/ui/components/OxyConsentScreen.js.map +1 -0
  537. package/lib/module/ui/components/OxyOAuthCallback.js +40 -0
  538. package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
  539. package/lib/module/ui/components/OxyPayButton.js +62 -0
  540. package/lib/module/ui/components/OxyPayButton.js.map +1 -0
  541. package/lib/module/ui/components/OxyProvider.js +239 -0
  542. package/lib/module/ui/components/OxyProvider.js.map +1 -0
  543. package/lib/module/ui/components/OxySignInButton.js +317 -0
  544. package/lib/module/ui/components/OxySignInButton.js.map +1 -0
  545. package/lib/module/ui/components/OxySignInRequestSurface.js +141 -0
  546. package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -0
  547. package/lib/module/ui/components/ProfileButton.js +336 -0
  548. package/lib/module/ui/components/ProfileButton.js.map +1 -0
  549. package/lib/module/ui/components/ProfileSummaryCard.js +74 -0
  550. package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
  551. package/lib/module/ui/components/RequireOxyAuth.js +292 -0
  552. package/lib/module/ui/components/RequireOxyAuth.js.map +1 -0
  553. package/lib/module/ui/components/SettingsIcon.js +40 -0
  554. package/lib/module/ui/components/SettingsIcon.js.map +1 -0
  555. package/lib/module/ui/components/SurfaceHeaderAction.js +58 -0
  556. package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -0
  557. package/lib/module/ui/components/SurfaceScreen.js +252 -0
  558. package/lib/module/ui/components/SurfaceScreen.js.map +1 -0
  559. package/lib/module/ui/components/authChooser/AccountsMenuView.js +663 -0
  560. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -0
  561. package/lib/module/ui/components/authChooser/SignInEntryView.js +103 -0
  562. package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -0
  563. package/lib/module/ui/components/authChooser/SignInRequestView.js +101 -0
  564. package/lib/module/ui/components/authChooser/SignInRequestView.js.map +1 -0
  565. package/lib/module/ui/components/authChooser/SignUpView.js +184 -0
  566. package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -0
  567. package/lib/module/ui/components/authChooser/TroubleDisclosure.js +73 -0
  568. package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
  569. package/lib/module/ui/components/authChooser/primitives.js +176 -0
  570. package/lib/module/ui/components/authChooser/primitives.js.map +1 -0
  571. package/lib/module/ui/components/authChooser/requestSurfaces.js +151 -0
  572. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -0
  573. package/lib/module/ui/components/authChooser/signInProgress.js +55 -0
  574. package/lib/module/ui/components/authChooser/signInProgress.js.map +1 -0
  575. package/lib/module/ui/components/authChooser/styles.js +216 -0
  576. package/lib/module/ui/components/authChooser/styles.js.map +1 -0
  577. package/lib/module/ui/components/authChooser/types.js +77 -0
  578. package/lib/module/ui/components/authChooser/types.js.map +1 -0
  579. package/lib/module/ui/components/authChooser/useUsernameAvailability.js +46 -0
  580. package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
  581. package/lib/module/ui/components/feedback/constants.js +55 -0
  582. package/lib/module/ui/components/feedback/constants.js.map +1 -0
  583. package/lib/module/ui/components/feedback/types.js +4 -0
  584. package/lib/module/ui/components/feedback/types.js.map +1 -0
  585. package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
  586. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
  587. package/lib/module/ui/components/fileManagement/AnimatedButton.js +55 -0
  588. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  589. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +119 -0
  590. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
  591. package/lib/module/ui/components/fileManagement/FileViewer.js +425 -0
  592. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
  593. package/lib/module/ui/components/fileManagement/UploadPreview.js +166 -0
  594. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -0
  595. package/lib/module/ui/components/icon/FAIRWalletIcon.js +59 -0
  596. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  597. package/lib/module/ui/components/internal/PinInput.js +113 -0
  598. package/lib/module/ui/components/internal/PinInput.js.map +1 -0
  599. package/lib/module/ui/components/logo/LogoIcon.js +55 -0
  600. package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
  601. package/lib/module/ui/components/logo/LogoText.js +42 -0
  602. package/lib/module/ui/components/logo/LogoText.js.map +1 -0
  603. package/lib/module/ui/components/modals/DeleteAccountModal.js +127 -0
  604. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
  605. package/lib/module/ui/components/oauthNavigation.js +85 -0
  606. package/lib/module/ui/components/oauthNavigation.js.map +1 -0
  607. package/lib/module/ui/components/passkeyHubPopup.js +29 -0
  608. package/lib/module/ui/components/passkeyHubPopup.js.map +1 -0
  609. package/lib/module/ui/components/payment/PaymentDetailsStep.js +322 -0
  610. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  611. package/lib/module/ui/components/payment/PaymentMethodStep.js +100 -0
  612. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
  613. package/lib/module/ui/components/payment/PaymentReviewStep.js +144 -0
  614. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
  615. package/lib/module/ui/components/payment/PaymentSuccessStep.js +79 -0
  616. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  617. package/lib/module/ui/components/payment/PaymentSummaryStep.js +190 -0
  618. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  619. package/lib/module/ui/components/payment/constants.js +47 -0
  620. package/lib/module/ui/components/payment/constants.js.map +1 -0
  621. package/lib/module/ui/components/payment/paymentStyles.js +396 -0
  622. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
  623. package/lib/module/ui/components/payment/types.js +4 -0
  624. package/lib/module/ui/components/payment/types.js.map +1 -0
  625. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +216 -0
  626. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
  627. package/lib/module/ui/components/styles/overlay.js +80 -0
  628. package/lib/module/ui/components/styles/overlay.js.map +1 -0
  629. package/lib/module/ui/components/styles/shadow.js +123 -0
  630. package/lib/module/ui/components/styles/shadow.js.map +1 -0
  631. package/lib/module/ui/components/surfaces/ActionSheetSurface.js +78 -0
  632. package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
  633. package/lib/module/ui/components/utils/hasTouchHandler.js +9 -0
  634. package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -0
  635. package/lib/module/ui/components/utils/roundLayoutSize.js +4 -0
  636. package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -0
  637. package/lib/module/ui/components/utils/splitStyles.js +46 -0
  638. package/lib/module/ui/components/utils/splitStyles.js.map +1 -0
  639. package/lib/module/ui/constants/spacing.js +45 -0
  640. package/lib/module/ui/constants/spacing.js.map +1 -0
  641. package/lib/module/ui/context/OxyContext.js +1239 -0
  642. package/lib/module/ui/context/OxyContext.js.map +1 -0
  643. package/lib/module/ui/context/commitSessionFlow.js +144 -0
  644. package/lib/module/ui/context/commitSessionFlow.js.map +1 -0
  645. package/lib/module/ui/context/hooks/useAuthOperations.js +326 -0
  646. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
  647. package/lib/module/ui/context/oxyContextHelpers.js +29 -0
  648. package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
  649. package/lib/module/ui/context/oxyContextTypes.js +4 -0
  650. package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
  651. package/lib/module/ui/context/passkeyFlow.js +111 -0
  652. package/lib/module/ui/context/passkeyFlow.js.map +1 -0
  653. package/lib/module/ui/context/useOxyAccountGraph.js +96 -0
  654. package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
  655. package/lib/module/ui/hooks/accountDialogSnapshot.js +38 -0
  656. package/lib/module/ui/hooks/accountDialogSnapshot.js.map +1 -0
  657. package/lib/module/ui/hooks/mutations/mutationFactory.js +178 -0
  658. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
  659. package/lib/module/ui/hooks/mutations/mutationKeys.js +36 -0
  660. package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
  661. package/lib/module/ui/hooks/mutations/useAccountMutations.js +666 -0
  662. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -0
  663. package/lib/module/ui/hooks/mutations/useServicesMutations.js +189 -0
  664. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -0
  665. package/lib/module/ui/hooks/queries/paymentTypes.js +2 -0
  666. package/lib/module/ui/hooks/queries/paymentTypes.js.map +1 -0
  667. package/lib/module/ui/hooks/queries/queryKeys.js +207 -0
  668. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -0
  669. package/lib/module/ui/hooks/queries/useAccountQueries.js +315 -0
  670. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -0
  671. package/lib/module/ui/hooks/queries/useAuthMethods.js +45 -0
  672. package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -0
  673. package/lib/module/ui/hooks/queries/useFileQueries.js +120 -0
  674. package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -0
  675. package/lib/module/ui/hooks/queries/usePaymentQueries.js +137 -0
  676. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -0
  677. package/lib/module/ui/hooks/queries/useSecurityQueries.js +86 -0
  678. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  679. package/lib/module/ui/hooks/queries/useServicesQueries.js +161 -0
  680. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -0
  681. package/lib/module/ui/hooks/queries/userCache.js +433 -0
  682. package/lib/module/ui/hooks/queries/userCache.js.map +1 -0
  683. package/lib/module/ui/hooks/queries/userCacheRelationship.js +27 -0
  684. package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +1 -0
  685. package/lib/module/ui/hooks/queryClient.js +215 -0
  686. package/lib/module/ui/hooks/queryClient.js.map +1 -0
  687. package/lib/module/ui/hooks/useAssets.js +221 -0
  688. package/lib/module/ui/hooks/useAssets.js.map +1 -0
  689. package/lib/module/ui/hooks/useAsyncAction.js +89 -0
  690. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
  691. package/lib/module/ui/hooks/useAuth.js +148 -0
  692. package/lib/module/ui/hooks/useAuth.js.map +1 -0
  693. package/lib/module/ui/hooks/useAvatarPicker.js +103 -0
  694. package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -0
  695. package/lib/module/ui/hooks/useDeviceManagement.js +68 -0
  696. package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -0
  697. package/lib/module/ui/hooks/useDeviceSwitcher.js +53 -0
  698. package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -0
  699. package/lib/module/ui/hooks/useFileDownloadUrl.js +66 -0
  700. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
  701. package/lib/module/ui/hooks/useFileFiltering.js +72 -0
  702. package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
  703. package/lib/module/ui/hooks/useFollow.js +324 -0
  704. package/lib/module/ui/hooks/useFollow.js.map +1 -0
  705. package/lib/module/ui/hooks/useFollow.types.js +4 -0
  706. package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
  707. package/lib/module/ui/hooks/useFollowTarget.js +156 -0
  708. package/lib/module/ui/hooks/useFollowTarget.js.map +1 -0
  709. package/lib/module/ui/hooks/useI18n.js +38 -0
  710. package/lib/module/ui/hooks/useI18n.js.map +1 -0
  711. package/lib/module/ui/hooks/useLanguageManagement.js +185 -0
  712. package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
  713. package/lib/module/ui/hooks/useMutationStatus.js +82 -0
  714. package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
  715. package/lib/module/ui/hooks/useOnlineStatus.js +30 -0
  716. package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
  717. package/lib/module/ui/hooks/useOxyEvent.js +25 -0
  718. package/lib/module/ui/hooks/useOxyEvent.js.map +1 -0
  719. package/lib/module/ui/hooks/useProfileEditing.js +129 -0
  720. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
  721. package/lib/module/ui/hooks/useQueryClient.js +15 -0
  722. package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
  723. package/lib/module/ui/hooks/useReduceMotion.js +53 -0
  724. package/lib/module/ui/hooks/useReduceMotion.js.map +1 -0
  725. package/lib/module/ui/hooks/useResolvedFileUrls.js +157 -0
  726. package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -0
  727. package/lib/module/ui/hooks/useSessionManagement.js +178 -0
  728. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -0
  729. package/lib/module/ui/hooks/useSettingToggle.js +126 -0
  730. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
  731. package/lib/module/ui/hooks/useStorage.js +40 -0
  732. package/lib/module/ui/hooks/useStorage.js.map +1 -0
  733. package/lib/module/ui/hooks/useSurfaceHeader.js +138 -0
  734. package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -0
  735. package/lib/module/ui/icons/Ionicons.js +8 -0
  736. package/lib/module/ui/icons/Ionicons.js.map +1 -0
  737. package/lib/module/ui/icons/MaterialCommunityIcons.js +8 -0
  738. package/lib/module/ui/icons/MaterialCommunityIcons.js.map +1 -0
  739. package/lib/module/ui/icons/subsetGlyphMaps.js +358 -0
  740. package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -0
  741. package/lib/module/ui/index.js +44 -0
  742. package/lib/module/ui/index.js.map +1 -0
  743. package/lib/module/ui/isFrontend.js +6 -0
  744. package/lib/module/ui/isFrontend.js.map +1 -0
  745. package/lib/module/ui/navigation/accountDialogManager.js +94 -0
  746. package/lib/module/ui/navigation/accountDialogManager.js.map +1 -0
  747. package/lib/module/ui/navigation/bottomSheetManager.js +56 -0
  748. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -0
  749. package/lib/module/ui/navigation/routes.js +104 -0
  750. package/lib/module/ui/navigation/routes.js.map +1 -0
  751. package/lib/module/ui/navigation/surfaceBackBridge.js +63 -0
  752. package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -0
  753. package/lib/module/ui/navigation/surfaceNavStack.js +143 -0
  754. package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -0
  755. package/lib/module/ui/navigation/surfaceRegistry.js +141 -0
  756. package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -0
  757. package/lib/module/ui/navigation/surfaces.js +325 -0
  758. package/lib/module/ui/navigation/surfaces.js.map +1 -0
  759. package/lib/module/ui/oauth/browserAuthTransport.js +167 -0
  760. package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -0
  761. package/lib/module/ui/oauth/completeOAuthCode.js +75 -0
  762. package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -0
  763. package/lib/module/ui/oauth/explicitOAuthConsent.js +241 -0
  764. package/lib/module/ui/oauth/explicitOAuthConsent.js.map +1 -0
  765. package/lib/module/ui/oauth/legacyRedirectLanes.js +44 -0
  766. package/lib/module/ui/oauth/legacyRedirectLanes.js.map +1 -0
  767. package/lib/module/ui/oauth/oauthHandshake.js +50 -0
  768. package/lib/module/ui/oauth/oauthHandshake.js.map +1 -0
  769. package/lib/module/ui/oauth/oauthPopup.js +268 -0
  770. package/lib/module/ui/oauth/oauthPopup.js.map +1 -0
  771. package/lib/module/ui/oauth/oauthPopupMessages.js +144 -0
  772. package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -0
  773. package/lib/module/ui/oauth/types.js +2 -0
  774. package/lib/module/ui/oauth/types.js.map +1 -0
  775. package/lib/module/ui/runtime/createOxyRuntime.js +430 -0
  776. package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -0
  777. package/lib/module/ui/runtime/index.js +15 -0
  778. package/lib/module/ui/runtime/index.js.map +1 -0
  779. package/lib/module/ui/runtime/runtimeContext.js +75 -0
  780. package/lib/module/ui/runtime/runtimeContext.js.map +1 -0
  781. package/lib/module/ui/runtime/types.js +4 -0
  782. package/lib/module/ui/runtime/types.js.map +1 -0
  783. package/lib/module/ui/runtime/useRuntimeSnapshot.js +52 -0
  784. package/lib/module/ui/runtime/useRuntimeSnapshot.js.map +1 -0
  785. package/lib/module/ui/screens/AccountMembersScreen.js +438 -0
  786. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -0
  787. package/lib/module/ui/screens/AccountSettingsScreen.js +260 -0
  788. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
  789. package/lib/module/ui/screens/AccountVerificationScreen.js +179 -0
  790. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -0
  791. package/lib/module/ui/screens/AppInfoScreen.js +368 -0
  792. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
  793. package/lib/module/ui/screens/AvatarCropScreen.js +984 -0
  794. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
  795. package/lib/module/ui/screens/ChangeAvatarScreen.js +303 -0
  796. package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -0
  797. package/lib/module/ui/screens/ConnectedAppsScreen.js +164 -0
  798. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -0
  799. package/lib/module/ui/screens/CreateAccountScreen.js +423 -0
  800. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -0
  801. package/lib/module/ui/screens/EditProfileFieldScreen.js +541 -0
  802. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -0
  803. package/lib/module/ui/screens/EditProfileScreen.js +162 -0
  804. package/lib/module/ui/screens/EditProfileScreen.js.map +1 -0
  805. package/lib/module/ui/screens/FAQScreen.js +157 -0
  806. package/lib/module/ui/screens/FAQScreen.js.map +1 -0
  807. package/lib/module/ui/screens/FeedbackScreen.js +590 -0
  808. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
  809. package/lib/module/ui/screens/FileManagementScreen.js +1525 -0
  810. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
  811. package/lib/module/ui/screens/FollowersListScreen.js +12 -0
  812. package/lib/module/ui/screens/FollowersListScreen.js.map +1 -0
  813. package/lib/module/ui/screens/FollowingListScreen.js +12 -0
  814. package/lib/module/ui/screens/FollowingListScreen.js.map +1 -0
  815. package/lib/module/ui/screens/HelpSupportScreen.js +118 -0
  816. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -0
  817. package/lib/module/ui/screens/HistoryViewScreen.js +160 -0
  818. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -0
  819. package/lib/module/ui/screens/LanguageSelectorScreen.js +229 -0
  820. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
  821. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +122 -0
  822. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
  823. package/lib/module/ui/screens/LegalDocumentsScreen.js +185 -0
  824. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -0
  825. package/lib/module/ui/screens/ManageAccountScreen.js +642 -0
  826. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -0
  827. package/lib/module/ui/screens/NotificationsScreen.js +145 -0
  828. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -0
  829. package/lib/module/ui/screens/PaymentGatewayScreen.js +273 -0
  830. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
  831. package/lib/module/ui/screens/PreferencesScreen.js +189 -0
  832. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -0
  833. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +953 -0
  834. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  835. package/lib/module/ui/screens/PrivacySettingsScreen.js +496 -0
  836. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
  837. package/lib/module/ui/screens/ProfileScreen.js +468 -0
  838. package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
  839. package/lib/module/ui/screens/SavesCollectionsScreen.js +127 -0
  840. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
  841. package/lib/module/ui/screens/SearchSettingsScreen.js +133 -0
  842. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
  843. package/lib/module/ui/screens/UserLinksScreen.js +57 -0
  844. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -0
  845. package/lib/module/ui/screens/UserListScreen.js +296 -0
  846. package/lib/module/ui/screens/UserListScreen.js.map +1 -0
  847. package/lib/module/ui/screens/WelcomeNewUserScreen.js +462 -0
  848. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
  849. package/lib/module/ui/screens/fileManagement/FileLibraryError.js +59 -0
  850. package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
  851. package/lib/module/ui/screens/fileManagement/FileListSection.js +116 -0
  852. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
  853. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +548 -0
  854. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
  855. package/lib/module/ui/screens/fileManagement/UploadBar.js +80 -0
  856. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
  857. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +502 -0
  858. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
  859. package/lib/module/ui/screens/fileManagement/photoGridLayout.js +39 -0
  860. package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
  861. package/lib/module/ui/screens/fileManagement/shared.js +70 -0
  862. package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
  863. package/lib/module/ui/screens/index.js +20 -0
  864. package/lib/module/ui/screens/index.js.map +1 -0
  865. package/lib/module/ui/screens/linkFormat.js +31 -0
  866. package/lib/module/ui/screens/linkFormat.js.map +1 -0
  867. package/lib/module/ui/screens/trust/TrustAboutScreen.js +89 -0
  868. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -0
  869. package/lib/module/ui/screens/trust/TrustCenterScreen.js +180 -0
  870. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -0
  871. package/lib/module/ui/screens/trust/TrustFAQScreen.js +81 -0
  872. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -0
  873. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +217 -0
  874. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
  875. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +507 -0
  876. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
  877. package/lib/module/ui/screens/trust/TrustRulesScreen.js +90 -0
  878. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -0
  879. package/lib/module/ui/server.js +55 -0
  880. package/lib/module/ui/server.js.map +1 -0
  881. package/lib/module/ui/session/authStore.js +70 -0
  882. package/lib/module/ui/session/authStore.js.map +1 -0
  883. package/lib/module/ui/session/backgroundSession.js +252 -0
  884. package/lib/module/ui/session/backgroundSession.js.map +1 -0
  885. package/lib/module/ui/session/createSessionClient.js +53 -0
  886. package/lib/module/ui/session/createSessionClient.js.map +1 -0
  887. package/lib/module/ui/session/identityBinding.js +89 -0
  888. package/lib/module/ui/session/identityBinding.js.map +1 -0
  889. package/lib/module/ui/session/index.js +21 -0
  890. package/lib/module/ui/session/index.js.map +1 -0
  891. package/lib/module/ui/session/nativeSecureStorage.js +88 -0
  892. package/lib/module/ui/session/nativeSecureStorage.js.map +1 -0
  893. package/lib/module/ui/session/sharedDeviceCredentialStore.js +302 -0
  894. package/lib/module/ui/session/sharedDeviceCredentialStore.js.map +1 -0
  895. package/lib/module/ui/session/tokenTransport.js +71 -0
  896. package/lib/module/ui/session/tokenTransport.js.map +1 -0
  897. package/lib/module/ui/session/useBackgroundSessionSync.js +76 -0
  898. package/lib/module/ui/session/useBackgroundSessionSync.js.map +1 -0
  899. package/lib/module/ui/stores/assetStore.js +212 -0
  900. package/lib/module/ui/stores/assetStore.js.map +1 -0
  901. package/lib/module/ui/stores/authStore.js +165 -0
  902. package/lib/module/ui/stores/authStore.js.map +1 -0
  903. package/lib/module/ui/stores/followStore.js +546 -0
  904. package/lib/module/ui/stores/followStore.js.map +1 -0
  905. package/lib/module/ui/stores/followTargetStore.js +143 -0
  906. package/lib/module/ui/stores/followTargetStore.js.map +1 -0
  907. package/lib/module/ui/stores/resetSessionScopedStores.js +18 -0
  908. package/lib/module/ui/stores/resetSessionScopedStores.js.map +1 -0
  909. package/lib/module/ui/types/fileManagement.js +4 -0
  910. package/lib/module/ui/types/fileManagement.js.map +1 -0
  911. package/lib/module/ui/types/navigation.js +4 -0
  912. package/lib/module/ui/types/navigation.js.map +1 -0
  913. package/lib/module/ui/types/surfaceScreen.js +4 -0
  914. package/lib/module/ui/types/surfaceScreen.js.map +1 -0
  915. package/lib/module/ui/utils/avatarUtils.js +40 -0
  916. package/lib/module/ui/utils/avatarUtils.js.map +1 -0
  917. package/lib/module/ui/utils/colorUtils.js +13 -0
  918. package/lib/module/ui/utils/colorUtils.js.map +1 -0
  919. package/lib/module/ui/utils/commonsStoreLinks.js +37 -0
  920. package/lib/module/ui/utils/commonsStoreLinks.js.map +1 -0
  921. package/lib/module/ui/utils/deliveryPlatform.js +55 -0
  922. package/lib/module/ui/utils/deliveryPlatform.js.map +1 -0
  923. package/lib/module/ui/utils/deviceCredential.js +18 -0
  924. package/lib/module/ui/utils/deviceCredential.js.map +1 -0
  925. package/lib/module/ui/utils/errorHandlers.js +137 -0
  926. package/lib/module/ui/utils/errorHandlers.js.map +1 -0
  927. package/lib/module/ui/utils/fileManagement.js +140 -0
  928. package/lib/module/ui/utils/fileManagement.js.map +1 -0
  929. package/lib/module/ui/utils/iconNames.js +124 -0
  930. package/lib/module/ui/utils/iconNames.js.map +1 -0
  931. package/lib/module/ui/utils/isWebBrowser.js +11 -0
  932. package/lib/module/ui/utils/isWebBrowser.js.map +1 -0
  933. package/lib/module/ui/utils/netConnectivity.js +23 -0
  934. package/lib/module/ui/utils/netConnectivity.js.map +1 -0
  935. package/lib/module/ui/utils/oauthReturn.js +122 -0
  936. package/lib/module/ui/utils/oauthReturn.js.map +1 -0
  937. package/lib/module/ui/utils/sessionHelpers.js +55 -0
  938. package/lib/module/ui/utils/sessionHelpers.js.map +1 -0
  939. package/lib/module/ui/utils/storageHelpers.js +111 -0
  940. package/lib/module/ui/utils/storageHelpers.js.map +1 -0
  941. package/lib/module/ui/utils/userUtils.js +63 -0
  942. package/lib/module/ui/utils/userUtils.js.map +1 -0
  943. package/lib/module/utils/hookUtils.js +403 -0
  944. package/lib/module/utils/hookUtils.js.map +1 -0
  945. package/lib/module/webauthn/passkeyClient.js +33 -0
  946. package/lib/module/webauthn/passkeyClient.js.map +1 -0
  947. package/lib/module/webauthn/passkeyClient.native.js +28 -0
  948. package/lib/module/webauthn/passkeyClient.native.js.map +1 -0
  949. package/lib/module/webauthn/passkeyClient.web.js +52 -0
  950. package/lib/module/webauthn/passkeyClient.web.js.map +1 -0
  951. package/lib/typescript/assets/fonts/icons/OxyServicesIonicons.ttf.d.ts +3 -0
  952. package/lib/typescript/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf.d.ts +3 -0
  953. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +24 -0
  954. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -0
  955. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +8 -0
  956. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -0
  957. package/lib/typescript/commonjs/index.d.ts +103 -0
  958. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  959. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +192 -0
  960. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +1 -0
  961. package/lib/typescript/commonjs/package.json +1 -0
  962. package/lib/typescript/commonjs/ui/analytics/productAnalytics.d.ts +26 -0
  963. package/lib/typescript/commonjs/ui/analytics/productAnalytics.d.ts.map +1 -0
  964. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +60 -0
  965. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
  966. package/lib/typescript/commonjs/ui/client.d.ts +29 -0
  967. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -0
  968. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +4 -0
  969. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +1 -0
  970. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +39 -0
  971. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -0
  972. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +158 -0
  973. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -0
  974. package/lib/typescript/commonjs/ui/components/KeyboardBoundary.d.ts +6 -0
  975. package/lib/typescript/commonjs/ui/components/KeyboardBoundary.d.ts.map +1 -0
  976. package/lib/typescript/commonjs/ui/components/KeyboardBoundary.native.d.ts +6 -0
  977. package/lib/typescript/commonjs/ui/components/KeyboardBoundary.native.d.ts.map +1 -0
  978. package/lib/typescript/commonjs/ui/components/KeyboardBoundary.web.d.ts +6 -0
  979. package/lib/typescript/commonjs/ui/components/KeyboardBoundary.web.d.ts.map +1 -0
  980. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +40 -0
  981. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
  982. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +54 -0
  983. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -0
  984. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +59 -0
  985. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -0
  986. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +45 -0
  987. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -0
  988. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +11 -0
  989. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -0
  990. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +29 -0
  991. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -0
  992. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +40 -0
  993. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -0
  994. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +113 -0
  995. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -0
  996. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +108 -0
  997. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
  998. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +59 -0
  999. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -0
  1000. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +33 -0
  1001. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -0
  1002. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +55 -0
  1003. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -0
  1004. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +15 -0
  1005. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -0
  1006. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +16 -0
  1007. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
  1008. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +23 -0
  1009. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -0
  1010. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +45 -0
  1011. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
  1012. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +34 -0
  1013. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
  1014. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +34 -0
  1015. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
  1016. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +34 -0
  1017. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +1 -0
  1018. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +38 -0
  1019. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
  1020. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +67 -0
  1021. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -0
  1022. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +63 -0
  1023. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
  1024. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +26 -0
  1025. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +1 -0
  1026. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +209 -0
  1027. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -0
  1028. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +141 -0
  1029. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -0
  1030. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
  1031. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
  1032. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +5 -0
  1033. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -0
  1034. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +46 -0
  1035. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -0
  1036. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  1037. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  1038. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
  1039. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
  1040. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
  1041. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  1042. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +16 -0
  1043. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  1044. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +14 -0
  1045. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  1046. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
  1047. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  1048. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +23 -0
  1049. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -0
  1050. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
  1051. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
  1052. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
  1053. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
  1054. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +26 -0
  1055. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  1056. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +52 -0
  1057. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +1 -0
  1058. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +23 -0
  1059. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +1 -0
  1060. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  1061. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  1062. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  1063. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  1064. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  1065. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  1066. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  1067. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  1068. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  1069. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  1070. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +7 -0
  1071. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -0
  1072. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +389 -0
  1073. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -0
  1074. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +40 -0
  1075. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -0
  1076. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
  1077. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  1078. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +6 -0
  1079. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -0
  1080. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +3 -0
  1081. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -0
  1082. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
  1083. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
  1084. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +6 -0
  1085. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  1086. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +2 -0
  1087. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  1088. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +20 -0
  1089. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -0
  1090. package/lib/typescript/commonjs/ui/constants/spacing.d.ts +33 -0
  1091. package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +1 -0
  1092. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +41 -0
  1093. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -0
  1094. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +81 -0
  1095. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -0
  1096. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +70 -0
  1097. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  1098. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +5 -0
  1099. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
  1100. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +232 -0
  1101. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
  1102. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +96 -0
  1103. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +1 -0
  1104. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +30 -0
  1105. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
  1106. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +15 -0
  1107. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -0
  1108. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +87 -0
  1109. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
  1110. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +30 -0
  1111. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
  1112. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +301 -0
  1113. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  1114. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
  1115. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  1116. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +138 -0
  1117. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
  1118. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +137 -0
  1119. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  1120. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +87 -0
  1121. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  1122. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +206 -0
  1123. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
  1124. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +50 -0
  1125. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
  1126. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +64 -0
  1127. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
  1128. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
  1129. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  1130. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +44 -0
  1131. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  1132. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +173 -0
  1133. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +1 -0
  1134. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
  1135. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
  1136. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +68 -0
  1137. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -0
  1138. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +35 -0
  1139. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -0
  1140. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +51 -0
  1141. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -0
  1142. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +115 -0
  1143. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -0
  1144. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +34 -0
  1145. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -0
  1146. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +27 -0
  1147. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  1148. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts +49 -0
  1149. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -0
  1150. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  1151. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  1152. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +29 -0
  1153. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -0
  1154. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +108 -0
  1155. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -0
  1156. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +35 -0
  1157. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -0
  1158. package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +50 -0
  1159. package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +1 -0
  1160. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +18 -0
  1161. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -0
  1162. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +69 -0
  1163. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  1164. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
  1165. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
  1166. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +14 -0
  1167. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
  1168. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +8 -0
  1169. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +1 -0
  1170. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +42 -0
  1171. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -0
  1172. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +7 -0
  1173. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +1 -0
  1174. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +14 -0
  1175. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +1 -0
  1176. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +48 -0
  1177. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
  1178. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +46 -0
  1179. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -0
  1180. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +57 -0
  1181. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -0
  1182. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +16 -0
  1183. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -0
  1184. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +45 -0
  1185. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
  1186. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +3 -0
  1187. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -0
  1188. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +3 -0
  1189. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -0
  1190. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +356 -0
  1191. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -0
  1192. package/lib/typescript/commonjs/ui/index.d.ts +34 -0
  1193. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
  1194. package/lib/typescript/commonjs/ui/isFrontend.d.ts +3 -0
  1195. package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -0
  1196. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +54 -0
  1197. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -0
  1198. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +34 -0
  1199. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  1200. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +20 -0
  1201. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -0
  1202. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +16 -0
  1203. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
  1204. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +75 -0
  1205. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -0
  1206. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +194 -0
  1207. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -0
  1208. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +110 -0
  1209. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -0
  1210. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +56 -0
  1211. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -0
  1212. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +49 -0
  1213. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +1 -0
  1214. package/lib/typescript/commonjs/ui/oauth/explicitOAuthConsent.d.ts +59 -0
  1215. package/lib/typescript/commonjs/ui/oauth/explicitOAuthConsent.d.ts.map +1 -0
  1216. package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts +40 -0
  1217. package/lib/typescript/commonjs/ui/oauth/legacyRedirectLanes.d.ts.map +1 -0
  1218. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +50 -0
  1219. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -0
  1220. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +83 -0
  1221. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -0
  1222. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +67 -0
  1223. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
  1224. package/lib/typescript/commonjs/ui/oauth/types.d.ts +176 -0
  1225. package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +1 -0
  1226. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts +144 -0
  1227. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -0
  1228. package/lib/typescript/commonjs/ui/runtime/index.d.ts +16 -0
  1229. package/lib/typescript/commonjs/ui/runtime/index.d.ts.map +1 -0
  1230. package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts +43 -0
  1231. package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts.map +1 -0
  1232. package/lib/typescript/commonjs/ui/runtime/types.d.ts +89 -0
  1233. package/lib/typescript/commonjs/ui/runtime/types.d.ts.map +1 -0
  1234. package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts +23 -0
  1235. package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts.map +1 -0
  1236. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +10 -0
  1237. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -0
  1238. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +12 -0
  1239. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  1240. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +5 -0
  1241. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  1242. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +5 -0
  1243. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -0
  1244. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +58 -0
  1245. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
  1246. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +38 -0
  1247. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
  1248. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +5 -0
  1249. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
  1250. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +11 -0
  1251. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -0
  1252. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  1253. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  1254. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +14 -0
  1255. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -0
  1256. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +5 -0
  1257. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -0
  1258. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +5 -0
  1259. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -0
  1260. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +5 -0
  1261. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -0
  1262. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +12 -0
  1263. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -0
  1264. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +12 -0
  1265. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +1 -0
  1266. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +5 -0
  1267. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  1268. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +5 -0
  1269. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  1270. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +7 -0
  1271. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  1272. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
  1273. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
  1274. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +5 -0
  1275. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  1276. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +13 -0
  1277. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -0
  1278. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +5 -0
  1279. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -0
  1280. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +15 -0
  1281. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  1282. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +5 -0
  1283. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -0
  1284. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  1285. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  1286. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +5 -0
  1287. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  1288. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +9 -0
  1289. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -0
  1290. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +5 -0
  1291. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  1292. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +5 -0
  1293. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  1294. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +15 -0
  1295. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -0
  1296. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +18 -0
  1297. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -0
  1298. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
  1299. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  1300. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
  1301. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
  1302. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +40 -0
  1303. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
  1304. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
  1305. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
  1306. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +25 -0
  1307. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
  1308. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
  1309. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
  1310. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
  1311. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
  1312. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +38 -0
  1313. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
  1314. package/lib/typescript/commonjs/ui/screens/index.d.ts +18 -0
  1315. package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -0
  1316. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +23 -0
  1317. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -0
  1318. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
  1319. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
  1320. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
  1321. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
  1322. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
  1323. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
  1324. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
  1325. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
  1326. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
  1327. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
  1328. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
  1329. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
  1330. package/lib/typescript/commonjs/ui/server.d.ts +35 -0
  1331. package/lib/typescript/commonjs/ui/server.d.ts.map +1 -0
  1332. package/lib/typescript/commonjs/ui/session/authStore.d.ts +76 -0
  1333. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -0
  1334. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +42 -0
  1335. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +1 -0
  1336. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +40 -0
  1337. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -0
  1338. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +66 -0
  1339. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -0
  1340. package/lib/typescript/commonjs/ui/session/index.d.ts +20 -0
  1341. package/lib/typescript/commonjs/ui/session/index.d.ts.map +1 -0
  1342. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +25 -0
  1343. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +1 -0
  1344. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts +32 -0
  1345. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -0
  1346. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +33 -0
  1347. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -0
  1348. package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts +23 -0
  1349. package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts.map +1 -0
  1350. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +54 -0
  1351. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -0
  1352. package/lib/typescript/commonjs/ui/stores/authStore.d.ts +61 -0
  1353. package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -0
  1354. package/lib/typescript/commonjs/ui/stores/followStore.d.ts +30 -0
  1355. package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -0
  1356. package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +84 -0
  1357. package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +1 -0
  1358. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +10 -0
  1359. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
  1360. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +51 -0
  1361. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -0
  1362. package/lib/typescript/commonjs/ui/types/navigation.d.ts +156 -0
  1363. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -0
  1364. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +38 -0
  1365. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +1 -0
  1366. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +16 -0
  1367. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -0
  1368. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +10 -0
  1369. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +1 -0
  1370. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +24 -0
  1371. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +1 -0
  1372. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +33 -0
  1373. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +1 -0
  1374. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +8 -0
  1375. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -0
  1376. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +35 -0
  1377. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -0
  1378. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +55 -0
  1379. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -0
  1380. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +112 -0
  1381. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +1 -0
  1382. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +9 -0
  1383. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +1 -0
  1384. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +17 -0
  1385. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +1 -0
  1386. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +48 -0
  1387. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
  1388. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +48 -0
  1389. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -0
  1390. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +32 -0
  1391. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -0
  1392. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +23 -0
  1393. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -0
  1394. package/lib/typescript/commonjs/utils/hookUtils.d.ts +102 -0
  1395. package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -0
  1396. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +20 -0
  1397. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +1 -0
  1398. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +15 -0
  1399. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +1 -0
  1400. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +36 -0
  1401. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +1 -0
  1402. package/lib/typescript/module/assets/icons/OxyServices.d.ts +24 -0
  1403. package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -0
  1404. package/lib/typescript/module/assets/illustrations/HighFive.d.ts +8 -0
  1405. package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -0
  1406. package/lib/typescript/module/index.d.ts +103 -0
  1407. package/lib/typescript/module/index.d.ts.map +1 -0
  1408. package/lib/typescript/module/notifications/deviceNotifications.d.ts +192 -0
  1409. package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +1 -0
  1410. package/lib/typescript/module/package.json +1 -0
  1411. package/lib/typescript/module/ui/analytics/productAnalytics.d.ts +26 -0
  1412. package/lib/typescript/module/ui/analytics/productAnalytics.d.ts.map +1 -0
  1413. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +60 -0
  1414. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
  1415. package/lib/typescript/module/ui/client.d.ts +29 -0
  1416. package/lib/typescript/module/ui/client.d.ts.map +1 -0
  1417. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +4 -0
  1418. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +1 -0
  1419. package/lib/typescript/module/ui/components/FollowButton.d.ts +39 -0
  1420. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -0
  1421. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +158 -0
  1422. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -0
  1423. package/lib/typescript/module/ui/components/KeyboardBoundary.d.ts +6 -0
  1424. package/lib/typescript/module/ui/components/KeyboardBoundary.d.ts.map +1 -0
  1425. package/lib/typescript/module/ui/components/KeyboardBoundary.native.d.ts +6 -0
  1426. package/lib/typescript/module/ui/components/KeyboardBoundary.native.d.ts.map +1 -0
  1427. package/lib/typescript/module/ui/components/KeyboardBoundary.web.d.ts +6 -0
  1428. package/lib/typescript/module/ui/components/KeyboardBoundary.web.d.ts.map +1 -0
  1429. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +40 -0
  1430. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
  1431. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +54 -0
  1432. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -0
  1433. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +59 -0
  1434. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -0
  1435. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +45 -0
  1436. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -0
  1437. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +11 -0
  1438. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -0
  1439. package/lib/typescript/module/ui/components/OxyPayButton.d.ts +29 -0
  1440. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -0
  1441. package/lib/typescript/module/ui/components/OxyProvider.d.ts +40 -0
  1442. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -0
  1443. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +113 -0
  1444. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -0
  1445. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +108 -0
  1446. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
  1447. package/lib/typescript/module/ui/components/ProfileButton.d.ts +59 -0
  1448. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -0
  1449. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +33 -0
  1450. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -0
  1451. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +55 -0
  1452. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -0
  1453. package/lib/typescript/module/ui/components/SettingsIcon.d.ts +15 -0
  1454. package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -0
  1455. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +16 -0
  1456. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
  1457. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +23 -0
  1458. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -0
  1459. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +45 -0
  1460. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
  1461. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +34 -0
  1462. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
  1463. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +34 -0
  1464. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
  1465. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +34 -0
  1466. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +1 -0
  1467. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +38 -0
  1468. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
  1469. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +67 -0
  1470. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -0
  1471. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +63 -0
  1472. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
  1473. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +26 -0
  1474. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +1 -0
  1475. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +209 -0
  1476. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -0
  1477. package/lib/typescript/module/ui/components/authChooser/types.d.ts +141 -0
  1478. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -0
  1479. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
  1480. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
  1481. package/lib/typescript/module/ui/components/feedback/constants.d.ts +5 -0
  1482. package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -0
  1483. package/lib/typescript/module/ui/components/feedback/types.d.ts +46 -0
  1484. package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -0
  1485. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  1486. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  1487. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
  1488. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
  1489. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
  1490. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  1491. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +16 -0
  1492. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  1493. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +14 -0
  1494. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  1495. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
  1496. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  1497. package/lib/typescript/module/ui/components/internal/PinInput.d.ts +23 -0
  1498. package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -0
  1499. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
  1500. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
  1501. package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
  1502. package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
  1503. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +26 -0
  1504. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  1505. package/lib/typescript/module/ui/components/oauthNavigation.d.ts +52 -0
  1506. package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +1 -0
  1507. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +23 -0
  1508. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +1 -0
  1509. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  1510. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  1511. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  1512. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  1513. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  1514. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  1515. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  1516. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  1517. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  1518. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  1519. package/lib/typescript/module/ui/components/payment/constants.d.ts +7 -0
  1520. package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -0
  1521. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +389 -0
  1522. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -0
  1523. package/lib/typescript/module/ui/components/payment/types.d.ts +40 -0
  1524. package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -0
  1525. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
  1526. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  1527. package/lib/typescript/module/ui/components/styles/overlay.d.ts +6 -0
  1528. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -0
  1529. package/lib/typescript/module/ui/components/styles/shadow.d.ts +3 -0
  1530. package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -0
  1531. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
  1532. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
  1533. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +6 -0
  1534. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  1535. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +2 -0
  1536. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  1537. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +20 -0
  1538. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -0
  1539. package/lib/typescript/module/ui/constants/spacing.d.ts +33 -0
  1540. package/lib/typescript/module/ui/constants/spacing.d.ts.map +1 -0
  1541. package/lib/typescript/module/ui/context/OxyContext.d.ts +41 -0
  1542. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -0
  1543. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +81 -0
  1544. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -0
  1545. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +70 -0
  1546. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  1547. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +5 -0
  1548. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
  1549. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +232 -0
  1550. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
  1551. package/lib/typescript/module/ui/context/passkeyFlow.d.ts +96 -0
  1552. package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +1 -0
  1553. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +30 -0
  1554. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
  1555. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +15 -0
  1556. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -0
  1557. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +87 -0
  1558. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
  1559. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +30 -0
  1560. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
  1561. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +301 -0
  1562. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  1563. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
  1564. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  1565. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +138 -0
  1566. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
  1567. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +137 -0
  1568. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  1569. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +87 -0
  1570. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  1571. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +206 -0
  1572. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
  1573. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +50 -0
  1574. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
  1575. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +64 -0
  1576. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
  1577. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
  1578. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  1579. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +44 -0
  1580. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  1581. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +173 -0
  1582. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +1 -0
  1583. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
  1584. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
  1585. package/lib/typescript/module/ui/hooks/queryClient.d.ts +68 -0
  1586. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -0
  1587. package/lib/typescript/module/ui/hooks/useAssets.d.ts +35 -0
  1588. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -0
  1589. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +51 -0
  1590. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -0
  1591. package/lib/typescript/module/ui/hooks/useAuth.d.ts +115 -0
  1592. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -0
  1593. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +34 -0
  1594. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -0
  1595. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +27 -0
  1596. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  1597. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts +49 -0
  1598. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -0
  1599. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  1600. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  1601. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +29 -0
  1602. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -0
  1603. package/lib/typescript/module/ui/hooks/useFollow.d.ts +108 -0
  1604. package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -0
  1605. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +35 -0
  1606. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -0
  1607. package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +50 -0
  1608. package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +1 -0
  1609. package/lib/typescript/module/ui/hooks/useI18n.d.ts +18 -0
  1610. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -0
  1611. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +69 -0
  1612. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  1613. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
  1614. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
  1615. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +14 -0
  1616. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
  1617. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +8 -0
  1618. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +1 -0
  1619. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +42 -0
  1620. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -0
  1621. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +7 -0
  1622. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +1 -0
  1623. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +14 -0
  1624. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +1 -0
  1625. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +48 -0
  1626. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
  1627. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +46 -0
  1628. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -0
  1629. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +57 -0
  1630. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -0
  1631. package/lib/typescript/module/ui/hooks/useStorage.d.ts +16 -0
  1632. package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -0
  1633. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +45 -0
  1634. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
  1635. package/lib/typescript/module/ui/icons/Ionicons.d.ts +3 -0
  1636. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -0
  1637. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +3 -0
  1638. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -0
  1639. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +356 -0
  1640. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -0
  1641. package/lib/typescript/module/ui/index.d.ts +34 -0
  1642. package/lib/typescript/module/ui/index.d.ts.map +1 -0
  1643. package/lib/typescript/module/ui/isFrontend.d.ts +3 -0
  1644. package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -0
  1645. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +54 -0
  1646. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -0
  1647. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +34 -0
  1648. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  1649. package/lib/typescript/module/ui/navigation/routes.d.ts +20 -0
  1650. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -0
  1651. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +16 -0
  1652. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
  1653. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +75 -0
  1654. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -0
  1655. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +194 -0
  1656. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -0
  1657. package/lib/typescript/module/ui/navigation/surfaces.d.ts +110 -0
  1658. package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -0
  1659. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +56 -0
  1660. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -0
  1661. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +49 -0
  1662. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +1 -0
  1663. package/lib/typescript/module/ui/oauth/explicitOAuthConsent.d.ts +59 -0
  1664. package/lib/typescript/module/ui/oauth/explicitOAuthConsent.d.ts.map +1 -0
  1665. package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts +40 -0
  1666. package/lib/typescript/module/ui/oauth/legacyRedirectLanes.d.ts.map +1 -0
  1667. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +50 -0
  1668. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -0
  1669. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +83 -0
  1670. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -0
  1671. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +67 -0
  1672. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
  1673. package/lib/typescript/module/ui/oauth/types.d.ts +176 -0
  1674. package/lib/typescript/module/ui/oauth/types.d.ts.map +1 -0
  1675. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts +144 -0
  1676. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -0
  1677. package/lib/typescript/module/ui/runtime/index.d.ts +16 -0
  1678. package/lib/typescript/module/ui/runtime/index.d.ts.map +1 -0
  1679. package/lib/typescript/module/ui/runtime/runtimeContext.d.ts +43 -0
  1680. package/lib/typescript/module/ui/runtime/runtimeContext.d.ts.map +1 -0
  1681. package/lib/typescript/module/ui/runtime/types.d.ts +89 -0
  1682. package/lib/typescript/module/ui/runtime/types.d.ts.map +1 -0
  1683. package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts +23 -0
  1684. package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts.map +1 -0
  1685. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +10 -0
  1686. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -0
  1687. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +12 -0
  1688. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  1689. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +5 -0
  1690. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  1691. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +5 -0
  1692. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -0
  1693. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +58 -0
  1694. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
  1695. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +38 -0
  1696. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
  1697. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +5 -0
  1698. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
  1699. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +11 -0
  1700. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -0
  1701. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  1702. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  1703. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +14 -0
  1704. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -0
  1705. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +5 -0
  1706. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -0
  1707. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +5 -0
  1708. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -0
  1709. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +5 -0
  1710. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -0
  1711. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +12 -0
  1712. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -0
  1713. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +12 -0
  1714. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -0
  1715. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +5 -0
  1716. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  1717. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +5 -0
  1718. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  1719. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +7 -0
  1720. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  1721. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
  1722. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
  1723. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +5 -0
  1724. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  1725. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +13 -0
  1726. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -0
  1727. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +5 -0
  1728. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -0
  1729. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +15 -0
  1730. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  1731. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +5 -0
  1732. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -0
  1733. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  1734. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  1735. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +5 -0
  1736. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  1737. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +9 -0
  1738. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -0
  1739. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +5 -0
  1740. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  1741. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +5 -0
  1742. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  1743. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +15 -0
  1744. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -0
  1745. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +18 -0
  1746. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -0
  1747. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
  1748. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  1749. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
  1750. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
  1751. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +40 -0
  1752. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
  1753. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
  1754. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
  1755. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +25 -0
  1756. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
  1757. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
  1758. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
  1759. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
  1760. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
  1761. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +38 -0
  1762. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
  1763. package/lib/typescript/module/ui/screens/index.d.ts +18 -0
  1764. package/lib/typescript/module/ui/screens/index.d.ts.map +1 -0
  1765. package/lib/typescript/module/ui/screens/linkFormat.d.ts +23 -0
  1766. package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -0
  1767. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
  1768. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
  1769. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
  1770. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
  1771. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
  1772. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
  1773. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
  1774. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
  1775. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
  1776. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
  1777. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
  1778. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
  1779. package/lib/typescript/module/ui/server.d.ts +35 -0
  1780. package/lib/typescript/module/ui/server.d.ts.map +1 -0
  1781. package/lib/typescript/module/ui/session/authStore.d.ts +76 -0
  1782. package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -0
  1783. package/lib/typescript/module/ui/session/backgroundSession.d.ts +42 -0
  1784. package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +1 -0
  1785. package/lib/typescript/module/ui/session/createSessionClient.d.ts +40 -0
  1786. package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -0
  1787. package/lib/typescript/module/ui/session/identityBinding.d.ts +66 -0
  1788. package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -0
  1789. package/lib/typescript/module/ui/session/index.d.ts +20 -0
  1790. package/lib/typescript/module/ui/session/index.d.ts.map +1 -0
  1791. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +25 -0
  1792. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +1 -0
  1793. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts +32 -0
  1794. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -0
  1795. package/lib/typescript/module/ui/session/tokenTransport.d.ts +33 -0
  1796. package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -0
  1797. package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts +23 -0
  1798. package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts.map +1 -0
  1799. package/lib/typescript/module/ui/stores/assetStore.d.ts +54 -0
  1800. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -0
  1801. package/lib/typescript/module/ui/stores/authStore.d.ts +61 -0
  1802. package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -0
  1803. package/lib/typescript/module/ui/stores/followStore.d.ts +30 -0
  1804. package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -0
  1805. package/lib/typescript/module/ui/stores/followTargetStore.d.ts +84 -0
  1806. package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +1 -0
  1807. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +10 -0
  1808. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
  1809. package/lib/typescript/module/ui/types/fileManagement.d.ts +51 -0
  1810. package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -0
  1811. package/lib/typescript/module/ui/types/navigation.d.ts +156 -0
  1812. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -0
  1813. package/lib/typescript/module/ui/types/surfaceScreen.d.ts +38 -0
  1814. package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +1 -0
  1815. package/lib/typescript/module/ui/utils/avatarUtils.d.ts +16 -0
  1816. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -0
  1817. package/lib/typescript/module/ui/utils/colorUtils.d.ts +10 -0
  1818. package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +1 -0
  1819. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +24 -0
  1820. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +1 -0
  1821. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +33 -0
  1822. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +1 -0
  1823. package/lib/typescript/module/ui/utils/deviceCredential.d.ts +8 -0
  1824. package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -0
  1825. package/lib/typescript/module/ui/utils/errorHandlers.d.ts +35 -0
  1826. package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -0
  1827. package/lib/typescript/module/ui/utils/fileManagement.d.ts +55 -0
  1828. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -0
  1829. package/lib/typescript/module/ui/utils/iconNames.d.ts +112 -0
  1830. package/lib/typescript/module/ui/utils/iconNames.d.ts.map +1 -0
  1831. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +9 -0
  1832. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +1 -0
  1833. package/lib/typescript/module/ui/utils/netConnectivity.d.ts +17 -0
  1834. package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +1 -0
  1835. package/lib/typescript/module/ui/utils/oauthReturn.d.ts +48 -0
  1836. package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
  1837. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +48 -0
  1838. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -0
  1839. package/lib/typescript/module/ui/utils/storageHelpers.d.ts +32 -0
  1840. package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -0
  1841. package/lib/typescript/module/ui/utils/userUtils.d.ts +23 -0
  1842. package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -0
  1843. package/lib/typescript/module/utils/hookUtils.d.ts +102 -0
  1844. package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -0
  1845. package/lib/typescript/module/webauthn/passkeyClient.d.ts +20 -0
  1846. package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +1 -0
  1847. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +15 -0
  1848. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +1 -0
  1849. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +36 -0
  1850. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +1 -0
  1851. package/lib/typescript/nativewind-env.d.ts +1 -0
  1852. package/lib/typescript/types/assets.d.ts +4 -0
  1853. package/lib/typescript/types/expo-crypto.d.ts +29 -0
  1854. package/lib/typescript/types/expo-document-picker.d.ts +36 -0
  1855. package/lib/typescript/types/expo-haptics.d.ts +42 -0
  1856. package/lib/typescript/types/expo-image-picker.d.ts +35 -0
  1857. package/lib/typescript/types/expo-secure-store.d.ts +22 -0
  1858. package/lib/typescript/types/express.d.ts +24 -0
  1859. package/lib/typescript/types/react-native-classname.d.ts +39 -0
  1860. package/lib/typescript/types/react-native-web-style.d.ts +27 -0
  1861. package/package.json +320 -0
  1862. package/plugins/withSharedDeviceSessionProvider.js +102 -0
  1863. package/plugins/withSharedDeviceSessionReader.js +57 -0
  1864. package/plugins/withSharedIdentityProvider.js +83 -0
  1865. package/plugins/withSharedIdentityReader.js +46 -0
  1866. package/src/__tests__/esmSourcePurity.test.ts +61 -0
  1867. package/src/assets/OxyLogo.svg +1 -0
  1868. package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  1869. package/src/assets/fonts/icons/OxyServicesIonicons.ttf.d.ts +3 -0
  1870. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  1871. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf.d.ts +3 -0
  1872. package/src/assets/fonts/icons/manifest.json +375 -0
  1873. package/src/assets/icons/OxyServices.tsx +60 -0
  1874. package/src/assets/icons/logo_OxyServices.svg +1 -0
  1875. package/src/assets/illustrations/HighFive.tsx +39 -0
  1876. package/src/assets/lottie/welcomeheader_background_op1.json +1 -0
  1877. package/src/index.ts +410 -0
  1878. package/src/nativewind-env.d.ts +1 -0
  1879. package/src/notifications/deviceNotifications.ts +477 -0
  1880. package/src/types/assets.d.ts +4 -0
  1881. package/src/types/expo-crypto.d.ts +29 -0
  1882. package/src/types/expo-document-picker.d.ts +36 -0
  1883. package/src/types/expo-haptics.d.ts +42 -0
  1884. package/src/types/expo-image-picker.d.ts +35 -0
  1885. package/src/types/expo-secure-store.d.ts +22 -0
  1886. package/src/types/express.d.ts +24 -0
  1887. package/src/types/react-native-classname.d.ts +39 -0
  1888. package/src/types/react-native-web-style.d.ts +27 -0
  1889. package/src/ui/analytics/productAnalytics.tsx +114 -0
  1890. package/src/ui/boot/__tests__/coldBootNoIdpRedirect.test.ts +215 -0
  1891. package/src/ui/boot/runProviderColdBoot.ts +244 -0
  1892. package/src/ui/client.ts +46 -0
  1893. package/src/ui/components/AvatarCameraBadge.tsx +36 -0
  1894. package/src/ui/components/FollowButton.tsx +312 -0
  1895. package/src/ui/components/FollowTargetButton.tsx +427 -0
  1896. package/src/ui/components/KeyboardBoundary.native.tsx +7 -0
  1897. package/src/ui/components/KeyboardBoundary.tsx +4 -0
  1898. package/src/ui/components/KeyboardBoundary.web.tsx +4 -0
  1899. package/src/ui/components/OxyAccountDialogScreen.tsx +181 -0
  1900. package/src/ui/components/OxyAuthChooser.tsx +554 -0
  1901. package/src/ui/components/OxyAuthPrompt.tsx +162 -0
  1902. package/src/ui/components/OxyConsentScreen.tsx +504 -0
  1903. package/src/ui/components/OxyOAuthCallback.tsx +38 -0
  1904. package/src/ui/components/OxyPayButton.tsx +74 -0
  1905. package/src/ui/components/OxyProvider.tsx +255 -0
  1906. package/src/ui/components/OxySignInButton.tsx +423 -0
  1907. package/src/ui/components/OxySignInRequestSurface.tsx +202 -0
  1908. package/src/ui/components/ProfileButton.tsx +400 -0
  1909. package/src/ui/components/ProfileSummaryCard.tsx +100 -0
  1910. package/src/ui/components/RequireOxyAuth.tsx +266 -0
  1911. package/src/ui/components/SettingsIcon.tsx +44 -0
  1912. package/src/ui/components/SurfaceHeaderAction.tsx +60 -0
  1913. package/src/ui/components/SurfaceScreen.tsx +284 -0
  1914. package/src/ui/components/__tests__/OxyConsentScreen.test.tsx +155 -0
  1915. package/src/ui/components/__tests__/followTargetButton.test.ts +258 -0
  1916. package/src/ui/components/authChooser/AccountsMenuView.tsx +733 -0
  1917. package/src/ui/components/authChooser/SignInEntryView.tsx +144 -0
  1918. package/src/ui/components/authChooser/SignInRequestView.tsx +130 -0
  1919. package/src/ui/components/authChooser/SignUpView.tsx +174 -0
  1920. package/src/ui/components/authChooser/TroubleDisclosure.tsx +88 -0
  1921. package/src/ui/components/authChooser/primitives.tsx +158 -0
  1922. package/src/ui/components/authChooser/requestSurfaces.tsx +128 -0
  1923. package/src/ui/components/authChooser/signInProgress.ts +58 -0
  1924. package/src/ui/components/authChooser/styles.ts +213 -0
  1925. package/src/ui/components/authChooser/types.ts +159 -0
  1926. package/src/ui/components/authChooser/useUsernameAvailability.ts +60 -0
  1927. package/src/ui/components/feedback/constants.ts +22 -0
  1928. package/src/ui/components/feedback/types.ts +52 -0
  1929. package/src/ui/components/feedback/useFeedbackForm.ts +44 -0
  1930. package/src/ui/components/fileManagement/AnimatedButton.tsx +64 -0
  1931. package/src/ui/components/fileManagement/FileDetailsModal.tsx +129 -0
  1932. package/src/ui/components/fileManagement/FileViewer.tsx +412 -0
  1933. package/src/ui/components/fileManagement/UploadPreview.tsx +175 -0
  1934. package/src/ui/components/icon/FAIRWalletIcon.tsx +49 -0
  1935. package/src/ui/components/internal/PinInput.tsx +123 -0
  1936. package/src/ui/components/logo/LogoIcon.tsx +71 -0
  1937. package/src/ui/components/logo/LogoText.tsx +71 -0
  1938. package/src/ui/components/modals/DeleteAccountModal.tsx +131 -0
  1939. package/src/ui/components/oauthNavigation.ts +114 -0
  1940. package/src/ui/components/passkeyHubPopup.ts +28 -0
  1941. package/src/ui/components/payment/PaymentDetailsStep.tsx +232 -0
  1942. package/src/ui/components/payment/PaymentMethodStep.tsx +90 -0
  1943. package/src/ui/components/payment/PaymentReviewStep.tsx +125 -0
  1944. package/src/ui/components/payment/PaymentSuccessStep.tsx +66 -0
  1945. package/src/ui/components/payment/PaymentSummaryStep.tsx +158 -0
  1946. package/src/ui/components/payment/constants.ts +39 -0
  1947. package/src/ui/components/payment/paymentStyles.ts +389 -0
  1948. package/src/ui/components/payment/types.ts +45 -0
  1949. package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +232 -0
  1950. package/src/ui/components/photogrid/__tests__/chunkPhotos.test.ts +51 -0
  1951. package/src/ui/components/styles/overlay.tsx +97 -0
  1952. package/src/ui/components/styles/shadow.tsx +131 -0
  1953. package/src/ui/components/surfaces/ActionSheetSurface.tsx +98 -0
  1954. package/src/ui/components/utils/hasTouchHandler.tsx +23 -0
  1955. package/src/ui/components/utils/roundLayoutSize.ts +2 -0
  1956. package/src/ui/components/utils/splitStyles.ts +60 -0
  1957. package/src/ui/constants/spacing.ts +45 -0
  1958. package/src/ui/context/OxyContext.tsx +1449 -0
  1959. package/src/ui/context/__tests__/commitSessionFlow.test.ts +333 -0
  1960. package/src/ui/context/__tests__/passkeyFlow.test.ts +244 -0
  1961. package/src/ui/context/commitSessionFlow.ts +193 -0
  1962. package/src/ui/context/hooks/useAuthOperations.ts +425 -0
  1963. package/src/ui/context/oxyContextHelpers.ts +28 -0
  1964. package/src/ui/context/oxyContextTypes.ts +239 -0
  1965. package/src/ui/context/passkeyFlow.ts +154 -0
  1966. package/src/ui/context/useOxyAccountGraph.ts +123 -0
  1967. package/src/ui/hooks/accountDialogSnapshot.ts +37 -0
  1968. package/src/ui/hooks/mutations/mutationFactory.ts +230 -0
  1969. package/src/ui/hooks/mutations/mutationKeys.ts +39 -0
  1970. package/src/ui/hooks/mutations/useAccountMutations.ts +686 -0
  1971. package/src/ui/hooks/mutations/useServicesMutations.ts +170 -0
  1972. package/src/ui/hooks/queries/__tests__/userCache.test.ts +427 -0
  1973. package/src/ui/hooks/queries/__tests__/userCacheClear.test.ts +301 -0
  1974. package/src/ui/hooks/queries/paymentTypes.ts +142 -0
  1975. package/src/ui/hooks/queries/queryKeys.ts +221 -0
  1976. package/src/ui/hooks/queries/useAccountQueries.ts +307 -0
  1977. package/src/ui/hooks/queries/useAuthMethods.ts +45 -0
  1978. package/src/ui/hooks/queries/useFileQueries.ts +162 -0
  1979. package/src/ui/hooks/queries/usePaymentQueries.ts +137 -0
  1980. package/src/ui/hooks/queries/useSecurityQueries.ts +104 -0
  1981. package/src/ui/hooks/queries/useServicesQueries.ts +157 -0
  1982. package/src/ui/hooks/queries/userCache.ts +530 -0
  1983. package/src/ui/hooks/queries/userCacheRelationship.ts +33 -0
  1984. package/src/ui/hooks/queryClient.ts +244 -0
  1985. package/src/ui/hooks/useAssets.ts +270 -0
  1986. package/src/ui/hooks/useAsyncAction.ts +129 -0
  1987. package/src/ui/hooks/useAuth.ts +246 -0
  1988. package/src/ui/hooks/useAvatarPicker.ts +138 -0
  1989. package/src/ui/hooks/useDeviceManagement.ts +108 -0
  1990. package/src/ui/hooks/useDeviceSwitcher.ts +110 -0
  1991. package/src/ui/hooks/useFileDownloadUrl.ts +87 -0
  1992. package/src/ui/hooks/useFileFiltering.ts +114 -0
  1993. package/src/ui/hooks/useFollow.ts +364 -0
  1994. package/src/ui/hooks/useFollow.types.ts +36 -0
  1995. package/src/ui/hooks/useFollowTarget.ts +223 -0
  1996. package/src/ui/hooks/useI18n.ts +32 -0
  1997. package/src/ui/hooks/useLanguageManagement.ts +254 -0
  1998. package/src/ui/hooks/useMutationStatus.ts +111 -0
  1999. package/src/ui/hooks/useOnlineStatus.ts +30 -0
  2000. package/src/ui/hooks/useOxyEvent.ts +22 -0
  2001. package/src/ui/hooks/useProfileEditing.ts +168 -0
  2002. package/src/ui/hooks/useQueryClient.ts +17 -0
  2003. package/src/ui/hooks/useReduceMotion.ts +58 -0
  2004. package/src/ui/hooks/useResolvedFileUrls.ts +170 -0
  2005. package/src/ui/hooks/useSessionManagement.ts +228 -0
  2006. package/src/ui/hooks/useSettingToggle.ts +151 -0
  2007. package/src/ui/hooks/useStorage.ts +52 -0
  2008. package/src/ui/hooks/useSurfaceHeader.ts +194 -0
  2009. package/src/ui/icons/Ionicons.ts +11 -0
  2010. package/src/ui/icons/MaterialCommunityIcons.ts +11 -0
  2011. package/src/ui/icons/subsetGlyphMaps.ts +356 -0
  2012. package/src/ui/index.ts +52 -0
  2013. package/src/ui/isFrontend.ts +5 -0
  2014. package/src/ui/navigation/__tests__/getSurfaceConfig.test.ts +101 -0
  2015. package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +181 -0
  2016. package/src/ui/navigation/accountDialogManager.ts +114 -0
  2017. package/src/ui/navigation/bottomSheetManager.ts +60 -0
  2018. package/src/ui/navigation/routes.ts +140 -0
  2019. package/src/ui/navigation/surfaceBackBridge.ts +69 -0
  2020. package/src/ui/navigation/surfaceNavStack.ts +177 -0
  2021. package/src/ui/navigation/surfaceRegistry.ts +286 -0
  2022. package/src/ui/navigation/surfaces.ts +356 -0
  2023. package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +335 -0
  2024. package/src/ui/oauth/__tests__/completeOAuthCode.test.ts +142 -0
  2025. package/src/ui/oauth/__tests__/explicitOAuthConsent.test.ts +258 -0
  2026. package/src/ui/oauth/__tests__/oauthPopup.test.ts +352 -0
  2027. package/src/ui/oauth/__tests__/oauthPopupMessages.test.ts +189 -0
  2028. package/src/ui/oauth/__tests__/sharedCompletionPath.test.ts +174 -0
  2029. package/src/ui/oauth/browserAuthTransport.ts +193 -0
  2030. package/src/ui/oauth/completeOAuthCode.ts +93 -0
  2031. package/src/ui/oauth/explicitOAuthConsent.ts +272 -0
  2032. package/src/ui/oauth/legacyRedirectLanes.ts +43 -0
  2033. package/src/ui/oauth/oauthHandshake.ts +74 -0
  2034. package/src/ui/oauth/oauthPopup.ts +277 -0
  2035. package/src/ui/oauth/oauthPopupMessages.ts +145 -0
  2036. package/src/ui/oauth/types.ts +150 -0
  2037. package/src/ui/runtime/createOxyRuntime.ts +623 -0
  2038. package/src/ui/runtime/index.ts +34 -0
  2039. package/src/ui/runtime/runtimeContext.tsx +111 -0
  2040. package/src/ui/runtime/types.ts +110 -0
  2041. package/src/ui/runtime/useRuntimeSnapshot.ts +52 -0
  2042. package/src/ui/screens/AccountMembersScreen.tsx +477 -0
  2043. package/src/ui/screens/AccountSettingsScreen.tsx +278 -0
  2044. package/src/ui/screens/AccountVerificationScreen.tsx +186 -0
  2045. package/src/ui/screens/AppInfoScreen.tsx +354 -0
  2046. package/src/ui/screens/AvatarCropScreen.tsx +1169 -0
  2047. package/src/ui/screens/ChangeAvatarScreen.tsx +369 -0
  2048. package/src/ui/screens/ConnectedAppsScreen.tsx +181 -0
  2049. package/src/ui/screens/CreateAccountScreen.tsx +490 -0
  2050. package/src/ui/screens/EditProfileFieldScreen.tsx +607 -0
  2051. package/src/ui/screens/EditProfileScreen.tsx +143 -0
  2052. package/src/ui/screens/FAQScreen.tsx +200 -0
  2053. package/src/ui/screens/FeedbackScreen.tsx +766 -0
  2054. package/src/ui/screens/FileManagementScreen.tsx +1422 -0
  2055. package/src/ui/screens/FollowersListScreen.tsx +17 -0
  2056. package/src/ui/screens/FollowingListScreen.tsx +17 -0
  2057. package/src/ui/screens/HelpSupportScreen.tsx +111 -0
  2058. package/src/ui/screens/HistoryViewScreen.tsx +128 -0
  2059. package/src/ui/screens/LanguageSelectorScreen.tsx +264 -0
  2060. package/src/ui/screens/LearnMoreUsernamesScreen.tsx +144 -0
  2061. package/src/ui/screens/LegalDocumentsScreen.tsx +234 -0
  2062. package/src/ui/screens/ManageAccountScreen.tsx +943 -0
  2063. package/src/ui/screens/NotificationsScreen.tsx +184 -0
  2064. package/src/ui/screens/PaymentGatewayScreen.tsx +297 -0
  2065. package/src/ui/screens/PreferencesScreen.tsx +235 -0
  2066. package/src/ui/screens/PremiumSubscriptionScreen.tsx +1103 -0
  2067. package/src/ui/screens/PrivacySettingsScreen.tsx +422 -0
  2068. package/src/ui/screens/ProfileScreen.tsx +375 -0
  2069. package/src/ui/screens/SavesCollectionsScreen.tsx +167 -0
  2070. package/src/ui/screens/SearchSettingsScreen.tsx +142 -0
  2071. package/src/ui/screens/UserLinksScreen.tsx +63 -0
  2072. package/src/ui/screens/UserListScreen.tsx +330 -0
  2073. package/src/ui/screens/WelcomeNewUserScreen.tsx +380 -0
  2074. package/src/ui/screens/__tests__/linkFormat.test.ts +73 -0
  2075. package/src/ui/screens/__tests__/photoGridLayout.test.ts +57 -0
  2076. package/src/ui/screens/fileManagement/FileLibraryError.tsx +56 -0
  2077. package/src/ui/screens/fileManagement/FileListSection.tsx +127 -0
  2078. package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +634 -0
  2079. package/src/ui/screens/fileManagement/UploadBar.tsx +70 -0
  2080. package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +565 -0
  2081. package/src/ui/screens/fileManagement/photoGridLayout.ts +45 -0
  2082. package/src/ui/screens/fileManagement/shared.ts +88 -0
  2083. package/src/ui/screens/index.ts +17 -0
  2084. package/src/ui/screens/linkFormat.ts +37 -0
  2085. package/src/ui/screens/trust/TrustAboutScreen.tsx +70 -0
  2086. package/src/ui/screens/trust/TrustCenterScreen.tsx +253 -0
  2087. package/src/ui/screens/trust/TrustFAQScreen.tsx +101 -0
  2088. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +222 -0
  2089. package/src/ui/screens/trust/TrustRewardsScreen.tsx +579 -0
  2090. package/src/ui/screens/trust/TrustRulesScreen.tsx +113 -0
  2091. package/src/ui/server.ts +58 -0
  2092. package/src/ui/session/__tests__/authStore.test.ts +90 -0
  2093. package/src/ui/session/__tests__/backgroundSession.test.ts +392 -0
  2094. package/src/ui/session/__tests__/createSessionClient.test.ts +111 -0
  2095. package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +289 -0
  2096. package/src/ui/session/__tests__/tokenTransport.test.ts +163 -0
  2097. package/src/ui/session/authStore.ts +106 -0
  2098. package/src/ui/session/backgroundSession.ts +313 -0
  2099. package/src/ui/session/createSessionClient.ts +59 -0
  2100. package/src/ui/session/identityBinding.ts +116 -0
  2101. package/src/ui/session/index.ts +25 -0
  2102. package/src/ui/session/nativeSecureStorage.ts +98 -0
  2103. package/src/ui/session/sharedDeviceCredentialStore.ts +318 -0
  2104. package/src/ui/session/tokenTransport.ts +70 -0
  2105. package/src/ui/session/useBackgroundSessionSync.ts +92 -0
  2106. package/src/ui/stores/__tests__/followStore.test.ts +181 -0
  2107. package/src/ui/stores/__tests__/resetSessionScopedStores.test.ts +23 -0
  2108. package/src/ui/stores/assetStore.ts +281 -0
  2109. package/src/ui/stores/authStore.ts +191 -0
  2110. package/src/ui/stores/followStore.ts +446 -0
  2111. package/src/ui/stores/followTargetStore.ts +153 -0
  2112. package/src/ui/stores/resetSessionScopedStores.ts +15 -0
  2113. package/src/ui/types/fileManagement.ts +61 -0
  2114. package/src/ui/types/navigation.ts +175 -0
  2115. package/src/ui/types/surfaceScreen.ts +38 -0
  2116. package/src/ui/utils/avatarUtils.ts +56 -0
  2117. package/src/ui/utils/colorUtils.ts +18 -0
  2118. package/src/ui/utils/commonsStoreLinks.ts +38 -0
  2119. package/src/ui/utils/deliveryPlatform.ts +65 -0
  2120. package/src/ui/utils/deviceCredential.ts +17 -0
  2121. package/src/ui/utils/errorHandlers.ts +202 -0
  2122. package/src/ui/utils/fileManagement.ts +170 -0
  2123. package/src/ui/utils/iconNames.ts +136 -0
  2124. package/src/ui/utils/isWebBrowser.ts +8 -0
  2125. package/src/ui/utils/netConnectivity.ts +27 -0
  2126. package/src/ui/utils/oauthReturn.ts +138 -0
  2127. package/src/ui/utils/sessionHelpers.ts +88 -0
  2128. package/src/ui/utils/storageHelpers.ts +129 -0
  2129. package/src/ui/utils/userUtils.ts +69 -0
  2130. package/src/utils/hookUtils.ts +423 -0
  2131. package/src/webauthn/passkeyClient.native.ts +26 -0
  2132. package/src/webauthn/passkeyClient.ts +31 -0
  2133. package/src/webauthn/passkeyClient.web.ts +56 -0
@@ -0,0 +1,1239 @@
1
+ "use strict";
2
+
3
+ import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
4
+ import { Linking, Platform } from 'react-native';
5
+ import { OxyServices, oxyClient } from '@oxy.so/core';
6
+ import { KeyManager, establishIdentitySession, installAuthRefreshHandler, startTokenRefreshScheduler, createAccountDialogController, logger as loggerUtil } from '@oxy.so/core';
7
+ import { registerAccountDialogControls, notifyAccountDialogVisibility } from "../navigation/accountDialogManager.js";
8
+ import { redirectToAuthorize } from "../components/oauthNavigation.js";
9
+ import { openPasskeyHubPopup } from "../components/passkeyHubPopup.js";
10
+ import { startWebOAuthSignIn } from "../oauth/browserAuthTransport.js";
11
+ import { requestOAuthConsent } from "../oauth/explicitOAuthConsent.js";
12
+ import { isWebBrowser } from "../utils/isWebBrowser.js";
13
+ import { resolveDeliveryPlatform } from "../utils/deliveryPlatform.js";
14
+ import { runProviderColdBoot } from "../boot/runProviderColdBoot.js";
15
+ import { loadPersistedDeviceCredential } from "../utils/deviceCredential.js";
16
+ import { bindAuthStoreToRuntime } from "../stores/authStore.js";
17
+ import { useLanguageManagement } from "../hooks/useLanguageManagement.js";
18
+ import { useSessionManagement } from "../hooks/useSessionManagement.js";
19
+ import { useAuthOperations, clearPersistedAuthSafe } from "./hooks/useAuthOperations.js";
20
+ import { useDeviceManagement } from "../hooks/useDeviceManagement.js";
21
+ import { getStorageKeys, createPlatformStorage } from "../utils/storageHelpers.js";
22
+ import { showBottomSheet as globalShowBottomSheet } from "../navigation/bottomSheetManager.js";
23
+ import { presentDetached, topRouteSurface } from "../navigation/surfaces.js";
24
+ import { useQueryClient, onlineManager } from '@tanstack/react-query';
25
+ import { clearQueryCache } from "../hooks/queryClient.js";
26
+ import { useAvatarPicker } from "../hooks/useAvatarPicker.js";
27
+ import { resetSessionScopedStores } from "../stores/resetSessionScopedStores.js";
28
+ import { ASSET_DOWNLOAD_URLS_QUERY_KEY } from "../hooks/useResolvedFileUrls.js";
29
+ import { createOxyRuntime, OxyRuntimeHandleProvider, useRuntimeSnapshot } from "../runtime/index.js";
30
+ import { createSessionClient, createIdentitySessionBinding, createPlatformAuthStateStore, IdentityBoundSessionError, useBackgroundSessionSync } from "../session/index.js";
31
+ import { DEFAULT_SESSION_VALIDITY_MS } from "./oxyContextHelpers.js";
32
+ // `useFollow` imports this module back, so the binding must only be READ inside
33
+ // the provider body — at render time, once every module has evaluated. It is
34
+ // never dereferenced at module scope here.
35
+ import { useFollow } from "../hooks/useFollow.js";
36
+ import { commitDeviceSetAndResolve } from "./commitSessionFlow.js";
37
+ import { runPasskeyLogin, runPasskeyRegister, runPasskeyAdd } from "./passkeyFlow.js";
38
+ import { isPasskeySupported, runRegistrationCeremony, runAuthenticationCeremony } from '../../webauthn/passkeyClient';
39
+ import { queryKeys } from "../hooks/queries/queryKeys.js";
40
+ import { useOxyAccountGraph } from "./useOxyAccountGraph.js";
41
+ import { jsx as _jsx } from "react/jsx-runtime";
42
+ const OxyRuntimeContext = /*#__PURE__*/createContext(null);
43
+ const OxyAuthActionsContext = /*#__PURE__*/createContext(null);
44
+
45
+ /**
46
+ * The SDK's internal runtime provider — the session/account state machine that
47
+ * backs `useOxy()`.
48
+ *
49
+ * This is NOT the component consumers mount. The one public composition root is
50
+ * `OxyProvider` (`../components/OxyProvider`), which mounts this alongside the
51
+ * QueryClient, Bloom's dialog/surface/toast hosts, safe areas, the gesture root
52
+ * and the keyboard provider. Naming both of them `OxyProvider` (as this file
53
+ * used to) made every error message, stack frame and doc reference ambiguous —
54
+ * see ADR 0004.
55
+ */
56
+ export const OxyRuntimeProvider = ({
57
+ children,
58
+ oxyServices: providedOxyServices,
59
+ baseURL,
60
+ authWebUrl,
61
+ authRedirectUri,
62
+ authorizeBaseUrl,
63
+ storageKeyPrefix = 'oxy_session',
64
+ clientId: clientIdProp,
65
+ sessionMode = 'account',
66
+ webAuthMode = 'popup',
67
+ backgroundSession = false,
68
+ deviceCredentialStorage = 'persistent',
69
+ platformStorage,
70
+ onAuthStateChange,
71
+ onError
72
+ }) => {
73
+ const oxyServicesRef = useRef(null);
74
+ if (!oxyServicesRef.current) {
75
+ if (providedOxyServices) {
76
+ oxyServicesRef.current = providedOxyServices;
77
+ } else if (baseURL) {
78
+ // `authWebUrl` now only points the OAuth "Sign in with Oxy" third-party
79
+ // link builder at the central auth host; there is no cold-boot redirect.
80
+ oxyServicesRef.current = new OxyServices({
81
+ baseURL,
82
+ authWebUrl,
83
+ authRedirectUri
84
+ });
85
+ } else {
86
+ throw new Error('Either oxyServices or baseURL must be provided to OxyProvider');
87
+ }
88
+ }
89
+ const oxyServices = oxyServicesRef.current;
90
+
91
+ // The device-first persisted auth-state store (per-origin device credential on
92
+ // web; SecureStore session blob on native). Built ONCE per provider mount.
93
+ //
94
+ // `deviceCredentialStorage` is mount-time configuration for the same reason
95
+ // `sessionMode` is: it decides where the durable credential lives, and letting
96
+ // it change mid-flight would mean a session that started ephemeral could begin
97
+ // writing one.
98
+ const authStoreRef = useRef(null);
99
+ if (!authStoreRef.current) {
100
+ authStoreRef.current = createPlatformAuthStateStore({
101
+ sessionMode,
102
+ storage: deviceCredentialStorage
103
+ });
104
+ }
105
+ const authStore = authStoreRef.current;
106
+
107
+ // Identity-bound session binding (`sessionMode: 'identity'`) — the platform pin
108
+ // store plus the memoised pinned account id every lane below binds to. Built
109
+ // ONCE per provider mount and ONLY in identity mode: an account-mode provider
110
+ // never constructs one, so `identity` is `null` there and every branch keyed on
111
+ // it collapses to today's behaviour.
112
+ //
113
+ // Like `oxyServices` / `baseURL`, `sessionMode` is mount-time configuration: it
114
+ // is read once and a later change does not re-bind the provider. Latching it
115
+ // this way also fails SAFE — a provider that started identity-bound can never
116
+ // be downgraded mid-flight into following the device's active account.
117
+ const identityRef = useRef(null);
118
+ if (sessionMode === 'identity' && !identityRef.current) {
119
+ identityRef.current = createIdentitySessionBinding();
120
+ }
121
+ const identity = identityRef.current;
122
+ const isIdentityBound = identity !== null;
123
+ const logger = useCallback((message, err) => {
124
+ if (__DEV__) {
125
+ loggerUtil.warn(message, {
126
+ component: 'OxyContext'
127
+ }, err);
128
+ }
129
+ }, []);
130
+
131
+ // Server-authoritative device session client. Built ONCE per `oxyServices`
132
+ // instance. Device-scoped sockets connect with deviceId+deviceSecret when no
133
+ // bearer is planted yet, so cross-origin apps sync via `session_state`.
134
+ const sessionClientPairRef = useRef(null);
135
+ if (!sessionClientPairRef.current) {
136
+ sessionClientPairRef.current = createSessionClient(oxyServices, origin => {
137
+ // Erase the DURABLE device credential only on a `request`-origin verdict
138
+ // (a REST sign-out / revocation). A `push`-origin empty state is a socket
139
+ // broadcast that may be a transient reconnect artifact — clearing the
140
+ // credential on it would strand the user signed out with no way back, so
141
+ // we clear only the local UI session and keep the credential (a dead one
142
+ // re-mints to `no_active_session` and resolves signed-out on next boot).
143
+ if (origin === 'request') {
144
+ clearPersistedAuthSafe(authStore, logger);
145
+ }
146
+ void clearSessionStateRef.current().catch(clearError => {
147
+ logger('Failed to clear local state on remote sign-out', clearError);
148
+ });
149
+ },
150
+ // `null` for every account-mode provider — identical to omitting the
151
+ // option — and the pinned account id once an identity-bound provider has
152
+ // resolved its pin. Read through the ref so the resolver stays stable for
153
+ // the client's lifetime while still seeing later resolutions.
154
+ () => identityRef.current?.getPinnedAccountId() ?? null);
155
+ }
156
+ const {
157
+ client: sessionClient,
158
+ host: sessionClientHost
159
+ } = sessionClientPairRef.current;
160
+
161
+ // ── The runtime ──────────────────────────────────────────────────────────
162
+ // One owner for the session facts (ADR 0004), built ONCE and never rebuilt,
163
+ // so the context value below can hand out a reference that never changes.
164
+ //
165
+ // Its three callbacks reach forward through refs because the collaborators
166
+ // they need — the storage-backed teardown, the account-graph refresh — are
167
+ // hooks declared after it. Latching the runtime here rather than after them
168
+ // is deliberate: a runtime rebuilt mid-flight would drop its `SessionClient`
169
+ // subscription and every subscriber with it.
170
+ const clearSessionStateRef = useRef(() => Promise.resolve());
171
+ const saveSessionIdsRef = useRef(() => undefined);
172
+ const subjectChangeRef = useRef(() => undefined);
173
+ const reestablishRef = useRef(() => undefined);
174
+ const runtimeRef = useRef(null);
175
+ if (!runtimeRef.current) {
176
+ runtimeRef.current = createOxyRuntime({
177
+ oxyServices,
178
+ sessionClient,
179
+ sessionClientHost,
180
+ identity,
181
+ onSubjectChange: transition => subjectChangeRef.current(transition),
182
+ onDeviceEmpty: () => clearSessionStateRef.current(),
183
+ onSessionsProjected: sessionIds => saveSessionIdsRef.current(sessionIds),
184
+ onIdentityUnbound: (binding, revision) => reestablishRef.current(binding, revision),
185
+ logger
186
+ });
187
+ }
188
+ const runtime = runtimeRef.current;
189
+ const snapshot = useRuntimeSnapshot(runtime);
190
+ const {
191
+ account: user,
192
+ sessions,
193
+ activeSessionId,
194
+ isLoading,
195
+ tokenReady,
196
+ hasAccessToken,
197
+ authResolved
198
+ } = snapshot;
199
+ const isAuthenticated = user !== null;
200
+ const error = snapshot.error?.message ?? null;
201
+ const [initialized, setInitialized] = useState(false);
202
+ const [accountDialogOpen, setAccountDialogOpen] = useState(false);
203
+
204
+ // Project the runtime onto `useAuthStore`, which a dozen out-of-band callers
205
+ // (mutation success handlers, cache helpers, the Commons app) still read the
206
+ // signed-in user through. It is a projection, not a second store.
207
+ useEffect(() => bindAuthStoreToRuntime(runtime), [runtime]);
208
+ useEffect(() => runtime.start(), [runtime]);
209
+
210
+ // Keep the shared `oxyClient` singleton's token store in lockstep with the
211
+ // session owned by THIS provider's instance (many apps build API clients
212
+ // against the exported singleton while passing only `baseURL` here). Skipped
213
+ // when the app passed the singleton itself as `oxyServices`.
214
+ useEffect(() => {
215
+ if (oxyServices === oxyClient) {
216
+ return;
217
+ }
218
+ const applyToSingleton = accessToken => {
219
+ if (accessToken) {
220
+ oxyClient.setTokens(accessToken);
221
+ } else {
222
+ oxyClient.clearTokens();
223
+ }
224
+ };
225
+ applyToSingleton(oxyServices.getAccessToken());
226
+ return oxyServices.onTokensChanged(applyToSingleton);
227
+ }, [oxyServices]);
228
+ const storageKeys = useMemo(() => getStorageKeys(storageKeyPrefix), [storageKeyPrefix]);
229
+ const clientId = useMemo(() => {
230
+ const trimmed = clientIdProp?.trim();
231
+ return trimmed ? trimmed : null;
232
+ }, [clientIdProp]);
233
+
234
+ // Local display/bookkeeping storage (session id list, language). Distinct
235
+ // from `authStore` (the durable credential blob). Exposed as an awaitable so
236
+ // a persistence write is never dropped because it raced storage init.
237
+ const storageRef = useRef(null);
238
+ const [storage, setStorage] = useState(null);
239
+ const buildStorageDeferred = () => {
240
+ let resolve = () => undefined;
241
+ const promise = new Promise(res => {
242
+ resolve = res;
243
+ });
244
+ return {
245
+ promise,
246
+ resolve
247
+ };
248
+ };
249
+ const storageReadyRef = useRef(null);
250
+ if (storageReadyRef.current === null) {
251
+ storageReadyRef.current = buildStorageDeferred();
252
+ }
253
+ const storageReady = storageReadyRef.current;
254
+ useEffect(() => {
255
+ // `null` means the public provider owns initialization and has not resolved
256
+ // it yet. `undefined` means this internal provider was mounted directly and
257
+ // must create its own adapter (primarily tests/advanced composition).
258
+ if (platformStorage === null) {
259
+ return;
260
+ }
261
+ let mounted = true;
262
+ const storagePromise = platformStorage ? Promise.resolve(platformStorage) : createPlatformStorage();
263
+ storagePromise.then(storageInstance => {
264
+ storageRef.current = storageInstance;
265
+ storageReady.resolve(storageInstance);
266
+ if (mounted) {
267
+ setStorage(storageInstance);
268
+ runtime.setStorageReady(true);
269
+ }
270
+ }).catch(err => {
271
+ if (mounted) {
272
+ logger('Failed to initialize storage', err);
273
+ onError?.({
274
+ message: 'Failed to initialize storage',
275
+ code: 'STORAGE_INIT_ERROR',
276
+ status: 500
277
+ });
278
+ }
279
+ });
280
+ return () => {
281
+ mounted = false;
282
+ };
283
+ }, [logger, onError, platformStorage, runtime, storageReady]);
284
+ const {
285
+ currentLanguage,
286
+ languages: currentLanguages,
287
+ metadata: currentLanguageMetadata,
288
+ languageName: currentLanguageName,
289
+ nativeLanguageName: currentNativeLanguageName,
290
+ setLanguage
291
+ } = useLanguageManagement({
292
+ storage,
293
+ languageKey: storageKeys.language,
294
+ user,
295
+ onError,
296
+ logger
297
+ });
298
+ const queryClient = useQueryClient();
299
+ const {
300
+ saveSessionIds,
301
+ switchSession,
302
+ clearSessionState,
303
+ saveActiveSessionId
304
+ } = useSessionManagement({
305
+ oxyServices,
306
+ runtime,
307
+ storage,
308
+ storageKeyPrefix,
309
+ onAuthStateChange,
310
+ onError,
311
+ setAuthError: message => runtime.setError(message),
312
+ logger,
313
+ queryClient
314
+ });
315
+ clearSessionStateRef.current = clearSessionState;
316
+ saveSessionIdsRef.current = saveSessionIds;
317
+ const onAuthStateChangeRef = useRef(onAuthStateChange);
318
+ onAuthStateChangeRef.current = onAuthStateChange;
319
+
320
+ // Flip the auth-resolution gate the moment a session commits or the boot
321
+ // concludes signed out. Idempotent + monotonic, enforced by the runtime.
322
+ const markAuthResolved = useCallback(() => {
323
+ runtime.markAuthResolved();
324
+ }, [runtime]);
325
+ const markAuthResolvedRef = useRef(markAuthResolved);
326
+ markAuthResolvedRef.current = markAuthResolved;
327
+ const setTokenReady = useCallback(ready => {
328
+ runtime.setTokenReady(ready);
329
+ }, [runtime]);
330
+
331
+ // Re-establishment lane for an identity-bound provider whose pin is missing or
332
+ // whose pinned account is no longer part of this device's session set (another
333
+ // app signed it out, or the device was re-provisioned). Adopting whichever
334
+ // account the device is currently switched to is exactly the drift
335
+ // `sessionMode: 'identity'` exists to prevent, so the only correct answer is to
336
+ // re-derive the session from the local identity key.
337
+ //
338
+ // Bounded on purpose: at most ONE attempt per applied device revision, and
339
+ // never two concurrently — a repeated failure (locked keychain, offline, no
340
+ // local identity) must never spin a sign-in loop against the server. Nothing
341
+ // awaits it, so it can never deadlock against the projection that triggers it;
342
+ // the `bootstrap()` below re-applies device state, whose notify re-runs the
343
+ // projection with the pin now resolved.
344
+ const identityEstablishRef = useRef({
345
+ revision: null,
346
+ inFlight: false
347
+ });
348
+ const reestablishIdentitySession = useCallback((binding, revision) => {
349
+ const tracker = identityEstablishRef.current;
350
+ if (tracker.inFlight || tracker.revision === revision) {
351
+ return;
352
+ }
353
+ tracker.revision = revision;
354
+ tracker.inFlight = true;
355
+ void (async () => {
356
+ const established = await establishIdentitySession({
357
+ oxy: oxyServices,
358
+ store: authStore,
359
+ binding: binding.binding
360
+ });
361
+ if (!established) {
362
+ return;
363
+ }
364
+ // The verify wrote a fresh pin; adopt it before re-reading device state
365
+ // so the notify that follows projects against the new binding.
366
+ await binding.refreshPinnedAccountId();
367
+ await sessionClient.bootstrap();
368
+ })().catch(establishError => {
369
+ logger('Failed to re-establish the identity-bound session', establishError);
370
+ }).finally(() => {
371
+ tracker.inFlight = false;
372
+ });
373
+ }, [oxyServices, authStore, sessionClient, logger]);
374
+ reestablishRef.current = reestablishIdentitySession;
375
+
376
+ /**
377
+ * Project the server-authoritative device state onto the runtime.
378
+ *
379
+ * The projection itself lives in the runtime; this is the awaitable handle
380
+ * the commit/logout/reconnect paths already had. It is stable, because the
381
+ * runtime is.
382
+ */
383
+ const syncFromClient = useCallback(() => runtime.reconcileFromClient(), [runtime]);
384
+ const syncFromClientRef = useRef(syncFromClient);
385
+ syncFromClientRef.current = syncFromClient;
386
+ const syncDeviceCredentialToHost = useCallback(async () => {
387
+ const cred = await loadPersistedDeviceCredential(authStore);
388
+ sessionClientHost.setDeviceCredential(cred);
389
+ }, [authStore, sessionClientHost]);
390
+ const {
391
+ signIn,
392
+ logout,
393
+ logoutAll
394
+ } = useAuthOperations({
395
+ oxyServices,
396
+ store: authStore,
397
+ storage,
398
+ runtime,
399
+ saveActiveSessionId,
400
+ clearSessionState,
401
+ switchSession,
402
+ sessionClient,
403
+ syncFromClient,
404
+ onAuthStateChange,
405
+ onError,
406
+ logger,
407
+ ...(identity ? {
408
+ identityBinding: identity.binding,
409
+ refreshPinnedAccountId: () => identity.refreshPinnedAccountId()
410
+ } : {})
411
+ });
412
+
413
+ // "That wasn't me": repudiating a flagged sign-in IS revoking the device
414
+ // session that just committed — the same server-authoritative
415
+ // `sessionClient.signOut(...)` path `logout` uses, which also clears the
416
+ // persisted device credential + local state when no sibling account remains.
417
+ // No dedicated "report suspicious" API endpoint exists (or is needed).
418
+ const revokeSuspiciousSignIn = useCallback(async () => {
419
+ await logout();
420
+ }, [logout]);
421
+ const clearAllAccountData = useCallback(async () => {
422
+ queryClient.clear();
423
+ if (storage) {
424
+ try {
425
+ await clearQueryCache(storage);
426
+ } catch (error) {
427
+ logger('Failed to clear persisted query cache', error);
428
+ }
429
+ }
430
+ await clearSessionState();
431
+ // Explicit FULL wipe: also drop the persisted device credential so a reload
432
+ // finds nothing to restore.
433
+ await authStore.clear();
434
+ oxyServices.clearCache();
435
+ }, [queryClient, storage, clearSessionState, authStore, logger, oxyServices]);
436
+ const {
437
+ getDeviceSessions,
438
+ logoutAllDeviceSessions,
439
+ updateDeviceName
440
+ } = useDeviceManagement({
441
+ oxyServices,
442
+ activeSessionId,
443
+ onError,
444
+ clearSessionState,
445
+ logger
446
+ });
447
+
448
+ // Token-change side effects: an invalidated bearer (HttpService clears tokens
449
+ // on an unrecoverable 401 and emits `null`) must locally sign out an
450
+ // authenticated user so `isAuthenticated` never lingers true with no token.
451
+ // The persisted store is NOT cleared here — the refresh handler already
452
+ // cleared it if the family was revoked; a transient null leaves it intact so a
453
+ // later reload can still restore.
454
+ const clearingInvalidTokenRef = useRef(false);
455
+ useEffect(() => {
456
+ const handleTokenChange = accessToken => {
457
+ runtime.setHasAccessToken(Boolean(accessToken));
458
+ if (accessToken) {
459
+ runtime.setTokenReady(true);
460
+ if (sessionClient.getState()?.accounts.length) {
461
+ void syncFromClientRef.current();
462
+ }
463
+ return;
464
+ }
465
+ if (runtime.getSnapshot().account !== null) {
466
+ runtime.setTokenReady(false);
467
+ if (clearingInvalidTokenRef.current) {
468
+ return;
469
+ }
470
+ clearingInvalidTokenRef.current = true;
471
+ clearSessionStateRef.current().catch(clearError => {
472
+ logger('Failed to clear invalidated auth session', clearError);
473
+ }).finally(() => {
474
+ clearingInvalidTokenRef.current = false;
475
+ if (runtime.getSnapshot().authResolved) {
476
+ runtime.setTokenReady(true);
477
+ }
478
+ });
479
+ return;
480
+ }
481
+ if (runtime.getSnapshot().authResolved) {
482
+ runtime.setTokenReady(true);
483
+ }
484
+ };
485
+ handleTokenChange(oxyServices.getAccessToken());
486
+ return oxyServices.onTokensChanged(handleTokenChange);
487
+ }, [logger, oxyServices, runtime, sessionClient]);
488
+
489
+ // Unified in-session refresh (SDK-owned; every RP inherits it). Installs the
490
+ // ONE core refresh handler (re-mint from the persisted zero-cookie device
491
+ // credential via `POST /session/device/token`) plus the proactive scheduler
492
+ // that refreshes ~60s before expiry and on tab-focus. Replaces the deleted
493
+ // services-local `inSessionTokenRefresh` module.
494
+ // An identity binding turns every re-mint pinned: it targets the pinned
495
+ // account instead of the device's active one, and its recovery arm becomes the
496
+ // PRIMARY-key identity sign-in rather than the cross-app shared keychain.
497
+ useEffect(() => {
498
+ const dispose = installAuthRefreshHandler({
499
+ oxy: oxyServices,
500
+ store: authStore,
501
+ ...(identity ? {
502
+ identity: identity.binding
503
+ } : {})
504
+ });
505
+ const scheduler = startTokenRefreshScheduler(oxyServices);
506
+ return () => {
507
+ scheduler.dispose();
508
+ dispose();
509
+ };
510
+ }, [oxyServices, authStore, identity]);
511
+
512
+ // ── Session commit funnel ────────────────────────────────────────────────
513
+ // The single place a session becomes committed: plant tokens, persist the
514
+ // zero-cookie device credential (`deviceId` + `deviceSecret`), register the
515
+ // account into the server-authoritative device set, and hydrate the full user.
516
+ // Used by the QR device flow (`handleWebSession`), password sign-in, 2FA
517
+ // completion, and the cold boot.
518
+ const commitSession = useCallback(async (input, options) => {
519
+ if (input.accessToken) {
520
+ oxyServices.setTokens(input.accessToken);
521
+ }
522
+ if (input.deviceState) {
523
+ sessionClient.adoptState(input.deviceState);
524
+ }
525
+
526
+ // Persist the durable blob when the zero-cookie device credential is present.
527
+ if (input.deviceId && input.deviceSecret) {
528
+ try {
529
+ const prior = await authStore.load();
530
+ const next = {
531
+ sessionId: input.sessionId || prior?.sessionId || '',
532
+ userId: input.userId || prior?.userId || '',
533
+ deviceId: input.deviceId,
534
+ deviceSecret: input.deviceSecret,
535
+ ...(input.accessToken ? {
536
+ accessToken: input.accessToken
537
+ } : {}),
538
+ ...(input.expiresAt ? {
539
+ expiresAt: input.expiresAt
540
+ } : {})
541
+ };
542
+ await authStore.save(next);
543
+ sessionClientHost.setDeviceCredential({
544
+ deviceId: input.deviceId,
545
+ deviceSecret: input.deviceSecret
546
+ });
547
+ } catch (persistError) {
548
+ logger('Failed to persist auth state on commit', persistError);
549
+ }
550
+ }
551
+
552
+ // Fast local mirror so the UI updates before the server round-trip; the
553
+ // SessionClient projection below overwrites it with server truth. Batched
554
+ // so the mirror and the active id land in ONE transition — unbatched, a
555
+ // subscriber woken between them would see the new session list still
556
+ // pointing at the previous active id.
557
+ if (input.userId) {
558
+ const now = new Date();
559
+ runtime.batch(() => {
560
+ runtime.mergeSessions([{
561
+ sessionId: input.sessionId,
562
+ deviceId: input.deviceId ?? '',
563
+ expiresAt: input.expiresAt || new Date(now.getTime() + DEFAULT_SESSION_VALIDITY_MS).toISOString(),
564
+ lastActive: now.toISOString(),
565
+ userId: input.userId,
566
+ isCurrent: true
567
+ }], {
568
+ merge: true
569
+ });
570
+ runtime.setActiveSessionId(input.sessionId);
571
+ });
572
+ }
573
+
574
+ // Register into the device set, hydrate the full user, and flip the
575
+ // auth-resolution gate. A deliberate sign-in ACTIVATES the account and
576
+ // BLOCKS on the reconcile (register + socket + sessions projection) before
577
+ // resolving — unchanged ordering. The cold boot resolves auth from the
578
+ // profile fetch FIRST and reconciles the device set in the background, so
579
+ // first paint is not held behind those extra round-trips. Reconcile is
580
+ // best-effort — a failure never fails the sign-in (cold boot re-registers
581
+ // on the next load).
582
+ await commitDeviceSetAndResolve({
583
+ activate: options.activate,
584
+ hasDeviceState: input.deviceState !== undefined,
585
+ userId: input.userId,
586
+ fallbackUser: input.user ?? null,
587
+ registerAndActivate: userId => sessionClient.registerAndActivate(userId),
588
+ addCurrentAccount: () => sessionClient.addCurrentAccount(),
589
+ startSocket: () => sessionClient.start(),
590
+ syncFromClient,
591
+ getCurrentUser: () => oxyServices.getCurrentUser(),
592
+ loginSuccess: fullUser => runtime.setAccount(fullUser),
593
+ onAuthStateChange: onAuthStateChangeRef.current,
594
+ markAuthResolved: markAuthResolvedRef.current
595
+ });
596
+ }, [oxyServices, authStore, runtime, sessionClient, sessionClientHost, syncFromClient, logger]);
597
+ const commitSessionRef = useRef(commitSession);
598
+ commitSessionRef.current = commitSession;
599
+
600
+ // Public `handleWebSession`: commit a session from the QR device flow. It is a
601
+ // deliberate sign-in on THIS device, so it activates the account.
602
+ const handleWebSession = useCallback(async session => {
603
+ if (!session?.user || !session?.sessionId || !session.accessToken) {
604
+ throw new Error('Session response did not include a usable session');
605
+ }
606
+ await commitSession({
607
+ sessionId: session.sessionId,
608
+ accessToken: session.accessToken,
609
+ deviceSecret: session.deviceSecret,
610
+ deviceId: session.deviceId,
611
+ expiresAt: session.expiresAt,
612
+ userId: session.user.id,
613
+ user: session.user
614
+ }, {
615
+ activate: true
616
+ });
617
+ }, [commitSession]);
618
+
619
+ // ── Web third-party OAuth sign-in ──────────────────────────────────────────
620
+ // The shared operation `OxySignInButton` (and any RP-owned button) delegates
621
+ // to, so no consumer ever writes popup listeners or a token exchange. The
622
+ // transport picks popup vs redirect from `webAuthMode`; both lanes land on the
623
+ // SAME completion path (`completeOAuthCode`) and the same commit funnel here.
624
+ const startWebOAuthSignInForContext = useCallback(options => startWebOAuthSignIn({
625
+ mode: webAuthMode,
626
+ oxyServices,
627
+ clientId,
628
+ authorizeBaseUrl,
629
+ identityBound: isIdentityBound,
630
+ commitSession: input => commitSessionRef.current(input, {
631
+ activate: true
632
+ })
633
+ }, options), [webAuthMode, oxyServices, clientId, authorizeBaseUrl, isIdentityBound]);
634
+ const requestOAuthConsentForContext = useCallback(options => requestOAuthConsent({
635
+ platform: Platform.OS === 'web' ? 'web' : Platform.OS === 'ios' || Platform.OS === 'android' ? 'native' : 'unsupported',
636
+ mode: webAuthMode,
637
+ oxyServices,
638
+ clientId,
639
+ authorizeBaseUrl,
640
+ identityBound: isIdentityBound,
641
+ expectedUserId: user?.id ?? null,
642
+ commitSession: input => commitSessionRef.current(input, {
643
+ activate: true
644
+ })
645
+ }, options), [webAuthMode, oxyServices, clientId, authorizeBaseUrl, isIdentityBound, user?.id]);
646
+
647
+ // ── Unified account dialog ─────────────────────────────────────────────────
648
+ // The single account-chooser + sign-in surface. Built ONCE per provider mount
649
+ // and bound to the live `oxyServices` + `sessionClient` + this provider's
650
+ // sign-in commit funnel, threaded through a ref so the controller keeps a
651
+ // STABLE commit callback (rebuilding the controller on every commit-identity
652
+ // change would drop its subscription + state).
653
+ const handleWebSessionRef = useRef(handleWebSession);
654
+ handleWebSessionRef.current = handleWebSession;
655
+
656
+ // The live AccountDialog surface (a stacked Bloom surface), while open — the
657
+ // SINGLE source of truth for "is the account dialog open". Held so
658
+ // `openAccountDialog` can no-op when already open and `closeAccountDialog` /
659
+ // `onSignedIn` can dismiss it. Its present→settle lifecycle is what drives the
660
+ // reactive `accountDialogOpen` mirror below: presenting flips it true, the
661
+ // surface settling (`result.finally`) flips it false — no other write site.
662
+ const accountDialogSurfaceRef = useRef(null);
663
+
664
+ // When the account dialog is shown by MORPHING an already-open route surface
665
+ // (e.g. ManageAccount → the account switcher) it is pushed as a frame ONTO that
666
+ // surface rather than presented as its own. This holds that host surface so the
667
+ // close path can pop the AccountDialog frame back to it. `null` when the dialog
668
+ // is its OWN detached surface (opened cold, with no surface underneath).
669
+ const accountDialogHostRef = useRef(null);
670
+
671
+ // The single teardown for the account dialog wherever it lives: pop the morphed
672
+ // frame back to its host surface (reshaping Manage ← switcher), or dismiss the
673
+ // detached surface (whose settle then flips `accountDialogOpen`). Reads only
674
+ // stable refs + `setAccountDialogOpen`, so its identity never changes.
675
+ const dismissAccountDialogSurface = useCallback(() => {
676
+ const host = accountDialogHostRef.current;
677
+ if (host) {
678
+ accountDialogHostRef.current = null;
679
+ setAccountDialogOpen(false);
680
+ host.goBack();
681
+ return;
682
+ }
683
+ accountDialogSurfaceRef.current?.dismiss();
684
+ }, []);
685
+
686
+ // Never built while identity-bound: the dialog exists to CHOOSE an account,
687
+ // and an identity-bound client has exactly one — the owner of the local
688
+ // identity key. Leaving it `null` (the same shape consumers see with no
689
+ // provider mounted) keeps its QR/polling machinery off entirely instead of
690
+ // relying on UI-level filtering to hide it.
691
+ const accountDialogControllerRef = useRef(null);
692
+ if (!isIdentityBound && !accountDialogControllerRef.current) {
693
+ accountDialogControllerRef.current = createAccountDialogController({
694
+ oxyServices,
695
+ sessionClient,
696
+ clientId,
697
+ commitSession: session => handleWebSessionRef.current(session),
698
+ onSignedIn: () => {
699
+ // Close the dialog: pop the morphed frame back to its host surface, or
700
+ // dismiss the detached surface (whose settle flips `accountDialogOpen`).
701
+ dismissAccountDialogSurface();
702
+ },
703
+ openUrl: url => {
704
+ if (isWebBrowser()) {
705
+ redirectToAuthorize(url);
706
+ return;
707
+ }
708
+ void Linking.openURL(url);
709
+ },
710
+ // Native-only probe so the controller can detect an installed Commons and
711
+ // deep-link straight into its approve screen (keeping the QR/polling live
712
+ // as fallback). `undefined` on web mirrors the `openUrl` split — the
713
+ // controller short-circuits, so `redirectToAuthorize` never runs for the
714
+ // `oxycommons://` payload.
715
+ canOpenApp: isWebBrowser() ? undefined : url => Linking.canOpenURL(url),
716
+ // Web-only: lets `startPasskeyHubSignIn` open the auth.oxy.so passkey hub
717
+ // popup (b2) for a non-Oxy origin. `undefined` on native — there is no
718
+ // popup concept there, and off-origin passkey sign-in isn't reachable
719
+ // (Commons owns the native flow).
720
+ openPopup: isWebBrowser() ? openPasskeyHubPopup : undefined,
721
+ // Which surface a sign-in starts from — a FACT only this consumer can
722
+ // supply (headless core never touches a platform global). It decides
723
+ // whether automatic delivery may take the same-device Commons deep link;
724
+ // without it the controller stays `'unknown'` and that route never fires.
725
+ platform: resolveDeliveryPlatform()
726
+ });
727
+ }
728
+ const accountDialogController = accountDialogControllerRef.current;
729
+ const openAccountDialog = useCallback(view => {
730
+ if (isIdentityBound) {
731
+ // No controller was built, and there is nothing to choose: this app's user
732
+ // is fixed to the owner of the local identity key.
733
+ if (__DEV__) {
734
+ loggerUtil.warn('openAccountDialog ignored: the session is identity-bound (sessionMode: "identity")', {
735
+ component: 'OxyContext',
736
+ method: 'openAccountDialog'
737
+ });
738
+ }
739
+ return;
740
+ }
741
+ const nextView = view ?? 'accounts';
742
+ accountDialogControllerRef.current?.setView(nextView);
743
+
744
+ // Its own detached surface is already open → just re-point the view above.
745
+ if (accountDialogSurfaceRef.current) {
746
+ setAccountDialogOpen(true);
747
+ return;
748
+ }
749
+
750
+ // When a route surface (e.g. ManageAccount) is already open, MORPH it in
751
+ // place: push the AccountDialog as a frame ONTO that surface, so the panel
752
+ // reshapes from that surface to the switcher and a back returns to it. With no
753
+ // surface open (opened cold from a sign-in button), present the dialog as its
754
+ // OWN detached surface — kept OUT of the `showBottomSheet` route-surface
755
+ // lineage so closing the bottom-sheet session never touches it and vice-versa.
756
+ // `navigate` is idempotent for the top frame (it replaces rather than
757
+ // duplicates), so calling this while already morphed in just re-points the
758
+ // view, and calling it after a back re-pushes the frame — no stale guard.
759
+ const host = topRouteSurface();
760
+ if (host) {
761
+ accountDialogHostRef.current = host;
762
+ host.navigate('AccountDialog', {
763
+ initialView: nextView
764
+ });
765
+ setAccountDialogOpen(true);
766
+ return;
767
+ }
768
+ const instance = presentDetached('AccountDialog', {
769
+ initialView: nextView
770
+ }, {
771
+ placement: {
772
+ base: 'bottom',
773
+ md: 'center'
774
+ },
775
+ dismissOnBackdrop: false,
776
+ maxWidth: 420
777
+ });
778
+ accountDialogSurfaceRef.current = instance;
779
+ // The surface settling is the ONE place `accountDialogOpen` flips false for
780
+ // the detached path — covering every dismiss (close button, `onSignedIn`,
781
+ // programmatic `closeAccountDialog`, host unmount). The morphed path clears
782
+ // its own state in `dismissAccountDialogSurface`.
783
+ instance.result.finally(() => {
784
+ if (accountDialogSurfaceRef.current === instance) {
785
+ accountDialogSurfaceRef.current = null;
786
+ setAccountDialogOpen(false);
787
+ }
788
+ });
789
+ setAccountDialogOpen(true);
790
+ }, [isIdentityBound]);
791
+ const closeAccountDialog = useCallback(() => {
792
+ accountDialogControllerRef.current?.cancelSignIn();
793
+ dismissAccountDialogSurface();
794
+ }, [dismissAccountDialogSurface]);
795
+
796
+ // Start driving the dialog on mount; tear it down on unmount.
797
+ useEffect(() => {
798
+ const controller = accountDialogControllerRef.current;
799
+ controller?.start();
800
+ return () => controller?.destroy();
801
+ }, []);
802
+
803
+ // Expose the live open/close controls to the imperative manager so
804
+ // Imperative `openAccountDialog('signin')` (and app-level sign-in handlers) works.
805
+ useEffect(() => registerAccountDialogControls({
806
+ open: openAccountDialog,
807
+ close: closeAccountDialog
808
+ }), [openAccountDialog, closeAccountDialog]);
809
+
810
+ // Broadcast visibility so `OxySignInButton`'s "Signing in…" affordance stays
811
+ // accurate regardless of what opened or dismissed the dialog.
812
+ useEffect(() => {
813
+ notifyAccountDialogVisibility(accountDialogOpen);
814
+ }, [accountDialogOpen]);
815
+
816
+ // ── Passkey (WebAuthn) ─────────────────────────────────────────────────────
817
+ // Web-only sign-in / registration via the browser WebAuthn ceremony. The fixed
818
+ // `options → ceremony → verify → commit` ordering lives in the pure
819
+ // `passkeyFlow` helpers (deps-injected, unit-tested); these wrappers supply the
820
+ // real deps (core `webauthn*` methods, the platform ceremony client, and the
821
+ // `commitSession` funnel). All three GATE on `isPasskeySupported()` so a native
822
+ // / unsupported surface throws loudly instead of stalling in a ceremony.
823
+
824
+ // Passkey sign-in. No `username` → usernameless (discoverable) flow. With a
825
+ // `username` → username-first: the server scopes `allowCredentials` to that
826
+ // user's passkeys so a non-discoverable hardware key (U2F/security key) can
827
+ // be selected.
828
+ const signInWithPasskey = useCallback(async opts => {
829
+ const persisted = await authStore.load();
830
+ await runPasskeyLogin({
831
+ isSupported: isPasskeySupported,
832
+ getLoginOptions: username => oxyServices.webauthnLoginOptions(username),
833
+ runCeremony: runAuthenticationCeremony,
834
+ loginVerify: (response, envelope) => oxyServices.webauthnLoginVerify(response, envelope),
835
+ commit: input => commitSession(input, {
836
+ activate: true
837
+ }),
838
+ username: opts?.username,
839
+ deviceId: persisted?.deviceId,
840
+ deviceName: opts?.deviceName,
841
+ deviceFingerprint: opts?.deviceFingerprint
842
+ });
843
+ }, [oxyServices, authStore, commitSession]);
844
+
845
+ // Create a brand-new account whose first auth method is a passkey.
846
+ const registerWithPasskey = useCallback(async params => {
847
+ await runPasskeyRegister({
848
+ isSupported: isPasskeySupported,
849
+ getRegisterOptions: username => oxyServices.webauthnRegisterOptions(username),
850
+ runCeremony: runRegistrationCeremony,
851
+ registerVerify: (response, envelope) => oxyServices.webauthnRegisterVerify(response, envelope),
852
+ commit: input => commitSession(input, {
853
+ activate: true
854
+ }),
855
+ username: params.username,
856
+ deviceName: params.deviceName
857
+ });
858
+ }, [oxyServices, commitSession]);
859
+
860
+ // Add a passkey to the already-signed-in account (bearer present). No new
861
+ // session is committed — just refresh the linked auth-methods list.
862
+ const addPasskey = useCallback(async params => {
863
+ await runPasskeyAdd({
864
+ isSupported: isPasskeySupported,
865
+ getRegisterOptions: () => oxyServices.webauthnRegisterOptions(),
866
+ runCeremony: runRegistrationCeremony,
867
+ registerVerify: (response, envelope) => oxyServices.webauthnRegisterVerify(response, envelope),
868
+ onLinked: () => {
869
+ void queryClient.invalidateQueries({
870
+ queryKey: queryKeys.authMethods.all
871
+ });
872
+ },
873
+ deviceName: params?.deviceName
874
+ });
875
+ }, [oxyServices, queryClient]);
876
+
877
+ // Remove a passkey from the already-signed-in account by credential id. Not a
878
+ // ceremony — a plain unlink — so it needs no `isPasskeySupported` gate; it just
879
+ // refreshes the linked auth-methods list on success.
880
+ const removePasskey = useCallback(async credentialId => {
881
+ await oxyServices.removePasskey(credentialId);
882
+ void queryClient.invalidateQueries({
883
+ queryKey: queryKeys.authMethods.all
884
+ });
885
+ }, [oxyServices, queryClient]);
886
+
887
+ // ── Cold boot ────────────────────────────────────────────────────────────
888
+ // Device-first session restore via `runProviderColdBoot` (see boot/runProviderColdBoot.ts).
889
+ const runColdBoot = useCallback(async () => {
890
+ // Resolve the pin BEFORE any boot lane runs: `getPinnedAccountId()` is a
891
+ // SYNCHRONOUS read on `SessionClient`'s apply path, and a stale `null` there
892
+ // would let a pinned client behave like an account-mode one for the first
893
+ // state it applies (including re-electing the device's active account).
894
+ if (identity) {
895
+ await identity.ensurePinnedAccountId();
896
+ }
897
+ await runProviderColdBoot({
898
+ oxyServices,
899
+ authStore,
900
+ clientId: clientIdProp,
901
+ authRedirectUri,
902
+ sessionMode,
903
+ identity: identity?.binding,
904
+ sessionClient,
905
+ syncDeviceCredentialToHost,
906
+ commitSession: (input, options) => commitSessionRef.current(input, options),
907
+ markAuthResolved: () => markAuthResolvedRef.current(),
908
+ setTokenReady
909
+ });
910
+ // The boot may have (re-)established the identity session or cleared a pin
911
+ // whose key no longer exists, so re-resolve rather than trusting the memo
912
+ // taken before it ran.
913
+ if (identity) {
914
+ await identity.refreshPinnedAccountId();
915
+ }
916
+ }, [oxyServices, authStore, clientIdProp, authRedirectUri, sessionMode, identity, syncDeviceCredentialToHost, sessionClient, setTokenReady]);
917
+ useEffect(() => {
918
+ if (initialized) {
919
+ return;
920
+ }
921
+ if (!storage) {
922
+ return;
923
+ }
924
+ setInitialized(true);
925
+ runColdBoot().catch(error => {
926
+ if (__DEV__) {
927
+ logger('Cold boot failed', error);
928
+ }
929
+ });
930
+ }, [runColdBoot, storage, initialized, logger]);
931
+
932
+ // Reconcile device state when the tab returns to foreground (background tabs may
933
+ // miss socket pushes or have stale bearer tokens).
934
+ useEffect(() => {
935
+ if (!isWebBrowser()) return;
936
+ const onVisibility = () => {
937
+ if (document.visibilityState !== 'visible') return;
938
+ const reconcile = async () => {
939
+ if (!oxyServices.getAccessToken() && sessionClientHost.getDeviceCredential()) {
940
+ // Route through the ONE shared single-flight the scheduler/preflight/401
941
+ // use — never a private mint lane — so a tab-focus reconcile can't
942
+ // double-rotate the device secret against them.
943
+ await oxyServices.httpService.refreshAccessToken('preflight');
944
+ }
945
+ if (!oxyServices.getAccessToken() && !sessionClientHost.getDeviceCredential()) {
946
+ return;
947
+ }
948
+ await sessionClient.bootstrap();
949
+ await syncFromClient();
950
+ };
951
+ void reconcile().catch(() => undefined);
952
+ };
953
+ document.addEventListener('visibilitychange', onVisibility);
954
+ return () => document.removeEventListener('visibilitychange', onVisibility);
955
+ }, [oxyServices, sessionClient, sessionClientHost, syncFromClient]);
956
+
957
+ // Reconnect heal: when connectivity transitions offline→online while there is
958
+ // no live access token but a persisted device credential exists, re-mint ONCE
959
+ // through the SAME shared single-flight lane the scheduler / tab-focus
960
+ // reconcile / 401 path use — never a private mint lane, so this can't
961
+ // double-rotate the device secret against them. A device that cold-booted
962
+ // OFFLINE skipped the network mint step, so its session is otherwise only
963
+ // recovered by the next scheduled re-mint; healing on the reconnect edge makes
964
+ // recovery immediate. `onlineManager` is fed by OxyProvider's existing NetInfo
965
+ // (native) / `navigator.onLine` (web) listener, so this reuses the one
966
+ // connectivity signal instead of opening a second NetInfo subscription. Works
967
+ // on native and web alike.
968
+ useEffect(() => {
969
+ // Seed from the current verdict so the first callback heals only on a
970
+ // genuine offline→online edge, never an initial subscribe fan-out.
971
+ let previousOnline = onlineManager.isOnline();
972
+ return onlineManager.subscribe(online => {
973
+ const wasOffline = previousOnline === false;
974
+ previousOnline = online;
975
+ if (!online || !wasOffline) {
976
+ return;
977
+ }
978
+ void (async () => {
979
+ if (oxyServices.getAccessToken() || !sessionClientHost.getDeviceCredential()) {
980
+ return;
981
+ }
982
+ await oxyServices.httpService.refreshAccessToken('preflight');
983
+ if (!oxyServices.getAccessToken()) {
984
+ return;
985
+ }
986
+ await sessionClient.bootstrap();
987
+ await syncFromClient();
988
+ })().catch(() => undefined);
989
+ });
990
+ }, [oxyServices, sessionClient, sessionClientHost, syncFromClient]);
991
+
992
+ // Exposed `refreshSessions`: re-bootstrap the server-authoritative device
993
+ // state and reproject — the manual counterpart to the realtime socket.
994
+ const refreshSessionsForContext = useCallback(async () => {
995
+ await sessionClient.bootstrap();
996
+ await syncFromClient();
997
+ }, [sessionClient, syncFromClient]);
998
+
999
+ // Exposed `switchSession`: route through the server-authoritative
1000
+ // `SessionClient`. Resolve the target account from the current device state,
1001
+ // ask the server to switch, reproject, and return the now-active user.
1002
+ //
1003
+ // Identity-bound providers reject: this is the session-keyed twin of
1004
+ // `switchToAccount`, so leaving it live would be a bypass around the same rule.
1005
+ const switchSessionForContext = useCallback(async sessionId => {
1006
+ if (isIdentityBound) {
1007
+ throw new IdentityBoundSessionError('switchSession');
1008
+ }
1009
+ const targetAccountId = sessionClient.getState()?.accounts.find(account => account.sessionId === sessionId)?.accountId;
1010
+ if (!targetAccountId) {
1011
+ throw new Error(`No device account found for session "${sessionId}"`);
1012
+ }
1013
+ await sessionClient.switchAccount(targetAccountId);
1014
+ await syncFromClient();
1015
+ const activeUser = runtime.getSnapshot().account;
1016
+ if (!activeUser) {
1017
+ throw new Error('Active account profile could not be resolved after switch');
1018
+ }
1019
+ return activeUser;
1020
+ }, [isIdentityBound, runtime, sessionClient, syncFromClient]);
1021
+
1022
+ // Thin passthroughs to the platform-agnostic KeyManager. NOTE: both now THROW
1023
+ // `IdentityUnavailableError` (from `@oxy.so/core`) when identity storage is
1024
+ // locked/unreadable, instead of flattening that into `false`/`null`. We keep
1025
+ // the signatures and deliberately let the typed error PROPAGATE to the caller
1026
+ // — a locked keychain must never be misreported as "no identity". `hasIdentity`
1027
+ // still resolves `false` and `getPublicKey` still resolves `null` for a genuine
1028
+ // absence.
1029
+ const hasIdentity = useCallback(async () => KeyManager.hasIdentity(), []);
1030
+ const getPublicKey = useCallback(async () => KeyManager.getPublicKey(), []);
1031
+ const showBottomSheetForContext = useCallback(screenOrConfig => {
1032
+ globalShowBottomSheet(screenOrConfig);
1033
+ }, []);
1034
+ const {
1035
+ openAvatarPicker
1036
+ } = useAvatarPicker({
1037
+ oxyServices,
1038
+ currentLanguage,
1039
+ activeSessionId,
1040
+ queryClient
1041
+ });
1042
+ const {
1043
+ accounts,
1044
+ refreshAccounts,
1045
+ switchToAccount,
1046
+ createAccount: createAccountFn
1047
+ } = useOxyAccountGraph({
1048
+ isAuthenticated,
1049
+ tokenReady,
1050
+ initialized,
1051
+ identityBound: isIdentityBound,
1052
+ oxyServices,
1053
+ sessionClient,
1054
+ syncFromClient,
1055
+ commitSession,
1056
+ accountDialogControllerRef,
1057
+ clearSessionStateRef
1058
+ });
1059
+
1060
+ // The account-scoped cache reset, run by the runtime BETWEEN committing the
1061
+ // new subject's bearer and waking anybody (ADR 0002). It used to trail the two
1062
+ // branches of `switchToAccount`, which meant a switch pushed over the socket
1063
+ // by another app on this device got none of it: the follow stores, the scoped
1064
+ // media URLs and every warm query stayed on the previous subject until
1065
+ // something happened to refetch.
1066
+ //
1067
+ // An initial sign-in is deliberately exempt. There is nothing account-scoped
1068
+ // cached before the first account, so invalidating everything there would only
1069
+ // buy a refetch storm at first paint.
1070
+ const handleSubjectChange = useCallback(({
1071
+ previous,
1072
+ next
1073
+ }) => {
1074
+ if (previous === null) {
1075
+ return;
1076
+ }
1077
+ resetSessionScopedStores();
1078
+ if (next === null) {
1079
+ // A sign-out: `clearSessionState` owns the rest of the teardown, and
1080
+ // invalidating a cache we are about to clear would only refetch as the
1081
+ // bearer disappears.
1082
+ return;
1083
+ }
1084
+ // Scoped media tokens are per-viewer — drop any cached URLs immediately so
1085
+ // `keepPreviousData`-style placeholders cannot flash the prior account's
1086
+ // private thumbnails while the new bearer mint lands.
1087
+ queryClient.removeQueries({
1088
+ queryKey: [ASSET_DOWNLOAD_URLS_QUERY_KEY]
1089
+ });
1090
+ queryClient.invalidateQueries();
1091
+ void refreshAccounts();
1092
+ }, [queryClient, refreshAccounts]);
1093
+ subjectChangeRef.current = handleSubjectChange;
1094
+ const canUsePrivateApi = authResolved && isAuthenticated && tokenReady && hasAccessToken;
1095
+ const isPrivateApiPending = !authResolved || isAuthenticated && (!tokenReady || !hasAccessToken);
1096
+
1097
+ // Keep the native background credential in step with this session, so native
1098
+ // background code (a widget worker) can authenticate with no JS runtime. Inert
1099
+ // unless the app opted in. Placed AFTER `canUsePrivateApi` because provisioning
1100
+ // needs a bearer, and keyed on the signed-in account so a sign-out or an
1101
+ // account switch revokes the credential before anything else happens.
1102
+ useBackgroundSessionSync({
1103
+ enabled: backgroundSession,
1104
+ oxyServices,
1105
+ userId: user?.id ?? null,
1106
+ canUsePrivateApi
1107
+ });
1108
+ const contextValue = useMemo(() => ({
1109
+ user,
1110
+ sessions,
1111
+ activeSessionId,
1112
+ isAuthenticated,
1113
+ isLoading,
1114
+ isTokenReady: tokenReady,
1115
+ hasAccessToken,
1116
+ canUsePrivateApi,
1117
+ isPrivateApiPending,
1118
+ isAuthResolved: authResolved,
1119
+ isStorageReady: snapshot.storageReady,
1120
+ sessionMode: isIdentityBound ? 'identity' : 'account',
1121
+ webAuthMode,
1122
+ error,
1123
+ currentLanguage,
1124
+ currentLanguages,
1125
+ currentLanguageMetadata,
1126
+ currentLanguageName,
1127
+ currentNativeLanguageName,
1128
+ hasIdentity,
1129
+ getPublicKey,
1130
+ signIn,
1131
+ signInWithPasskey,
1132
+ registerWithPasskey,
1133
+ addPasskey,
1134
+ removePasskey,
1135
+ revokeSuspiciousSignIn,
1136
+ handleWebSession,
1137
+ startWebOAuthSignIn: startWebOAuthSignInForContext,
1138
+ requestOAuthConsent: requestOAuthConsentForContext,
1139
+ logout,
1140
+ logoutAll,
1141
+ switchSession: switchSessionForContext,
1142
+ removeSession: logout,
1143
+ refreshSessions: refreshSessionsForContext,
1144
+ setLanguage,
1145
+ getDeviceSessions,
1146
+ logoutAllDeviceSessions,
1147
+ updateDeviceName,
1148
+ clearSessionState,
1149
+ clearAllAccountData,
1150
+ storageKeyPrefix,
1151
+ clientId,
1152
+ oxyServices,
1153
+ sessionClient,
1154
+ useFollow,
1155
+ showBottomSheet: showBottomSheetForContext,
1156
+ openAvatarPicker,
1157
+ accountDialogController,
1158
+ isAccountDialogOpen: accountDialogOpen,
1159
+ openAccountDialog,
1160
+ closeAccountDialog,
1161
+ accounts,
1162
+ switchToAccount,
1163
+ refreshAccounts,
1164
+ createAccount: createAccountFn
1165
+ }), [user, sessions, activeSessionId, isAuthenticated, isLoading, tokenReady, hasAccessToken, canUsePrivateApi, isPrivateApiPending, authResolved, snapshot.storageReady, isIdentityBound, webAuthMode, error, currentLanguage, currentLanguages, currentLanguageMetadata, currentLanguageName, currentNativeLanguageName, hasIdentity, getPublicKey, signIn, signInWithPasskey, registerWithPasskey, addPasskey, removePasskey, revokeSuspiciousSignIn, handleWebSession, startWebOAuthSignInForContext, requestOAuthConsentForContext, logout, logoutAll, switchSessionForContext, refreshSessionsForContext, setLanguage, getDeviceSessions, logoutAllDeviceSessions, updateDeviceName, clearSessionState, clearAllAccountData, storageKeyPrefix, clientId, oxyServices, sessionClient, showBottomSheetForContext, openAvatarPicker, accountDialogController, accountDialogOpen, openAccountDialog, closeAccountDialog, accounts, switchToAccount, refreshAccounts, createAccountFn]);
1166
+ const authActionsValue = useMemo(() => ({
1167
+ signIn,
1168
+ logout,
1169
+ logoutAll,
1170
+ refreshSessions: refreshSessionsForContext,
1171
+ oxyServices,
1172
+ switchToAccount,
1173
+ hasIdentity,
1174
+ getPublicKey,
1175
+ showBottomSheet: showBottomSheetForContext,
1176
+ openAvatarPicker,
1177
+ openAccountDialog
1178
+ }), [signIn, logout, logoutAll, refreshSessionsForContext, oxyServices, switchToAccount, hasIdentity, getPublicKey, showBottomSheetForContext, openAvatarPicker, openAccountDialog]);
1179
+
1180
+ // Two contexts, deliberately. The inner one carries the wide compatibility
1181
+ // value every `useOxy()` consumer reads, rebuilt whenever any of its members
1182
+ // moves. The outer one carries the runtime reference, which never changes
1183
+ // identity — so `useActiveAccount()` and friends re-render on the fact they
1184
+ // selected and nothing else. Phase 8 retires the inner one.
1185
+ return /*#__PURE__*/_jsx(OxyRuntimeHandleProvider, {
1186
+ value: runtime,
1187
+ children: /*#__PURE__*/_jsx(OxyAuthActionsContext.Provider, {
1188
+ value: authActionsValue,
1189
+ children: /*#__PURE__*/_jsx(OxyRuntimeContext.Provider, {
1190
+ value: contextValue,
1191
+ children: children
1192
+ })
1193
+ })
1194
+ });
1195
+ };
1196
+ const PROVIDER_MISSING_ERROR_MESSAGE = 'useOxy() was called outside <OxyProvider>. Mount <OxyProvider clientId="…"> above this component, ' + 'or use useOptionalOxy() if this component legitimately renders both inside and outside the provider.';
1197
+ export class OxyProviderMissingError extends Error {
1198
+ code = 'oxy_provider_missing';
1199
+ constructor() {
1200
+ super(PROVIDER_MISSING_ERROR_MESSAGE);
1201
+ this.name = 'OxyProviderMissingError';
1202
+ }
1203
+ }
1204
+
1205
+ /**
1206
+ * The base runtime hook. THROWS when no `<OxyProvider>` is mounted.
1207
+ *
1208
+ * It used to return a fabricated forever-loading runtime — `isLoading: true`,
1209
+ * `isPrivateApiPending: true`, every method a rejecting no-op — which turned a
1210
+ * missing provider into a UI that spins forever with nothing in the console.
1211
+ * Failing here names the mistake at the exact component that made it (ADR 0004).
1212
+ *
1213
+ * A component that legitimately renders both inside and outside the provider
1214
+ * uses {@link useOptionalOxy} instead.
1215
+ */
1216
+ export const useOxy = () => {
1217
+ const context = useContext(OxyRuntimeContext);
1218
+ if (!context) {
1219
+ throw new OxyProviderMissingError();
1220
+ }
1221
+ return context;
1222
+ };
1223
+
1224
+ /**
1225
+ * `useOxy()` for the rare component that renders both inside and outside the
1226
+ * provider — returns `null` instead of throwing. Callers must handle `null`;
1227
+ * there is no fabricated runtime to fall back on.
1228
+ */
1229
+ export const useOptionalOxy = () => useContext(OxyRuntimeContext);
1230
+
1231
+ /** Stable auth commands for selector-based hooks; never carries mutable state. */
1232
+ export const useOxyAuthActions = () => {
1233
+ const actions = useContext(OxyAuthActionsContext);
1234
+ if (!actions) {
1235
+ throw new OxyProviderMissingError();
1236
+ }
1237
+ return actions;
1238
+ };
1239
+ //# sourceMappingURL=OxyContext.js.map