@funhub/platform 0.2.9 → 0.2.11

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 (169) hide show
  1. package/dist/assets/icons/search/video.mjs +2 -0
  2. package/dist/biz.d.mts +5 -5
  3. package/dist/biz.mjs +1 -1
  4. package/dist/components/biz/business/advertisement/ad-match.d.mts +8 -4
  5. package/dist/components/biz/business/advertisement/ad-match.mjs +1 -1
  6. package/dist/components/biz/business/advertisement/ad-provider.mjs +1 -1
  7. package/dist/components/biz/business/advertisement/ad-query.d.mts +1 -2
  8. package/dist/components/biz/business/advertisement/ad-query.mjs +1 -1
  9. package/dist/components/biz/business/advertisement/ad-runtime-provider.d.mts +2 -2
  10. package/dist/components/biz/business/advertisement/ad-runtime-provider.mjs +1 -1
  11. package/dist/components/biz/business/advertisement/banner-ad/client.mjs +1 -1
  12. package/dist/components/biz/business/advertisement/banner-ad/material.d.mts +2 -3
  13. package/dist/components/biz/business/advertisement/banner-ad/material.mjs +1 -1
  14. package/dist/components/biz/business/advertisement/banner-ad/schema.d.mts +9 -6
  15. package/dist/components/biz/business/advertisement/banner-ad/schema.mjs +1 -1
  16. package/dist/components/biz/business/advertisement/feed-ad/index.d.mts +1 -31
  17. package/dist/components/biz/business/advertisement/feed-ad/index.mjs +1 -1
  18. package/dist/components/biz/business/advertisement/floating-ad/client.d.mts +4 -4
  19. package/dist/components/biz/business/advertisement/floating-ad/client.mjs +1 -1
  20. package/dist/components/biz/business/advertisement/floating-ad/index.d.mts +1 -1
  21. package/dist/components/biz/business/advertisement/floating-ad/material.d.mts +5 -0
  22. package/dist/components/biz/business/advertisement/floating-ad/schema.d.mts +21 -10
  23. package/dist/components/biz/business/advertisement/floating-ad/schema.mjs +1 -1
  24. package/dist/components/biz/business/advertisement/icon-ad/client.mjs +1 -1
  25. package/dist/components/biz/business/advertisement/icon-ad/material.d.mts +1 -2
  26. package/dist/components/biz/business/advertisement/icon-ad/material.mjs +1 -1
  27. package/dist/components/biz/business/advertisement/icon-ad/schema.d.mts +7 -2
  28. package/dist/components/biz/business/advertisement/icon-ad/schema.mjs +1 -1
  29. package/dist/components/biz/business/advertisement/index.d.mts +4 -4
  30. package/dist/components/biz/business/advertisement/popup-ad/client.mjs +3 -3
  31. package/dist/components/biz/business/advertisement/popup-ad/index.d.mts +1 -1
  32. package/dist/components/biz/business/advertisement/popup-ad/material.d.mts +2 -2
  33. package/dist/components/biz/business/advertisement/popup-ad/schema.d.mts +14 -15
  34. package/dist/components/biz/business/advertisement/popup-ad/schema.mjs +1 -1
  35. package/dist/components/biz/business/advertisement/text-ad/client.mjs +1 -1
  36. package/dist/components/biz/business/advertisement/text-ad/material.d.mts +1 -2
  37. package/dist/components/biz/business/advertisement/text-ad/material.mjs +1 -1
  38. package/dist/components/biz/business/advertisement/text-ad/schema.d.mts +5 -3
  39. package/dist/components/biz/business/advertisement/text-ad/schema.mjs +1 -1
  40. package/dist/components/biz/business/banner-carousel/client.mjs +1 -1
  41. package/dist/components/biz/business/detail/shared/detail-operate.mjs +1 -1
  42. package/dist/components/biz/business/detail/shared/registry.d.mts +1 -0
  43. package/dist/components/biz/business/detail/shared/runtime-context-provider.mjs +1 -1
  44. package/dist/components/biz/business/detail/shared/video-hero.mjs +1 -1
  45. package/dist/components/biz/business/detail/video-detail-info/client.mjs +1 -1
  46. package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -1
  47. package/dist/components/biz/business/detail/video-detail-recommend/material.d.mts +1 -0
  48. package/dist/components/biz/business/detail/video-detail-recommend/schema.d.mts +1 -0
  49. package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -1
  50. package/dist/components/biz/business/detail/video-detail-recommend/shared.mjs +1 -1
  51. package/dist/components/biz/business/detail/video-detail-recommend/utils.mjs +1 -1
  52. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -1
  53. package/dist/components/biz/business/header-search/shared/logo.mjs +1 -1
  54. package/dist/components/biz/business/home-recommend/home-recommend-grid/client.mjs +1 -1
  55. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts +4 -24
  56. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -1
  57. package/dist/components/biz/business/home-recommend/home-recommend-grid/material.d.mts +2 -22
  58. package/dist/components/biz/business/home-recommend/home-recommend-grid/server.mjs +1 -1
  59. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/client.mjs +1 -1
  60. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts +4 -24
  61. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -1
  62. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.d.mts +2 -22
  63. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/server.mjs +1 -1
  64. package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -1
  65. package/dist/components/biz/business/home-recommend/shared/home-recommend-default-config.mjs +1 -1
  66. package/dist/components/biz/business/home-recommend/shared/home-recommend-play-count.mjs +2 -0
  67. package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +1 -1
  68. package/dist/components/biz/business/home-recommend/shared/home-recommend-runtime-props.mjs +1 -1
  69. package/dist/components/biz/business/home-recommend/shared/home-recommend-server-data.mjs +1 -1
  70. package/dist/components/biz/business/home-recommend/shared/home-recommend-smart-tag.mjs +2 -0
  71. package/dist/components/biz/business/hot-recommend/client.mjs +1 -1
  72. package/dist/components/biz/business/hot-recommend/material.d.mts +0 -1
  73. package/dist/components/biz/business/hot-recommend/schema.d.mts +0 -1
  74. package/dist/components/biz/business/hot-recommend/schema.mjs +1 -1
  75. package/dist/components/biz/business/image-text-recommend/client.d.mts +1 -1
  76. package/dist/components/biz/business/image-text-recommend/client.mjs +1 -1
  77. package/dist/components/biz/business/image-text-recommend/material.d.mts +7 -7
  78. package/dist/components/biz/business/image-text-recommend/schema.d.mts +25 -30
  79. package/dist/components/biz/business/image-text-recommend/schema.mjs +1 -1
  80. package/dist/components/biz/business/image-text-recommend/server.mjs +1 -1
  81. package/dist/components/biz/business/image-text-recommend/shared/query.mjs +1 -1
  82. package/dist/components/biz/business/index.d.mts +4 -4
  83. package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -1
  84. package/dist/components/biz/business/marquee/client.mjs +1 -1
  85. package/dist/components/biz/business/marquee/marquee.module.mjs +24 -0
  86. package/dist/components/biz/business/marquee/material.d.mts +6 -5
  87. package/dist/components/biz/business/marquee/schema.d.mts +6 -5
  88. package/dist/components/biz/business/marquee/schema.mjs +1 -1
  89. package/dist/components/biz/business/profile/profile-header/client.mjs +1 -1
  90. package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +1 -1
  91. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/video-waterfall.mjs +1 -1
  92. package/dist/components/biz/business/profile/profile-main/utils.mjs +1 -1
  93. package/dist/components/biz/business/tab-bar/client.d.mts +0 -2
  94. package/dist/components/biz/business/tab-bar/client.mjs +1 -1
  95. package/dist/components/biz/business/text-recommend/client.mjs +1 -1
  96. package/dist/components/biz/business/text-recommend/material.d.mts +0 -1
  97. package/dist/components/biz/business/text-recommend/schema.d.mts +0 -1
  98. package/dist/components/biz/business/text-recommend/schema.mjs +1 -1
  99. package/dist/components/common/collection-popup/create-collection-sheet.d.mts +3 -0
  100. package/dist/components/common/collection-popup/create-collection-sheet.mjs +1 -1
  101. package/dist/components/common/collection-popup/index.mjs +1 -1
  102. package/dist/components/common/list/waterfall-recommend/recommend-badge-style.mjs +2 -0
  103. package/dist/components/common/list/waterfall-recommend/waterfall-recommend-display.mjs +2 -0
  104. package/dist/components/common/list/waterfall-recommend/waterfall-recommend.d.mts +5 -7
  105. package/dist/components/common/list/waterfall-recommend/waterfall-recommend.mjs +1 -1
  106. package/dist/components/common/series-episodes/index.d.mts +1 -0
  107. package/dist/components/common/series-episodes/index.mjs +1 -1
  108. package/dist/components/common/video-player/index.d.mts +1 -2
  109. package/dist/components/pages/collection-detail/detail.mjs +1 -1
  110. package/dist/components/pages/feed-series/feed-series-client.mjs +1 -1
  111. package/dist/components/pages/fullscreen-feed/page.mjs +1 -1
  112. package/dist/components/pages/search/search-result/shared.mjs +1 -1
  113. package/dist/components/pages/search-result/search-video-info.mjs +1 -1
  114. package/dist/components/pages/settings/_components/reset-password-drawer.mjs +1 -1
  115. package/dist/components/ui/badge.d.mts +1 -1
  116. package/dist/components/ui/button.d.mts +2 -2
  117. package/dist/components/ui/empty.d.mts +1 -1
  118. package/dist/components/ui/item.d.mts +1 -1
  119. package/dist/hooks.d.mts +1 -2
  120. package/dist/hooks.mjs +1 -1
  121. package/dist/i18n/locales/en.mjs +1 -1
  122. package/dist/i18n/locales/zh-CN.mjs +1 -1
  123. package/dist/materials.d.mts +1 -2
  124. package/dist/materials.mjs +1 -1
  125. package/dist/service/advertisement.d.mts +1 -1
  126. package/dist/service/advertisement.mjs +1 -1
  127. package/dist/service/generated/client.d.mts +2 -10
  128. package/dist/service/generated/client.mjs +1 -1
  129. package/dist/service/generated/tanstack.d.mts +2 -12
  130. package/dist/service/generated/tanstack.mjs +1 -1
  131. package/dist/service.d.mts +3 -3
  132. package/dist/service.mjs +1 -1
  133. package/dist/store/modules/user-store.d.mts +1 -1
  134. package/dist/store/modules/user-store.mjs +1 -1
  135. package/dist/store.d.mts +1 -3
  136. package/dist/store.mjs +1 -1
  137. package/dist/types.d.mts +1 -171
  138. package/dist/utils/device-id.d.mts +2 -2
  139. package/dist/utils/device-id.mjs +1 -1
  140. package/dist/utils/http.mjs +1 -1
  141. package/dist/utils/password-validator.mjs +1 -1
  142. package/dist/utils/schema/inspector.d.mts +2 -2
  143. package/dist/utils.d.mts +1 -3
  144. package/dist/utils.mjs +1 -1
  145. package/package.json +1 -2
  146. package/dist/components/biz/business/home-recommend/shared/home-recommend-smart-layout.mjs +0 -2
  147. package/dist/components/biz/business/ranking-recommend/client.d.mts +0 -17
  148. package/dist/components/biz/business/ranking-recommend/client.mjs +0 -70
  149. package/dist/components/biz/business/ranking-recommend/material.d.mts +0 -35
  150. package/dist/components/biz/business/ranking-recommend/material.mjs +0 -2
  151. package/dist/components/biz/business/ranking-recommend/schema.d.mts +0 -35
  152. package/dist/components/biz/business/ranking-recommend/schema.mjs +0 -2
  153. package/dist/components/biz/business/ranking-recommend/server.d.mts +0 -11
  154. package/dist/components/biz/business/ranking-recommend/server.mjs +0 -2
  155. package/dist/components/biz/business/ranking-recommend/shared/query.mjs +0 -2
  156. package/dist/components/biz/business/ranking-recommend/shared.d.mts +0 -15
  157. package/dist/components/biz/business/ranking-recommend/shared.mjs +0 -2
  158. package/dist/components/common/video-player/video-blind-ad-overlay.mjs +0 -2
  159. package/dist/components/common/video-player/video-player-ref-context.mjs +0 -2
  160. package/dist/hooks/use-is-client.d.mts +0 -10
  161. package/dist/hooks/use-is-client.mjs +0 -2
  162. package/dist/store/modules/blind-spot-ad-store.d.mts +0 -116
  163. package/dist/store/modules/blind-spot-ad-store.mjs +0 -2
  164. package/dist/store/modules/video-player-ref-store.d.mts +0 -21
  165. package/dist/store/modules/video-player-ref-store.mjs +0 -2
  166. package/dist/utils/browser-fingerprint.d.mts +0 -13
  167. package/dist/utils/browser-fingerprint.mjs +0 -2
  168. package/dist/utils/request-user-id.d.mts +0 -12
  169. package/dist/utils/request-user-id.mjs +0 -2
package/dist/service.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{pContentAdsMatch as e,pContentAdsMatchKey as t}from"./service/advertisement.mjs";import{gCommerceQueryOrderResult as n,gCommunityGetCollectionInfo as r,gCommunityGetComments as i,gCommunityGetContentInfo as a,gCommunityGetContentList as o,gCommunityGetHotContentList as s,gCommunityGetSubscribedCollections as c,gCommunityGetUserCollections as l,gContentGetAdvertiseByCode as u,gContentGetAppChannelBlock as d,gContentGetAppChannelBlockData as f,gContentGetAppChannels as p,gContentGetAppComponent as m,gContentGetGuessYouLikeVideos as h,gContentGetHotVideoList as g,gContentGetRecommendSearchList as _,gContentGetRecommendVideoList as v,gContentGetSeoConfig as y,gContentGetVideoDetail as b,gContentGetVideoDetailByApi as x,gContentListVisibleFloatingBall as S,gContentProcessM3u8 as C,gInteractionCheckMutualFollow as w,gInteractionGetBrowseList as T,gInteractionGetContentDislikeList as E,gInteractionGetContentLikeList as D,gInteractionGetDislikeList as O,gInteractionGetFolder as k,gInteractionGetFolderStats as A,gInteractionGetFollowStats as j,gInteractionGetFollowerList as M,gInteractionGetFollowingContentList as N,gInteractionGetFollowingList as P,gInteractionGetFollowingUserUpdates as F,gInteractionGetLikeList as I,gInteractionListCollects as L,gInteractionListFolders as R,gUserGetGuestIdentity as z,gUserGetUserEditInfo as B,gUserGetUserInfo as V,gUserGetUserPrivacySettings as H,gUserGetVisitorPermissionConfig as U,gUserViewUserInfo as W,pCommerceCreatePayment as G,pCommerceGetPaymentMethods as K,pCommercePaymentSuccessCallback as q,pCommerceRefundCallback as J,pCommunityAddContentToCollection as Y,pCommunityBatchDeleteCollection as X,pCommunityCreateCollection as Z,pCommunityCreateComment as Q,pCommunityDeleteCollection as $,pCommunityDeleteComment as ee,pCommunityDeleteContent as te,pCommunityDislikeComment as ne,pCommunityGetUploadPresignedURL as re,pCommunityLikeComment as ie,pCommunityMoveCollectionContent as ae,pCommunityPublishContent as oe,pCommunityRemoveContentFromCollection as se,pCommunitySearchCurAccountFollowingUsersInfo as ce,pCommunityShareContent as le,pCommunitySubscribeCollection as ue,pCommunityUpdateCollection as de,pCommunityUpdateContent as fe,pCommunityUploadMedia as pe,pContentBatchGetVideoDetail as me,pContentGetMostPlayedVideoList as he,pContentGetNewstVideoList as ge,pContentGetPopularVideoList as _e,pContentGetTopRatedVideoList as ve,pContentMatchAds as ye,pInteractionAddCollect as be,pInteractionBatchClearBrowse as xe,pInteractionBatchDeleteCollects as Se,pInteractionBatchDeleteFolders as Ce,pInteractionBatchGetCommentLikeStatus as we,pInteractionBatchGetFollowStats as Te,pInteractionBatchGetLikeStatus as Ee,pInteractionBatchQueryContentInteractions as De,pInteractionBrowse as Oe,pInteractionCancelDislike as ke,pInteractionCancelLike as Ae,pInteractionCheckCollect as je,pInteractionCheckFollow as Me,pInteractionClearBrowseHistory as Ne,pInteractionCreateFolder as Pe,pInteractionDeleteBrowseRecord as Fe,pInteractionDeleteFolder as Ie,pInteractionDislike as Le,pInteractionDislikeComment as Re,pInteractionFollow as ze,pInteractionLike as Be,pInteractionLikeComment as Ve,pInteractionMoveCollects as He,pInteractionRemoveCollect as Ue,pInteractionTrackEventsBatch as We,pInteractionUnfollow as Ge,pInteractionUnifiedBatchLikeDislike as Ke,pInteractionUpdateFolder as qe,pInteractionUpdateFollowingContentUpdateTime as Je,pUserEditUserInfo as Ye,pUserLogin as Xe,pUserRegister as Ze,pUserRegisterByVerifyEmailCode as Qe,pUserResetForgetPassword as $e,pUserResetPassword as et,pUserSendEmailCode as tt,pUserSendForgetEmailCode as nt,pUserSendResetPasswordEmailCode as rt,pUserUploadUserBgImage as it,pUserUserFeedback as at,pUserUserPrivacySettings as ot,pUserVerifyEmailCode as st,pUserVerifyForgetEmailCode as ct,pUserVerifyResetPasswordEmailCode as lt}from"./service/generated/client.mjs";import{createQueryKey as ut,gCommerceQueryOrderResultKey as dt,gCommunityGetCollectionInfoKey as ft,gCommunityGetCommentsKey as pt,gCommunityGetContentInfoKey as mt,gCommunityGetContentListKey as ht,gCommunityGetHotContentListKey as gt,gCommunityGetSubscribedCollectionsKey as _t,gCommunityGetUserCollectionsKey as vt,gContentGetAdvertiseByCodeKey as yt,gContentGetAppChannelBlockDataKey as bt,gContentGetAppChannelBlockKey as xt,gContentGetAppChannelsKey as St,gContentGetAppComponentKey as Ct,gContentGetGuessYouLikeVideosKey as wt,gContentGetHotVideoListKey as Tt,gContentGetRecommendSearchListKey as Et,gContentGetRecommendVideoListKey as Dt,gContentGetSeoConfigKey as Ot,gContentGetVideoDetailByApiKey as kt,gContentGetVideoDetailKey as At,gContentListVisibleFloatingBallKey as jt,gContentProcessM3u8Key as Mt,gInteractionCheckMutualFollowKey as Nt,gInteractionGetBrowseListKey as Pt,gInteractionGetContentDislikeListKey as Ft,gInteractionGetContentLikeListKey as It,gInteractionGetDislikeListKey as Lt,gInteractionGetFolderKey as Rt,gInteractionGetFolderStatsKey as zt,gInteractionGetFollowStatsKey as Bt,gInteractionGetFollowerListKey as Vt,gInteractionGetFollowingContentListKey as Ht,gInteractionGetFollowingListKey as Ut,gInteractionGetFollowingUserUpdatesKey as Wt,gInteractionGetLikeListKey as Gt,gInteractionListCollectsKey as Kt,gInteractionListFoldersKey as qt,gUserGetGuestIdentityKey as Jt,gUserGetUserEditInfoKey as Yt,gUserGetUserInfoKey as Xt,gUserGetUserPrivacySettingsKey as Zt,gUserGetVisitorPermissionConfigKey as Qt,gUserViewUserInfoKey as $t,pCommerceCreatePaymentKey as en,pCommerceGetPaymentMethodsKey as tn,pCommercePaymentSuccessCallbackKey as nn,pCommerceRefundCallbackKey as rn,pCommunityAddContentToCollectionKey as an,pCommunityBatchDeleteCollectionKey as on,pCommunityCreateCollectionKey as sn,pCommunityCreateCommentKey as cn,pCommunityDeleteCollectionKey as ln,pCommunityDeleteCommentKey as un,pCommunityDeleteContentKey as dn,pCommunityDislikeCommentKey as fn,pCommunityGetUploadPresignedURLKey as pn,pCommunityLikeCommentKey as mn,pCommunityMoveCollectionContentKey as hn,pCommunityPublishContentKey as gn,pCommunityRemoveContentFromCollectionKey as _n,pCommunitySearchCurAccountFollowingUsersInfoKey as vn,pCommunityShareContentKey as yn,pCommunitySubscribeCollectionKey as bn,pCommunityUpdateCollectionKey as xn,pCommunityUpdateContentKey as Sn,pCommunityUploadMediaKey as Cn,pContentBatchGetVideoDetailKey as wn,pContentGetMostPlayedVideoListKey as Tn,pContentGetNewstVideoListKey as En,pContentGetPopularVideoListKey as Dn,pContentGetTopRatedVideoListKey as On,pContentMatchAdsKey as kn,pInteractionAddCollectKey as An,pInteractionBatchClearBrowseKey as jn,pInteractionBatchDeleteCollectsKey as Mn,pInteractionBatchDeleteFoldersKey as Nn,pInteractionBatchGetCommentLikeStatusKey as Pn,pInteractionBatchGetFollowStatsKey as Fn,pInteractionBatchGetLikeStatusKey as In,pInteractionBatchQueryContentInteractionsKey as Ln,pInteractionBrowseKey as Rn,pInteractionCancelDislikeKey as zn,pInteractionCancelLikeKey as Bn,pInteractionCheckCollectKey as Vn,pInteractionCheckFollowKey as Hn,pInteractionClearBrowseHistoryKey as Un,pInteractionCreateFolderKey as Wn,pInteractionDeleteBrowseRecordKey as Gn,pInteractionDeleteFolderKey as Kn,pInteractionDislikeCommentKey as qn,pInteractionDislikeKey as Jn,pInteractionFollowKey as Yn,pInteractionLikeCommentKey as Xn,pInteractionLikeKey as Zn,pInteractionMoveCollectsKey as Qn,pInteractionRemoveCollectKey as $n,pInteractionTrackEventsBatchKey as er,pInteractionUnfollowKey as tr,pInteractionUnifiedBatchLikeDislikeKey as nr,pInteractionUpdateFolderKey as rr,pInteractionUpdateFollowingContentUpdateTimeKey as ir,pUserEditUserInfoKey as ar,pUserLoginKey as or,pUserRegisterByVerifyEmailCodeKey as sr,pUserRegisterKey as cr,pUserResetForgetPasswordKey as lr,pUserResetPasswordKey as ur,pUserSendEmailCodeKey as dr,pUserSendForgetEmailCodeKey as fr,pUserSendResetPasswordEmailCodeKey as pr,pUserUploadUserBgImageKey as mr,pUserUserFeedbackKey as hr,pUserUserPrivacySettingsKey as gr,pUserVerifyEmailCodeKey as _r,pUserVerifyForgetEmailCodeKey as vr,pUserVerifyResetPasswordEmailCodeKey as yr}from"./service/generated/tanstack.mjs";import{pUserRegisterByVerifyEmailCodeCompat as br}from"./service/register-by-verify-email-code.mjs";export{ut as createQueryKey,n as gCommerceQueryOrderResult,dt as gCommerceQueryOrderResultKey,r as gCommunityGetCollectionInfo,ft as gCommunityGetCollectionInfoKey,i as gCommunityGetComments,pt as gCommunityGetCommentsKey,a as gCommunityGetContentInfo,mt as gCommunityGetContentInfoKey,o as gCommunityGetContentList,ht as gCommunityGetContentListKey,s as gCommunityGetHotContentList,gt as gCommunityGetHotContentListKey,c as gCommunityGetSubscribedCollections,_t as gCommunityGetSubscribedCollectionsKey,l as gCommunityGetUserCollections,vt as gCommunityGetUserCollectionsKey,u as gContentGetAdvertiseByCode,yt as gContentGetAdvertiseByCodeKey,d as gContentGetAppChannelBlock,f as gContentGetAppChannelBlockData,bt as gContentGetAppChannelBlockDataKey,xt as gContentGetAppChannelBlockKey,p as gContentGetAppChannels,St as gContentGetAppChannelsKey,m as gContentGetAppComponent,Ct as gContentGetAppComponentKey,h as gContentGetGuessYouLikeVideos,wt as gContentGetGuessYouLikeVideosKey,g as gContentGetHotVideoList,Tt as gContentGetHotVideoListKey,_ as gContentGetRecommendSearchList,Et as gContentGetRecommendSearchListKey,v as gContentGetRecommendVideoList,Dt as gContentGetRecommendVideoListKey,y as gContentGetSeoConfig,Ot as gContentGetSeoConfigKey,b as gContentGetVideoDetail,x as gContentGetVideoDetailByApi,kt as gContentGetVideoDetailByApiKey,At as gContentGetVideoDetailKey,S as gContentListVisibleFloatingBall,jt as gContentListVisibleFloatingBallKey,C as gContentProcessM3u8,Mt as gContentProcessM3u8Key,w as gInteractionCheckMutualFollow,Nt as gInteractionCheckMutualFollowKey,T as gInteractionGetBrowseList,Pt as gInteractionGetBrowseListKey,E as gInteractionGetContentDislikeList,Ft as gInteractionGetContentDislikeListKey,D as gInteractionGetContentLikeList,It as gInteractionGetContentLikeListKey,O as gInteractionGetDislikeList,Lt as gInteractionGetDislikeListKey,k as gInteractionGetFolder,Rt as gInteractionGetFolderKey,A as gInteractionGetFolderStats,zt as gInteractionGetFolderStatsKey,j as gInteractionGetFollowStats,Bt as gInteractionGetFollowStatsKey,M as gInteractionGetFollowerList,Vt as gInteractionGetFollowerListKey,N as gInteractionGetFollowingContentList,Ht as gInteractionGetFollowingContentListKey,P as gInteractionGetFollowingList,Ut as gInteractionGetFollowingListKey,F as gInteractionGetFollowingUserUpdates,Wt as gInteractionGetFollowingUserUpdatesKey,I as gInteractionGetLikeList,Gt as gInteractionGetLikeListKey,L as gInteractionListCollects,Kt as gInteractionListCollectsKey,R as gInteractionListFolders,qt as gInteractionListFoldersKey,z as gUserGetGuestIdentity,Jt as gUserGetGuestIdentityKey,B as gUserGetUserEditInfo,Yt as gUserGetUserEditInfoKey,V as gUserGetUserInfo,Xt as gUserGetUserInfoKey,H as gUserGetUserPrivacySettings,Zt as gUserGetUserPrivacySettingsKey,U as gUserGetVisitorPermissionConfig,Qt as gUserGetVisitorPermissionConfigKey,W as gUserViewUserInfo,$t as gUserViewUserInfoKey,G as pCommerceCreatePayment,en as pCommerceCreatePaymentKey,K as pCommerceGetPaymentMethods,tn as pCommerceGetPaymentMethodsKey,q as pCommercePaymentSuccessCallback,nn as pCommercePaymentSuccessCallbackKey,J as pCommerceRefundCallback,rn as pCommerceRefundCallbackKey,Y as pCommunityAddContentToCollection,an as pCommunityAddContentToCollectionKey,X as pCommunityBatchDeleteCollection,on as pCommunityBatchDeleteCollectionKey,Z as pCommunityCreateCollection,sn as pCommunityCreateCollectionKey,Q as pCommunityCreateComment,cn as pCommunityCreateCommentKey,$ as pCommunityDeleteCollection,ln as pCommunityDeleteCollectionKey,ee as pCommunityDeleteComment,un as pCommunityDeleteCommentKey,te as pCommunityDeleteContent,dn as pCommunityDeleteContentKey,ne as pCommunityDislikeComment,fn as pCommunityDislikeCommentKey,re as pCommunityGetUploadPresignedURL,pn as pCommunityGetUploadPresignedURLKey,ie as pCommunityLikeComment,mn as pCommunityLikeCommentKey,ae as pCommunityMoveCollectionContent,hn as pCommunityMoveCollectionContentKey,oe as pCommunityPublishContent,gn as pCommunityPublishContentKey,se as pCommunityRemoveContentFromCollection,_n as pCommunityRemoveContentFromCollectionKey,ce as pCommunitySearchCurAccountFollowingUsersInfo,vn as pCommunitySearchCurAccountFollowingUsersInfoKey,le as pCommunityShareContent,yn as pCommunityShareContentKey,ue as pCommunitySubscribeCollection,bn as pCommunitySubscribeCollectionKey,de as pCommunityUpdateCollection,xn as pCommunityUpdateCollectionKey,fe as pCommunityUpdateContent,Sn as pCommunityUpdateContentKey,pe as pCommunityUploadMedia,Cn as pCommunityUploadMediaKey,e as pContentAdsMatch,t as pContentAdsMatchKey,me as pContentBatchGetVideoDetail,wn as pContentBatchGetVideoDetailKey,he as pContentGetMostPlayedVideoList,Tn as pContentGetMostPlayedVideoListKey,ge as pContentGetNewstVideoList,En as pContentGetNewstVideoListKey,_e as pContentGetPopularVideoList,Dn as pContentGetPopularVideoListKey,ve as pContentGetTopRatedVideoList,On as pContentGetTopRatedVideoListKey,ye as pContentMatchAds,kn as pContentMatchAdsKey,be as pInteractionAddCollect,An as pInteractionAddCollectKey,xe as pInteractionBatchClearBrowse,jn as pInteractionBatchClearBrowseKey,Se as pInteractionBatchDeleteCollects,Mn as pInteractionBatchDeleteCollectsKey,Ce as pInteractionBatchDeleteFolders,Nn as pInteractionBatchDeleteFoldersKey,we as pInteractionBatchGetCommentLikeStatus,Pn as pInteractionBatchGetCommentLikeStatusKey,Te as pInteractionBatchGetFollowStats,Fn as pInteractionBatchGetFollowStatsKey,Ee as pInteractionBatchGetLikeStatus,In as pInteractionBatchGetLikeStatusKey,De as pInteractionBatchQueryContentInteractions,Ln as pInteractionBatchQueryContentInteractionsKey,Oe as pInteractionBrowse,Rn as pInteractionBrowseKey,ke as pInteractionCancelDislike,zn as pInteractionCancelDislikeKey,Ae as pInteractionCancelLike,Bn as pInteractionCancelLikeKey,je as pInteractionCheckCollect,Vn as pInteractionCheckCollectKey,Me as pInteractionCheckFollow,Hn as pInteractionCheckFollowKey,Ne as pInteractionClearBrowseHistory,Un as pInteractionClearBrowseHistoryKey,Pe as pInteractionCreateFolder,Wn as pInteractionCreateFolderKey,Fe as pInteractionDeleteBrowseRecord,Gn as pInteractionDeleteBrowseRecordKey,Ie as pInteractionDeleteFolder,Kn as pInteractionDeleteFolderKey,Le as pInteractionDislike,Re as pInteractionDislikeComment,qn as pInteractionDislikeCommentKey,Jn as pInteractionDislikeKey,ze as pInteractionFollow,Yn as pInteractionFollowKey,Be as pInteractionLike,Ve as pInteractionLikeComment,Xn as pInteractionLikeCommentKey,Zn as pInteractionLikeKey,He as pInteractionMoveCollects,Qn as pInteractionMoveCollectsKey,Ue as pInteractionRemoveCollect,$n as pInteractionRemoveCollectKey,We as pInteractionTrackEventsBatch,er as pInteractionTrackEventsBatchKey,Ge as pInteractionUnfollow,tr as pInteractionUnfollowKey,Ke as pInteractionUnifiedBatchLikeDislike,nr as pInteractionUnifiedBatchLikeDislikeKey,qe as pInteractionUpdateFolder,rr as pInteractionUpdateFolderKey,Je as pInteractionUpdateFollowingContentUpdateTime,ir as pInteractionUpdateFollowingContentUpdateTimeKey,Ye as pUserEditUserInfo,ar as pUserEditUserInfoKey,Xe as pUserLogin,or as pUserLoginKey,Ze as pUserRegister,Qe as pUserRegisterByVerifyEmailCode,br as pUserRegisterByVerifyEmailCodeCompat,sr as pUserRegisterByVerifyEmailCodeKey,cr as pUserRegisterKey,$e as pUserResetForgetPassword,lr as pUserResetForgetPasswordKey,et as pUserResetPassword,ur as pUserResetPasswordKey,tt as pUserSendEmailCode,dr as pUserSendEmailCodeKey,nt as pUserSendForgetEmailCode,fr as pUserSendForgetEmailCodeKey,rt as pUserSendResetPasswordEmailCode,pr as pUserSendResetPasswordEmailCodeKey,it as pUserUploadUserBgImage,mr as pUserUploadUserBgImageKey,at as pUserUserFeedback,hr as pUserUserFeedbackKey,ot as pUserUserPrivacySettings,gr as pUserUserPrivacySettingsKey,st as pUserVerifyEmailCode,_r as pUserVerifyEmailCodeKey,ct as pUserVerifyForgetEmailCode,vr as pUserVerifyForgetEmailCodeKey,lt as pUserVerifyResetPasswordEmailCode,yr as pUserVerifyResetPasswordEmailCodeKey};
2
+ import{pContentAdsMatch as e,pContentAdsMatchKey as t}from"./service/advertisement.mjs";import{gCommerceQueryOrderResult as n,gCommunityGetCollectionInfo as r,gCommunityGetComments as i,gCommunityGetContentInfo as a,gCommunityGetContentList as o,gCommunityGetHotContentList as s,gCommunityGetSubscribedCollections as c,gCommunityGetUserCollections as l,gContentGetAdvertiseByCode as u,gContentGetAppChannelBlock as d,gContentGetAppChannelBlockData as f,gContentGetAppChannels as p,gContentGetAppComponent as m,gContentGetGuessYouLikeVideos as h,gContentGetHotVideoList as g,gContentGetRecommendSearchList as _,gContentGetRecommendVideoList as v,gContentGetSeoConfig as y,gContentGetVideoDetail as b,gContentGetVideoDetailByApi as x,gContentListVisibleFloatingBall as S,gContentProcessM3u8 as C,gInteractionCheckMutualFollow as w,gInteractionGetBrowseList as T,gInteractionGetContentDislikeList as E,gInteractionGetContentLikeList as D,gInteractionGetDislikeList as O,gInteractionGetFolder as k,gInteractionGetFolderStats as A,gInteractionGetFollowStats as j,gInteractionGetFollowerList as M,gInteractionGetFollowingContentList as N,gInteractionGetFollowingList as P,gInteractionGetFollowingUserUpdates as F,gInteractionGetLikeList as I,gInteractionListCollects as L,gInteractionListFolders as R,gUserGetGuestIdentity as z,gUserGetUserEditInfo as B,gUserGetUserInfo as V,gUserGetUserPrivacySettings as H,gUserViewUserInfo as U,pCommerceCreatePayment as W,pCommerceGetPaymentMethods as G,pCommercePaymentSuccessCallback as K,pCommerceRefundCallback as q,pCommunityAddContentToCollection as J,pCommunityBatchDeleteCollection as Y,pCommunityCreateCollection as X,pCommunityCreateComment as Z,pCommunityDeleteCollection as Q,pCommunityDeleteComment as $,pCommunityDeleteContent as ee,pCommunityDislikeComment as te,pCommunityGetUploadPresignedURL as ne,pCommunityLikeComment as re,pCommunityMoveCollectionContent as ie,pCommunityPublishContent as ae,pCommunityRemoveContentFromCollection as oe,pCommunitySearchCurAccountFollowingUsersInfo as se,pCommunityShareContent as ce,pCommunitySubscribeCollection as le,pCommunityUpdateCollection as ue,pCommunityUpdateContent as de,pCommunityUploadMedia as fe,pContentBatchGetVideoDetail as pe,pContentGetNewstVideoList as me,pContentGetPopularVideoList as he,pContentGetTopRatedVideoList as ge,pContentMatchAds as _e,pInteractionAddCollect as ve,pInteractionBatchClearBrowse as ye,pInteractionBatchDeleteCollects as be,pInteractionBatchDeleteFolders as xe,pInteractionBatchGetCommentLikeStatus as Se,pInteractionBatchGetFollowStats as Ce,pInteractionBatchGetLikeStatus as we,pInteractionBatchQueryContentInteractions as Te,pInteractionBrowse as Ee,pInteractionCancelDislike as De,pInteractionCancelLike as Oe,pInteractionCheckCollect as ke,pInteractionCheckFollow as Ae,pInteractionClearBrowseHistory as je,pInteractionCreateFolder as Me,pInteractionDeleteBrowseRecord as Ne,pInteractionDeleteFolder as Pe,pInteractionDislike as Fe,pInteractionDislikeComment as Ie,pInteractionFollow as Le,pInteractionLike as Re,pInteractionLikeComment as ze,pInteractionMoveCollects as Be,pInteractionRemoveCollect as Ve,pInteractionTrackEventsBatch as He,pInteractionUnfollow as Ue,pInteractionUnifiedBatchLikeDislike as We,pInteractionUpdateFolder as Ge,pInteractionUpdateFollowingContentUpdateTime as Ke,pUserEditUserInfo as qe,pUserLogin as Je,pUserRegister as Ye,pUserRegisterByVerifyEmailCode as Xe,pUserResetForgetPassword as Ze,pUserResetPassword as Qe,pUserSendEmailCode as $e,pUserSendForgetEmailCode as et,pUserSendResetPasswordEmailCode as tt,pUserUploadUserBgImage as nt,pUserUserFeedback as rt,pUserUserPrivacySettings as it,pUserVerifyEmailCode as at,pUserVerifyForgetEmailCode as ot,pUserVerifyResetPasswordEmailCode as st}from"./service/generated/client.mjs";import{createQueryKey as ct,gCommerceQueryOrderResultKey as lt,gCommunityGetCollectionInfoKey as ut,gCommunityGetCommentsKey as dt,gCommunityGetContentInfoKey as ft,gCommunityGetContentListKey as pt,gCommunityGetHotContentListKey as mt,gCommunityGetSubscribedCollectionsKey as ht,gCommunityGetUserCollectionsKey as gt,gContentGetAdvertiseByCodeKey as _t,gContentGetAppChannelBlockDataKey as vt,gContentGetAppChannelBlockKey as yt,gContentGetAppChannelsKey as bt,gContentGetAppComponentKey as xt,gContentGetGuessYouLikeVideosKey as St,gContentGetHotVideoListKey as Ct,gContentGetRecommendSearchListKey as wt,gContentGetRecommendVideoListKey as Tt,gContentGetSeoConfigKey as Et,gContentGetVideoDetailByApiKey as Dt,gContentGetVideoDetailKey as Ot,gContentListVisibleFloatingBallKey as kt,gContentProcessM3u8Key as At,gInteractionCheckMutualFollowKey as jt,gInteractionGetBrowseListKey as Mt,gInteractionGetContentDislikeListKey as Nt,gInteractionGetContentLikeListKey as Pt,gInteractionGetDislikeListKey as Ft,gInteractionGetFolderKey as It,gInteractionGetFolderStatsKey as Lt,gInteractionGetFollowStatsKey as Rt,gInteractionGetFollowerListKey as zt,gInteractionGetFollowingContentListKey as Bt,gInteractionGetFollowingListKey as Vt,gInteractionGetFollowingUserUpdatesKey as Ht,gInteractionGetLikeListKey as Ut,gInteractionListCollectsKey as Wt,gInteractionListFoldersKey as Gt,gUserGetGuestIdentityKey as Kt,gUserGetUserEditInfoKey as qt,gUserGetUserInfoKey as Jt,gUserGetUserPrivacySettingsKey as Yt,gUserViewUserInfoKey as Xt,pCommerceCreatePaymentKey as Zt,pCommerceGetPaymentMethodsKey as Qt,pCommercePaymentSuccessCallbackKey as $t,pCommerceRefundCallbackKey as en,pCommunityAddContentToCollectionKey as tn,pCommunityBatchDeleteCollectionKey as nn,pCommunityCreateCollectionKey as rn,pCommunityCreateCommentKey as an,pCommunityDeleteCollectionKey as on,pCommunityDeleteCommentKey as sn,pCommunityDeleteContentKey as cn,pCommunityDislikeCommentKey as ln,pCommunityGetUploadPresignedURLKey as un,pCommunityLikeCommentKey as dn,pCommunityMoveCollectionContentKey as fn,pCommunityPublishContentKey as pn,pCommunityRemoveContentFromCollectionKey as mn,pCommunitySearchCurAccountFollowingUsersInfoKey as hn,pCommunityShareContentKey as gn,pCommunitySubscribeCollectionKey as _n,pCommunityUpdateCollectionKey as vn,pCommunityUpdateContentKey as yn,pCommunityUploadMediaKey as bn,pContentBatchGetVideoDetailKey as xn,pContentGetNewstVideoListKey as Sn,pContentGetPopularVideoListKey as Cn,pContentGetTopRatedVideoListKey as wn,pContentMatchAdsKey as Tn,pInteractionAddCollectKey as En,pInteractionBatchClearBrowseKey as Dn,pInteractionBatchDeleteCollectsKey as On,pInteractionBatchDeleteFoldersKey as kn,pInteractionBatchGetCommentLikeStatusKey as An,pInteractionBatchGetFollowStatsKey as jn,pInteractionBatchGetLikeStatusKey as Mn,pInteractionBatchQueryContentInteractionsKey as Nn,pInteractionBrowseKey as Pn,pInteractionCancelDislikeKey as Fn,pInteractionCancelLikeKey as In,pInteractionCheckCollectKey as Ln,pInteractionCheckFollowKey as Rn,pInteractionClearBrowseHistoryKey as zn,pInteractionCreateFolderKey as Bn,pInteractionDeleteBrowseRecordKey as Vn,pInteractionDeleteFolderKey as Hn,pInteractionDislikeCommentKey as Un,pInteractionDislikeKey as Wn,pInteractionFollowKey as Gn,pInteractionLikeCommentKey as Kn,pInteractionLikeKey as qn,pInteractionMoveCollectsKey as Jn,pInteractionRemoveCollectKey as Yn,pInteractionTrackEventsBatchKey as Xn,pInteractionUnfollowKey as Zn,pInteractionUnifiedBatchLikeDislikeKey as Qn,pInteractionUpdateFolderKey as $n,pInteractionUpdateFollowingContentUpdateTimeKey as er,pUserEditUserInfoKey as tr,pUserLoginKey as nr,pUserRegisterByVerifyEmailCodeKey as rr,pUserRegisterKey as ir,pUserResetForgetPasswordKey as ar,pUserResetPasswordKey as or,pUserSendEmailCodeKey as sr,pUserSendForgetEmailCodeKey as cr,pUserSendResetPasswordEmailCodeKey as lr,pUserUploadUserBgImageKey as ur,pUserUserFeedbackKey as dr,pUserUserPrivacySettingsKey as fr,pUserVerifyEmailCodeKey as pr,pUserVerifyForgetEmailCodeKey as mr,pUserVerifyResetPasswordEmailCodeKey as hr}from"./service/generated/tanstack.mjs";import{pUserRegisterByVerifyEmailCodeCompat as gr}from"./service/register-by-verify-email-code.mjs";export{ct as createQueryKey,n as gCommerceQueryOrderResult,lt as gCommerceQueryOrderResultKey,r as gCommunityGetCollectionInfo,ut as gCommunityGetCollectionInfoKey,i as gCommunityGetComments,dt as gCommunityGetCommentsKey,a as gCommunityGetContentInfo,ft as gCommunityGetContentInfoKey,o as gCommunityGetContentList,pt as gCommunityGetContentListKey,s as gCommunityGetHotContentList,mt as gCommunityGetHotContentListKey,c as gCommunityGetSubscribedCollections,ht as gCommunityGetSubscribedCollectionsKey,l as gCommunityGetUserCollections,gt as gCommunityGetUserCollectionsKey,u as gContentGetAdvertiseByCode,_t as gContentGetAdvertiseByCodeKey,d as gContentGetAppChannelBlock,f as gContentGetAppChannelBlockData,vt as gContentGetAppChannelBlockDataKey,yt as gContentGetAppChannelBlockKey,p as gContentGetAppChannels,bt as gContentGetAppChannelsKey,m as gContentGetAppComponent,xt as gContentGetAppComponentKey,h as gContentGetGuessYouLikeVideos,St as gContentGetGuessYouLikeVideosKey,g as gContentGetHotVideoList,Ct as gContentGetHotVideoListKey,_ as gContentGetRecommendSearchList,wt as gContentGetRecommendSearchListKey,v as gContentGetRecommendVideoList,Tt as gContentGetRecommendVideoListKey,y as gContentGetSeoConfig,Et as gContentGetSeoConfigKey,b as gContentGetVideoDetail,x as gContentGetVideoDetailByApi,Dt as gContentGetVideoDetailByApiKey,Ot as gContentGetVideoDetailKey,S as gContentListVisibleFloatingBall,kt as gContentListVisibleFloatingBallKey,C as gContentProcessM3u8,At as gContentProcessM3u8Key,w as gInteractionCheckMutualFollow,jt as gInteractionCheckMutualFollowKey,T as gInteractionGetBrowseList,Mt as gInteractionGetBrowseListKey,E as gInteractionGetContentDislikeList,Nt as gInteractionGetContentDislikeListKey,D as gInteractionGetContentLikeList,Pt as gInteractionGetContentLikeListKey,O as gInteractionGetDislikeList,Ft as gInteractionGetDislikeListKey,k as gInteractionGetFolder,It as gInteractionGetFolderKey,A as gInteractionGetFolderStats,Lt as gInteractionGetFolderStatsKey,j as gInteractionGetFollowStats,Rt as gInteractionGetFollowStatsKey,M as gInteractionGetFollowerList,zt as gInteractionGetFollowerListKey,N as gInteractionGetFollowingContentList,Bt as gInteractionGetFollowingContentListKey,P as gInteractionGetFollowingList,Vt as gInteractionGetFollowingListKey,F as gInteractionGetFollowingUserUpdates,Ht as gInteractionGetFollowingUserUpdatesKey,I as gInteractionGetLikeList,Ut as gInteractionGetLikeListKey,L as gInteractionListCollects,Wt as gInteractionListCollectsKey,R as gInteractionListFolders,Gt as gInteractionListFoldersKey,z as gUserGetGuestIdentity,Kt as gUserGetGuestIdentityKey,B as gUserGetUserEditInfo,qt as gUserGetUserEditInfoKey,V as gUserGetUserInfo,Jt as gUserGetUserInfoKey,H as gUserGetUserPrivacySettings,Yt as gUserGetUserPrivacySettingsKey,U as gUserViewUserInfo,Xt as gUserViewUserInfoKey,W as pCommerceCreatePayment,Zt as pCommerceCreatePaymentKey,G as pCommerceGetPaymentMethods,Qt as pCommerceGetPaymentMethodsKey,K as pCommercePaymentSuccessCallback,$t as pCommercePaymentSuccessCallbackKey,q as pCommerceRefundCallback,en as pCommerceRefundCallbackKey,J as pCommunityAddContentToCollection,tn as pCommunityAddContentToCollectionKey,Y as pCommunityBatchDeleteCollection,nn as pCommunityBatchDeleteCollectionKey,X as pCommunityCreateCollection,rn as pCommunityCreateCollectionKey,Z as pCommunityCreateComment,an as pCommunityCreateCommentKey,Q as pCommunityDeleteCollection,on as pCommunityDeleteCollectionKey,$ as pCommunityDeleteComment,sn as pCommunityDeleteCommentKey,ee as pCommunityDeleteContent,cn as pCommunityDeleteContentKey,te as pCommunityDislikeComment,ln as pCommunityDislikeCommentKey,ne as pCommunityGetUploadPresignedURL,un as pCommunityGetUploadPresignedURLKey,re as pCommunityLikeComment,dn as pCommunityLikeCommentKey,ie as pCommunityMoveCollectionContent,fn as pCommunityMoveCollectionContentKey,ae as pCommunityPublishContent,pn as pCommunityPublishContentKey,oe as pCommunityRemoveContentFromCollection,mn as pCommunityRemoveContentFromCollectionKey,se as pCommunitySearchCurAccountFollowingUsersInfo,hn as pCommunitySearchCurAccountFollowingUsersInfoKey,ce as pCommunityShareContent,gn as pCommunityShareContentKey,le as pCommunitySubscribeCollection,_n as pCommunitySubscribeCollectionKey,ue as pCommunityUpdateCollection,vn as pCommunityUpdateCollectionKey,de as pCommunityUpdateContent,yn as pCommunityUpdateContentKey,fe as pCommunityUploadMedia,bn as pCommunityUploadMediaKey,e as pContentAdsMatch,t as pContentAdsMatchKey,pe as pContentBatchGetVideoDetail,xn as pContentBatchGetVideoDetailKey,me as pContentGetNewstVideoList,Sn as pContentGetNewstVideoListKey,he as pContentGetPopularVideoList,Cn as pContentGetPopularVideoListKey,ge as pContentGetTopRatedVideoList,wn as pContentGetTopRatedVideoListKey,_e as pContentMatchAds,Tn as pContentMatchAdsKey,ve as pInteractionAddCollect,En as pInteractionAddCollectKey,ye as pInteractionBatchClearBrowse,Dn as pInteractionBatchClearBrowseKey,be as pInteractionBatchDeleteCollects,On as pInteractionBatchDeleteCollectsKey,xe as pInteractionBatchDeleteFolders,kn as pInteractionBatchDeleteFoldersKey,Se as pInteractionBatchGetCommentLikeStatus,An as pInteractionBatchGetCommentLikeStatusKey,Ce as pInteractionBatchGetFollowStats,jn as pInteractionBatchGetFollowStatsKey,we as pInteractionBatchGetLikeStatus,Mn as pInteractionBatchGetLikeStatusKey,Te as pInteractionBatchQueryContentInteractions,Nn as pInteractionBatchQueryContentInteractionsKey,Ee as pInteractionBrowse,Pn as pInteractionBrowseKey,De as pInteractionCancelDislike,Fn as pInteractionCancelDislikeKey,Oe as pInteractionCancelLike,In as pInteractionCancelLikeKey,ke as pInteractionCheckCollect,Ln as pInteractionCheckCollectKey,Ae as pInteractionCheckFollow,Rn as pInteractionCheckFollowKey,je as pInteractionClearBrowseHistory,zn as pInteractionClearBrowseHistoryKey,Me as pInteractionCreateFolder,Bn as pInteractionCreateFolderKey,Ne as pInteractionDeleteBrowseRecord,Vn as pInteractionDeleteBrowseRecordKey,Pe as pInteractionDeleteFolder,Hn as pInteractionDeleteFolderKey,Fe as pInteractionDislike,Ie as pInteractionDislikeComment,Un as pInteractionDislikeCommentKey,Wn as pInteractionDislikeKey,Le as pInteractionFollow,Gn as pInteractionFollowKey,Re as pInteractionLike,ze as pInteractionLikeComment,Kn as pInteractionLikeCommentKey,qn as pInteractionLikeKey,Be as pInteractionMoveCollects,Jn as pInteractionMoveCollectsKey,Ve as pInteractionRemoveCollect,Yn as pInteractionRemoveCollectKey,He as pInteractionTrackEventsBatch,Xn as pInteractionTrackEventsBatchKey,Ue as pInteractionUnfollow,Zn as pInteractionUnfollowKey,We as pInteractionUnifiedBatchLikeDislike,Qn as pInteractionUnifiedBatchLikeDislikeKey,Ge as pInteractionUpdateFolder,$n as pInteractionUpdateFolderKey,Ke as pInteractionUpdateFollowingContentUpdateTime,er as pInteractionUpdateFollowingContentUpdateTimeKey,qe as pUserEditUserInfo,tr as pUserEditUserInfoKey,Je as pUserLogin,nr as pUserLoginKey,Ye as pUserRegister,Xe as pUserRegisterByVerifyEmailCode,gr as pUserRegisterByVerifyEmailCodeCompat,rr as pUserRegisterByVerifyEmailCodeKey,ir as pUserRegisterKey,Ze as pUserResetForgetPassword,ar as pUserResetForgetPasswordKey,Qe as pUserResetPassword,or as pUserResetPasswordKey,$e as pUserSendEmailCode,sr as pUserSendEmailCodeKey,et as pUserSendForgetEmailCode,cr as pUserSendForgetEmailCodeKey,tt as pUserSendResetPasswordEmailCode,lr as pUserSendResetPasswordEmailCodeKey,nt as pUserUploadUserBgImage,ur as pUserUploadUserBgImageKey,rt as pUserUserFeedback,dr as pUserUserFeedbackKey,it as pUserUserPrivacySettings,fr as pUserUserPrivacySettingsKey,at as pUserVerifyEmailCode,pr as pUserVerifyEmailCodeKey,ot as pUserVerifyForgetEmailCode,mr as pUserVerifyForgetEmailCodeKey,st as pUserVerifyResetPasswordEmailCode,hr as pUserVerifyResetPasswordEmailCodeKey};
@@ -20,7 +20,7 @@ declare const useUserStore: zustand.UseBoundStore<zustand.StoreApi<UserState>>;
20
20
  /**
21
21
  * 确保游客身份已生成并缓存到 Cookie
22
22
  */
23
- declare function ensureGuestIdentity(force?: boolean): Promise<string>;
23
+ declare function ensureGuestIdentity(force?: boolean): Promise<void>;
24
24
  declare const userSelectors: {
25
25
  getUserInfo: () => any;
26
26
  getIsLogin: () => boolean;
@@ -1,2 +1,2 @@
1
1
 
2
- import{generateDynamicSign as e,getCookie as t,isClient as n,removeCookie as r,setCookie as i}from"../../utils/common.mjs";import{getOrCreateBrowserFingerprint as a}from"../../utils/browser-fingerprint.mjs";import{createStore as o}from"../create-store.mjs";import{useFollowIdsState as s}from"./follow-ids-store.mjs";import{usePublishStore as c}from"./publish-store.mjs";import{gUserGetGuestIdentity as l}from"../../service/generated/client.mjs";const u={userStore:`user-store`,publishStore:`publish-store`},d={userInfo:{},isLogin:!1,token:``,expireTime:0,userId:``};let f=null;function p(){s.setState({followIds:[]}),c.getState().init()}function m(){try{r(`token`),r(`userId`),r(`guestUserId`)}catch(e){console.warn(`clear auth cookie failed`,e)}try{localStorage.removeItem(u.userStore),localStorage.removeItem(u.publishStore)}catch(e){console.warn(`clear local storage failed`,e)}}const h=o(e=>({...d,setUserInfo:t=>{e({userInfo:t})},setUserId:t=>{n()&&i(`userId`,t),e({userId:t})},setIsLogin:t=>{e({isLogin:t})},setToken:t=>{n()&&(i(`token`,t),i(`guestUserId`,``)),e({token:t})},setExpireTime:t=>{e({expireTime:t})},updateUserInfo:t=>{e(e=>({userInfo:{...e.userInfo,...t}}))},logout:()=>{p(),e({...d}),n()&&m()},clearUserInfo:()=>{e({userInfo:d.userInfo})}}),{name:`user-store`,persist:!0,partialize:e=>({userInfo:e.userInfo,isLogin:e.isLogin,token:e.token,expireTime:e.expireTime,userId:e.userId})});async function g(e=!1){let n=await t(`userId`);if(n&&!e)return n;let r=await t(`guestUserId`);return r&&!e?r:((!f||e)&&(f=_(e).finally(()=>{f=null})),await f)}async function _(t){try{let n=await a(t),r=await l({finger_id:n,sign:e(n)}),o=String(r.data?.user_id??``).trim();return o&&i(`guestUserId`,o),o}catch(e){return console.warn(`ensure guest identity failed`,e),``}}const v={getUserInfo:()=>h.getState().userInfo,getIsLogin:()=>h.getState().isLogin,getToken:()=>h.getState().token,getExpireTime:()=>h.getState().expireTime,getUserId:()=>h.getState().userId};export{g as ensureGuestIdentity,h as useUserStore,v as userSelectors};
2
+ import{generateDynamicSign as e,generateUUID as t,getCookie as n,isClient as r,removeCookie as i,setCookie as a}from"../../utils/common.mjs";import{createStore as o}from"../create-store.mjs";import{useFollowIdsState as s}from"./follow-ids-store.mjs";import{usePublishStore as c}from"./publish-store.mjs";import{gUserGetGuestIdentity as l}from"../../service/generated/client.mjs";const u={userStore:`user-store`,publishStore:`publish-store`},d={userInfo:{},isLogin:!1,token:``,expireTime:0,userId:``};function f(){s.setState({followIds:[]}),c.getState().init()}function p(){try{i(`token`),i(`userId`),i(`guestUserId`)}catch(e){console.warn(`clear auth cookie failed`,e)}try{localStorage.removeItem(u.userStore),localStorage.removeItem(u.publishStore)}catch(e){console.warn(`clear local storage failed`,e)}}const m=o(e=>({...d,setUserInfo:t=>{e({userInfo:t})},setUserId:t=>{r()&&a(`userId`,t),e({userId:t})},setIsLogin:t=>{e({isLogin:t})},setToken:t=>{r()&&(a(`token`,t),a(`guestUserId`,``)),e({token:t})},setExpireTime:t=>{e({expireTime:t})},updateUserInfo:t=>{e(e=>({userInfo:{...e.userInfo,...t}}))},logout:()=>{f(),e({...d}),r()&&p()},clearUserInfo:()=>{e({userInfo:d.userInfo})}}),{name:`user-store`,persist:!0,partialize:e=>({userInfo:e.userInfo,isLogin:e.isLogin,token:e.token,expireTime:e.expireTime,userId:e.userId})});async function h(r=!1){if(await n(`userId`)&&!r)return;let i=t();l({finger_id:i,sign:e(i)}).then(e=>{a(`guestUserId`,e.data.user_id)})}const g={getUserInfo:()=>m.getState().userInfo,getIsLogin:()=>m.getState().isLogin,getToken:()=>m.getState().token,getExpireTime:()=>m.getState().expireTime,getUserId:()=>m.getState().userId};export{h as ensureGuestIdentity,m as useUserStore,g as userSelectors};
package/dist/store.d.mts CHANGED
@@ -1,12 +1,10 @@
1
1
 
2
2
  import { MediaPreviewItem, useMediaPreviewStore } from "./store/modules/media-preview-store.mjs";
3
3
  import { StorageType, useAppConfigStore } from "./store/modules/app-config-store.mjs";
4
- import { BlindSpotAdConfig, useBlindSpotAdStore } from "./store/modules/blind-spot-ad-store.mjs";
5
4
  import { BlockedModalPayload, useBlockedModalStore } from "./store/modules/blocked-modal-store.mjs";
6
5
  import { useFollowIdsState } from "./store/modules/follow-ids-store.mjs";
7
6
  import { useLoginModalStore } from "./store/modules/login-modal-store.mjs";
8
7
  import { usePublishStore } from "./store/modules/publish-store.mjs";
9
8
  import { useDemoStore } from "./store/modules/use-demo-store.mjs";
10
9
  import { ensureGuestIdentity, useUserStore, userSelectors } from "./store/modules/user-store.mjs";
11
- import { useVideoPlayerRefStore } from "./store/modules/video-player-ref-store.mjs";
12
- export { BlindSpotAdConfig, BlockedModalPayload, MediaPreviewItem, StorageType, ensureGuestIdentity, useAppConfigStore, useBlindSpotAdStore, useBlockedModalStore, useDemoStore, useFollowIdsState, useLoginModalStore, useMediaPreviewStore, usePublishStore, useUserStore, useVideoPlayerRefStore, userSelectors };
10
+ export { BlockedModalPayload, MediaPreviewItem, StorageType, ensureGuestIdentity, useAppConfigStore, useBlockedModalStore, useDemoStore, useFollowIdsState, useLoginModalStore, useMediaPreviewStore, usePublishStore, useUserStore, userSelectors };
package/dist/store.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{useBlockedModalStore as e}from"./store/modules/blocked-modal-store.mjs";import{useFollowIdsState as t}from"./store/modules/follow-ids-store.mjs";import{usePublishStore as n}from"./store/modules/publish-store.mjs";import{ensureGuestIdentity as r,useUserStore as i,userSelectors as a}from"./store/modules/user-store.mjs";import{useLoginModalStore as o}from"./store/modules/login-modal-store.mjs";import{StorageType as s,useAppConfigStore as c}from"./store/modules/app-config-store.mjs";import{useBlindSpotAdStore as l}from"./store/modules/blind-spot-ad-store.mjs";import{useMediaPreviewStore as u}from"./store/modules/media-preview-store.mjs";import{useDemoStore as d}from"./store/modules/use-demo-store.mjs";import{useVideoPlayerRefStore as f}from"./store/modules/video-player-ref-store.mjs";export{s as StorageType,r as ensureGuestIdentity,c as useAppConfigStore,l as useBlindSpotAdStore,e as useBlockedModalStore,d as useDemoStore,t as useFollowIdsState,o as useLoginModalStore,u as useMediaPreviewStore,n as usePublishStore,i as useUserStore,f as useVideoPlayerRefStore,a as userSelectors};
2
+ import{useBlockedModalStore as e}from"./store/modules/blocked-modal-store.mjs";import{useFollowIdsState as t}from"./store/modules/follow-ids-store.mjs";import{usePublishStore as n}from"./store/modules/publish-store.mjs";import{ensureGuestIdentity as r,useUserStore as i,userSelectors as a}from"./store/modules/user-store.mjs";import{useLoginModalStore as o}from"./store/modules/login-modal-store.mjs";import{StorageType as s,useAppConfigStore as c}from"./store/modules/app-config-store.mjs";import{useMediaPreviewStore as l}from"./store/modules/media-preview-store.mjs";import{useDemoStore as u}from"./store/modules/use-demo-store.mjs";export{s as StorageType,r as ensureGuestIdentity,c as useAppConfigStore,e as useBlockedModalStore,u as useDemoStore,t as useFollowIdsState,o as useLoginModalStore,l as useMediaPreviewStore,n as usePublishStore,i as useUserStore,a as userSelectors};
package/dist/types.d.mts CHANGED
@@ -1466,7 +1466,6 @@ type ContentShowVideoInfo = {
1466
1466
  * 广告扩展数据
1467
1467
  */
1468
1468
  ad_ext_data?: string;
1469
- ad?: ContentFeedAdInfo;
1470
1469
  };
1471
1470
  /**
1472
1471
  * 标签对象
@@ -4123,7 +4122,6 @@ type ContentMatchAdsResponse = {
4123
4122
  * 广告匹配素材(精简字段)
4124
4123
  */
4125
4124
  materials?: ContentMatchAdMaterial[];
4126
- settings?: ContentMatchAdSettings;
4127
4125
  };
4128
4126
  type CommunityBatchDeleteCollectionResponse = {
4129
4127
  /**
@@ -4180,134 +4178,6 @@ type ContentMatchAdMaterial = {
4180
4178
  */
4181
4179
  ad_ext_data?: string;
4182
4180
  };
4183
- /**
4184
- * 信息流广告信息(仅在 ShowVideoInfo.is_ad=true 时返回)
4185
- */
4186
- type ContentFeedAdInfo = {
4187
- /**
4188
- * 广告业务编码
4189
- */
4190
- ad_code?: string;
4191
- /**
4192
- * 广告跳转地址
4193
- */
4194
- ad_advertise_url?: string;
4195
- /**
4196
- * 广告图片地址
4197
- */
4198
- ad_advertise_icon?: string;
4199
- /**
4200
- * 广告类型枚举
4201
- */
4202
- ad_advertise_type?: number;
4203
- /**
4204
- * 广告描述
4205
- */
4206
- ad_advertise_desc?: string;
4207
- /**
4208
- * 广告开始时间戳(毫秒)
4209
- */
4210
- ad_start_time?: number;
4211
- /**
4212
- * 广告结束时间戳(毫秒)
4213
- */
4214
- ad_end_time?: number;
4215
- /**
4216
- * 广告扩展数据
4217
- */
4218
- ad_ext_data?: string;
4219
- };
4220
- /**
4221
- * 最热视频列表响应
4222
- */
4223
- type ContentGetMostPlayedVideoListResponse = {
4224
- /**
4225
- * 视频信息(用于首页列表)
4226
- */
4227
- videos?: ContentShowVideoInfo[];
4228
- /**
4229
- * 下一页游标
4230
- */
4231
- cursor?: string;
4232
- };
4233
- /**
4234
- * 广告配置 settings
4235
- */
4236
- type ContentMatchAdSettings = {
4237
- /**
4238
- * 热启动间隔(分钟)
4239
- */
4240
- hot_start_interval_min?: number;
4241
- /**
4242
- * 跳过秒数
4243
- */
4244
- skip_seconds?: number;
4245
- /**
4246
- * 每日最大展示次数
4247
- */
4248
- daily_max_show?: number;
4249
- /**
4250
- * 触发视频进度(分钟)
4251
- */
4252
- trigger_video_progress_min?: number;
4253
- /**
4254
- * 返回广告数量
4255
- */
4256
- show_count?: number;
4257
- /**
4258
- * 信息流插入间隔
4259
- */
4260
- feed_insert_interval?: number;
4261
- /**
4262
- * 停留时长(秒)
4263
- */
4264
- stay_seconds?: number;
4265
- /**
4266
- * 配置宽度
4267
- */
4268
- advertise_width?: number;
4269
- /**
4270
- * 配置高度
4271
- */
4272
- advertise_height?: number;
4273
- };
4274
- /**
4275
- * 获取访客权限配置响应
4276
- */
4277
- type UserGetVisitorPermissionConfigResponse = {
4278
- /**
4279
- * 权限配置
4280
- */
4281
- permission_config?: {
4282
- [key: string]: string;
4283
- };
4284
- };
4285
- /**
4286
- * 将单个视频同步到 Elasticsearch
4287
- */
4288
- type InternalSyncVideoToESRequest = {
4289
- /**
4290
- * 视频/专辑 ID
4291
- */
4292
- video_id?: string;
4293
- };
4294
- /**
4295
- * 同步单个视频到 Elasticsearch 响应
4296
- */
4297
- type InternalSyncVideoToESResponse = {
4298
- /**
4299
- * 响应码,0 表示成功
4300
- */
4301
- code?: number;
4302
- /**
4303
- * 响应消息
4304
- */
4305
- message?: string;
4306
- /**
4307
- * 响应数据
4308
- */
4309
- data?: unknown;
4310
- };
4311
4181
  type PostApiCommunityPublishContentReqBody = {
4312
4182
  /**
4313
4183
  * 正文内容
@@ -5243,32 +5113,6 @@ type PostApiContentMatchAdsRes = {
5243
5113
  message?: string;
5244
5114
  data: ContentMatchAdsResponse;
5245
5115
  };
5246
- type PostApiContentGetMostPlayedVideoListReqBody = {
5247
- /**
5248
- * 游标,首次为空或不传
5249
- */
5250
- cursor?: string;
5251
- /**
5252
- * 每页数量
5253
- */
5254
- page_size?: number;
5255
- /**
5256
- * 标签列表筛选
5257
- */
5258
- tags?: string[];
5259
- /**
5260
- * 分类ID列表筛选(批量)
5261
- */
5262
- cat_ids?: string[];
5263
- };
5264
- type PostApiContentGetMostPlayedVideoListRes = {
5265
- code?: ResultCode;
5266
- /**
5267
- * 响应消息
5268
- */
5269
- message?: string;
5270
- data: ContentGetMostPlayedVideoListResponse;
5271
- };
5272
5116
  type GetApiContentProcessM3u8Query = {
5273
5117
  /**
5274
5118
  * m3u8地址
@@ -6890,20 +6734,6 @@ type PostApiUserRegisterByVerifyEmailCodeRes = {
6890
6734
  message?: string;
6891
6735
  data: UserRegisterByVerifyEmailCodeResponse;
6892
6736
  };
6893
- type GetApiUserGetVisitorPermissionConfigQuery = {
6894
- /**
6895
- * User id
6896
- */
6897
- user_id?: string;
6898
- };
6899
- type GetApiUserGetVisitorPermissionConfigRes = {
6900
- code?: ResultCode;
6901
- /**
6902
- * 响应消息
6903
- */
6904
- message?: string;
6905
- data: UserGetVisitorPermissionConfigResponse;
6906
- };
6907
6737
  type PostApiCommerceCreatePaymentReqBody = {
6908
6738
  /**
6909
6739
  * 支付类型:alipay/wechat/union/usdt/dyhbPay/digitalRmb
@@ -7044,4 +6874,4 @@ type PostApiCommerceRefundCallbackRes = {
7044
6874
  data: CommerceRefundCallbackResponse;
7045
6875
  };
7046
6876
  //#endregion
7047
- export { CommerceCreatePaymentResponse, CommerceGetPaymentMethodsResponse, CommerceOrderResult, CommercePaymentCardInfo, CommercePaymentMethod, CommercePaymentMethodGroup, CommercePaymentPlayerInfo, CommercePaymentSuccessCallbackResponse, CommerceQueryOrderResultResponse, CommerceRefundCallbackResponse, CommunityAddContentToCollectionResponse, CommunityBatchDeleteCollectionResponse, CommunityCollectionData, CommunityCollectionDetail, CommunityCollectionInfo, CommunityCommentInfo, CommunityCommentListData, CommunityContentBrief, CommunityContentInfo, CommunityContentInteraction, CommunityContentListData, CommunityCreateCollectionResponse, CommunityCreateCommentResponse, CommunityDeleteCollectionResponse, CommunityDeleteCommentResponse, CommunityDeleteContentResponse, CommunityDislikeCommentResponse, CommunityFollowInfo, CommunityGetCollectionInfoResponse, CommunityGetCommentsResponse, CommunityGetCommentsResponseData, CommunityGetContentInfoResponse, CommunityGetContentListResponse, CommunityGetHotContentListResponse, CommunityGetSubscribedCollectionsResponse, CommunityGetUploadPresignedURLResponse, CommunityGetUserCollectionsResponse, CommunityHotContentInfo, CommunityLikeCommentResponse, CommunityMediaInfo, CommunityMediaTagInfo, CommunityMoveCollectionContentResponse, CommunityPublishContentResponse, CommunitySearchCurAccountFollowingUsersInfoResponse, CommunityShareContentResponse, CommunityShareData, CommunitySubscribeCollectionResponse, CommunityUpdateCollectionResponse, CommunityUpdateContentResponse, CommunityUploadMediaInfo, CommunityUploadMediaResponse, CommunityUserBrief, ContentAdSceneContext, ContentAdvertiseDetail, ContentAppChannel, ContentAppChannelBlock, ContentAppChannelBlockBanner, ContentAppChannelBlockData, ContentAppComponentCommon, ContentBaseUserInfo, ContentBatchGetVideoDetailResponse, ContentBlockIconInfo, ContentContentInfo, ContentFeedAdInfo, ContentFloatingBallInfo, ContentGeoConfig, ContentGeoFaq, ContentGetAdvertiseByCodeResponse, ContentGetAppChannelBlockDataResponse, ContentGetAppChannelBlockResponse, ContentGetAppChannelsResponse, ContentGetAppComponentResponse, ContentGetGuessYouLikeVideosResponse, ContentGetHotVideoListResponse, ContentGetMostPlayedVideoListResponse, ContentGetNewstVideoListResponse, ContentGetPopularVideoListResponse, ContentGetRecommendSearchListResponse, ContentGetRecommendVideoListResponse, ContentGetSeoConfigResponse, ContentGetTopRatedVideoListResponse, ContentGetVideoDetailByApiResponse, ContentGetVideoDetailResponse, ContentHotVideoInfo, ContentListVisibleFloatingBallResponse, ContentMatchAdMaterial, ContentMatchAdSettings, ContentMatchAdsResponse, ContentMediaInfo, ContentProcessM3U8Response, ContentRecommendContentAuthor, ContentRecommendContentInfo, ContentRecommendContentInteraction, ContentRecommendContentList, ContentRecommendContentMedia, ContentRecommendInfo, ContentRecommendUserInfo, ContentRecommendUserList, ContentRecommendVideoInfo, ContentRecommendVideoList, ContentSeoConfig, ContentShowVideoInfo, ContentTag, ContentVideoDetail, ContentVideoEpisodeMedium, ContentVideoEpisodeProto, ContentVideoLink, ContentVideoStatic, GetApiCommerceQueryOrderResultQuery, GetApiCommerceQueryOrderResultRes, GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCollectionInfoRes, GetApiCommunityGetCommentsQuery, GetApiCommunityGetCommentsRes, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentInfoRes, GetApiCommunityGetContentListQuery, GetApiCommunityGetContentListRes, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetHotContentListRes, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetSubscribedCollectionsRes, GetApiCommunityGetUserCollectionsQuery, GetApiCommunityGetUserCollectionsRes, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAdvertiseByCodeRes, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockDataRes, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelBlockRes, GetApiContentGetAppChannelsQuery, GetApiContentGetAppChannelsRes, GetApiContentGetAppComponentRes, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetGuessYouLikeVideosRes, GetApiContentGetHotVideoListQuery, GetApiContentGetHotVideoListRes, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendSearchListRes, GetApiContentGetRecommendVideoListQuery, GetApiContentGetRecommendVideoListRes, GetApiContentGetSeoConfigQuery, GetApiContentGetSeoConfigRes, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailByApiRes, GetApiContentGetVideoDetailQuery, GetApiContentGetVideoDetailRes, GetApiContentListVisibleFloatingBallQuery, GetApiContentListVisibleFloatingBallRes, GetApiContentProcessM3u8Query, GetApiContentProcessM3u8Res, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionCheckMutualFollowRes, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetBrowseListRes, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentDislikeListRes, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetContentLikeListRes, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetDislikeListRes, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderRes, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFolderStatsRes, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowStatsRes, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowerListRes, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingContentListRes, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingListRes, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetFollowingUserUpdatesRes, GetApiInteractionGetLikeListQuery, GetApiInteractionGetLikeListRes, GetApiInteractionListCollectsQuery, GetApiInteractionListCollectsRes, GetApiInteractionListFoldersQuery, GetApiInteractionListFoldersRes, GetApiUserGetGuestIdentityQuery, GetApiUserGetGuestIdentityRes, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserEditInfoRes, GetApiUserGetUserInfoQuery, GetApiUserGetUserInfoRes, GetApiUserGetUserPrivacySettingsQuery, GetApiUserGetUserPrivacySettingsRes, GetApiUserGetVisitorPermissionConfigQuery, GetApiUserGetVisitorPermissionConfigRes, GetApiUserViewUserInfoQuery, GetApiUserViewUserInfoRes, GoogleProtobufAny, InteractionAddCollectResponse, InteractionBatchClearBrowseResponse, InteractionBatchDeleteCollectsResponse, InteractionBatchDeleteFoldersResponse, InteractionBatchGetCommentLikeStatusResponse, InteractionBatchGetFollowStatsResponse, InteractionBatchGetLikeStatusResponse, InteractionBatchQueryContentInteractionsResponse, InteractionBrowseItem, InteractionBrowseRecord, InteractionBrowseResponse, InteractionCancelDislikeResponse, InteractionCancelLikeResponse, InteractionCheckCollectResponse, InteractionCheckFollowResponse, InteractionCheckMutualFollowResponse, InteractionClearBrowseHistoryResponse, InteractionCollectInfo, InteractionCollectItem, InteractionContentInteraction, InteractionContentInteractionStatus, InteractionCreateFolderResponse, InteractionDeleteFolderResponse, InteractionDislikeResponse, InteractionEpisode, InteractionFolderInfo, InteractionFolderStats, InteractionFollowInfoItem, InteractionFollowResponse, InteractionFollowingContentItem, InteractionGetBrowseListResponse, InteractionGetContentDislikeListResponse, InteractionGetContentLikeListResponse, InteractionGetDislikeListResponse, InteractionGetFolderResponse, InteractionGetFolderStatsResponse, InteractionGetFollowStatsResponse, InteractionGetFollowerListResponse, InteractionGetFollowingContentListResponse, InteractionGetFollowingListResponse, InteractionGetFollowingUserUpdatesResponse, InteractionGetLikeListResponse, InteractionLikeInfo, InteractionLikeItem, InteractionLikeResponse, InteractionLikeStatusItem, InteractionListCollectsResponse, InteractionListFoldersResponse, InteractionMediaInfo, InteractionMoveCollectsResponse, InteractionPostInfo, InteractionRemoveCollectResponse, InteractionTrackEvent, InteractionUnfollowResponse, InteractionUnifiedBatchLikeDislikeResponse, InteractionUnifiedBatchLikeDislikeResult, InteractionUserBrief, InteractionVideoDetailNested, InteractionVideoInfo, InteractionVideoMedia, InteractionVideoTag, InternalReplayVideoDetailPrewarmData, InternalReplayVideoDetailPrewarmRequest, InternalReplayVideoDetailPrewarmResponse, InternalSyncVideoToESRequest, InternalSyncVideoToESResponse, PostApiCommerceCreatePaymentReqBody, PostApiCommerceCreatePaymentRes, PostApiCommerceGetPaymentMethodsReqBody, PostApiCommerceGetPaymentMethodsRes, PostApiCommercePaymentSuccessCallbackReqBody, PostApiCommercePaymentSuccessCallbackRes, PostApiCommerceRefundCallbackReqBody, PostApiCommerceRefundCallbackRes, PostApiCommunityAddContentToCollectionReqBody, PostApiCommunityAddContentToCollectionRes, PostApiCommunityBatchDeleteCollectionReqBody, PostApiCommunityBatchDeleteCollectionRes, PostApiCommunityCreateCollectionReqBody, PostApiCommunityCreateCollectionRes, PostApiCommunityCreateCommentReqBody, PostApiCommunityCreateCommentRes, PostApiCommunityDeleteCollectionReqBody, PostApiCommunityDeleteCollectionRes, PostApiCommunityDeleteCommentReqBody, PostApiCommunityDeleteCommentRes, PostApiCommunityDeleteContentReqBody, PostApiCommunityDeleteContentRes, PostApiCommunityDislikeCommentReqBody, PostApiCommunityDislikeCommentRes, PostApiCommunityGetUploadPresignedURLReqBody, PostApiCommunityGetUploadPresignedURLRes, PostApiCommunityLikeCommentReqBody, PostApiCommunityLikeCommentRes, PostApiCommunityMoveCollectionContentReqBody, PostApiCommunityMoveCollectionContentRes, PostApiCommunityPublishContentReqBody, PostApiCommunityPublishContentRes, PostApiCommunityRemoveContentFromCollectionReqBody, PostApiCommunityRemoveContentFromCollectionRes, PostApiCommunitySearchCurAccountFollowingUsersInfoReqBody, PostApiCommunitySearchCurAccountFollowingUsersInfoRes, PostApiCommunityShareContentReqBody, PostApiCommunityShareContentRes, PostApiCommunitySubscribeCollectionReqBody, PostApiCommunitySubscribeCollectionRes, PostApiCommunityUpdateCollectionReqBody, PostApiCommunityUpdateCollectionRes, PostApiCommunityUpdateContentReqBody, PostApiCommunityUpdateContentRes, PostApiCommunityUploadMediaReqBody, PostApiCommunityUploadMediaRes, PostApiContentBatchGetVideoDetailReqBody, PostApiContentBatchGetVideoDetailRes, PostApiContentGetMostPlayedVideoListReqBody, PostApiContentGetMostPlayedVideoListRes, PostApiContentGetNewstVideoListReqBody, PostApiContentGetNewstVideoListRes, PostApiContentGetPopularVideoListReqBody, PostApiContentGetPopularVideoListRes, PostApiContentGetTopRatedVideoListReqBody, PostApiContentGetTopRatedVideoListRes, PostApiContentMatchAdsReqBody, PostApiContentMatchAdsRes, PostApiInteractionAddCollectReqBody, PostApiInteractionAddCollectRes, PostApiInteractionBatchClearBrowseReqBody, PostApiInteractionBatchClearBrowseRes, PostApiInteractionBatchDeleteCollectsReqBody, PostApiInteractionBatchDeleteCollectsRes, PostApiInteractionBatchDeleteFoldersReqBody, PostApiInteractionBatchDeleteFoldersRes, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetCommentLikeStatusRes, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetFollowStatsRes, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchGetLikeStatusRes, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBatchQueryContentInteractionsRes, PostApiInteractionBrowseReqBody, PostApiInteractionBrowseRes, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelDislikeRes, PostApiInteractionCancelLikeReqBody, PostApiInteractionCancelLikeRes, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckCollectRes, PostApiInteractionCheckFollowReqBody, PostApiInteractionCheckFollowRes, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionClearBrowseHistoryRes, PostApiInteractionCreateFolderReqBody, PostApiInteractionCreateFolderRes, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteBrowseRecordRes, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDeleteFolderRes, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeCommentRes, PostApiInteractionDislikeReqBody, PostApiInteractionDislikeRes, PostApiInteractionFollowReqBody, PostApiInteractionFollowRes, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeCommentRes, PostApiInteractionLikeReqBody, PostApiInteractionLikeRes, PostApiInteractionMoveCollectsReqBody, PostApiInteractionMoveCollectsRes, PostApiInteractionRemoveCollectReqBody, PostApiInteractionRemoveCollectRes, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionTrackEventsBatchRes, PostApiInteractionUnfollowReqBody, PostApiInteractionUnfollowRes, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUnifiedBatchLikeDislikeRes, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFolderRes, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeRes, PostApiUserEditUserInfoReqBody, PostApiUserEditUserInfoRes, PostApiUserLoginReqBody, PostApiUserLoginRes, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterByVerifyEmailCodeRes, PostApiUserRegisterReqBody, PostApiUserRegisterRes, PostApiUserResetForgetPasswordReqBody, PostApiUserResetForgetPasswordRes, PostApiUserResetPasswordReqBody, PostApiUserResetPasswordRes, PostApiUserSendEmailCodeReqBody, PostApiUserSendEmailCodeRes, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendForgetEmailCodeRes, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeRes, PostApiUserUploadUserBgImageReqBody, PostApiUserUploadUserBgImageRes, PostApiUserUserFeedbackReqBody, PostApiUserUserFeedbackRes, PostApiUserUserPrivacySettingsReqBody, PostApiUserUserPrivacySettingsRes, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyEmailCodeRes, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeRes, PostApiUserVerifyResetPasswordEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeRes, Result, ResultCode, ResultGrpc, Status, UserGetGuestIdentityResponse, UserGetUserEditInfoResponse, UserGetUserInfoResponse, UserGetUserPrivacySettingsResponse, UserGetVisitorPermissionConfigResponse, UserLoginResponse, UserRegisterByVerifyEmailCodeResponse, UserRegisterResponse, UserViewUserInfoResponse };
6877
+ export { CommerceCreatePaymentResponse, CommerceGetPaymentMethodsResponse, CommerceOrderResult, CommercePaymentCardInfo, CommercePaymentMethod, CommercePaymentMethodGroup, CommercePaymentPlayerInfo, CommercePaymentSuccessCallbackResponse, CommerceQueryOrderResultResponse, CommerceRefundCallbackResponse, CommunityAddContentToCollectionResponse, CommunityBatchDeleteCollectionResponse, CommunityCollectionData, CommunityCollectionDetail, CommunityCollectionInfo, CommunityCommentInfo, CommunityCommentListData, CommunityContentBrief, CommunityContentInfo, CommunityContentInteraction, CommunityContentListData, CommunityCreateCollectionResponse, CommunityCreateCommentResponse, CommunityDeleteCollectionResponse, CommunityDeleteCommentResponse, CommunityDeleteContentResponse, CommunityDislikeCommentResponse, CommunityFollowInfo, CommunityGetCollectionInfoResponse, CommunityGetCommentsResponse, CommunityGetCommentsResponseData, CommunityGetContentInfoResponse, CommunityGetContentListResponse, CommunityGetHotContentListResponse, CommunityGetSubscribedCollectionsResponse, CommunityGetUploadPresignedURLResponse, CommunityGetUserCollectionsResponse, CommunityHotContentInfo, CommunityLikeCommentResponse, CommunityMediaInfo, CommunityMediaTagInfo, CommunityMoveCollectionContentResponse, CommunityPublishContentResponse, CommunitySearchCurAccountFollowingUsersInfoResponse, CommunityShareContentResponse, CommunityShareData, CommunitySubscribeCollectionResponse, CommunityUpdateCollectionResponse, CommunityUpdateContentResponse, CommunityUploadMediaInfo, CommunityUploadMediaResponse, CommunityUserBrief, ContentAdSceneContext, ContentAdvertiseDetail, ContentAppChannel, ContentAppChannelBlock, ContentAppChannelBlockBanner, ContentAppChannelBlockData, ContentAppComponentCommon, ContentBaseUserInfo, ContentBatchGetVideoDetailResponse, ContentBlockIconInfo, ContentContentInfo, ContentFloatingBallInfo, ContentGeoConfig, ContentGeoFaq, ContentGetAdvertiseByCodeResponse, ContentGetAppChannelBlockDataResponse, ContentGetAppChannelBlockResponse, ContentGetAppChannelsResponse, ContentGetAppComponentResponse, ContentGetGuessYouLikeVideosResponse, ContentGetHotVideoListResponse, ContentGetNewstVideoListResponse, ContentGetPopularVideoListResponse, ContentGetRecommendSearchListResponse, ContentGetRecommendVideoListResponse, ContentGetSeoConfigResponse, ContentGetTopRatedVideoListResponse, ContentGetVideoDetailByApiResponse, ContentGetVideoDetailResponse, ContentHotVideoInfo, ContentListVisibleFloatingBallResponse, ContentMatchAdMaterial, ContentMatchAdsResponse, ContentMediaInfo, ContentProcessM3U8Response, ContentRecommendContentAuthor, ContentRecommendContentInfo, ContentRecommendContentInteraction, ContentRecommendContentList, ContentRecommendContentMedia, ContentRecommendInfo, ContentRecommendUserInfo, ContentRecommendUserList, ContentRecommendVideoInfo, ContentRecommendVideoList, ContentSeoConfig, ContentShowVideoInfo, ContentTag, ContentVideoDetail, ContentVideoEpisodeMedium, ContentVideoEpisodeProto, ContentVideoLink, ContentVideoStatic, GetApiCommerceQueryOrderResultQuery, GetApiCommerceQueryOrderResultRes, GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCollectionInfoRes, GetApiCommunityGetCommentsQuery, GetApiCommunityGetCommentsRes, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentInfoRes, GetApiCommunityGetContentListQuery, GetApiCommunityGetContentListRes, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetHotContentListRes, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetSubscribedCollectionsRes, GetApiCommunityGetUserCollectionsQuery, GetApiCommunityGetUserCollectionsRes, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAdvertiseByCodeRes, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockDataRes, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelBlockRes, GetApiContentGetAppChannelsQuery, GetApiContentGetAppChannelsRes, GetApiContentGetAppComponentRes, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetGuessYouLikeVideosRes, GetApiContentGetHotVideoListQuery, GetApiContentGetHotVideoListRes, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendSearchListRes, GetApiContentGetRecommendVideoListQuery, GetApiContentGetRecommendVideoListRes, GetApiContentGetSeoConfigQuery, GetApiContentGetSeoConfigRes, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailByApiRes, GetApiContentGetVideoDetailQuery, GetApiContentGetVideoDetailRes, GetApiContentListVisibleFloatingBallQuery, GetApiContentListVisibleFloatingBallRes, GetApiContentProcessM3u8Query, GetApiContentProcessM3u8Res, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionCheckMutualFollowRes, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetBrowseListRes, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentDislikeListRes, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetContentLikeListRes, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetDislikeListRes, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderRes, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFolderStatsRes, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowStatsRes, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowerListRes, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingContentListRes, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingListRes, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetFollowingUserUpdatesRes, GetApiInteractionGetLikeListQuery, GetApiInteractionGetLikeListRes, GetApiInteractionListCollectsQuery, GetApiInteractionListCollectsRes, GetApiInteractionListFoldersQuery, GetApiInteractionListFoldersRes, GetApiUserGetGuestIdentityQuery, GetApiUserGetGuestIdentityRes, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserEditInfoRes, GetApiUserGetUserInfoQuery, GetApiUserGetUserInfoRes, GetApiUserGetUserPrivacySettingsQuery, GetApiUserGetUserPrivacySettingsRes, GetApiUserViewUserInfoQuery, GetApiUserViewUserInfoRes, GoogleProtobufAny, InteractionAddCollectResponse, InteractionBatchClearBrowseResponse, InteractionBatchDeleteCollectsResponse, InteractionBatchDeleteFoldersResponse, InteractionBatchGetCommentLikeStatusResponse, InteractionBatchGetFollowStatsResponse, InteractionBatchGetLikeStatusResponse, InteractionBatchQueryContentInteractionsResponse, InteractionBrowseItem, InteractionBrowseRecord, InteractionBrowseResponse, InteractionCancelDislikeResponse, InteractionCancelLikeResponse, InteractionCheckCollectResponse, InteractionCheckFollowResponse, InteractionCheckMutualFollowResponse, InteractionClearBrowseHistoryResponse, InteractionCollectInfo, InteractionCollectItem, InteractionContentInteraction, InteractionContentInteractionStatus, InteractionCreateFolderResponse, InteractionDeleteFolderResponse, InteractionDislikeResponse, InteractionEpisode, InteractionFolderInfo, InteractionFolderStats, InteractionFollowInfoItem, InteractionFollowResponse, InteractionFollowingContentItem, InteractionGetBrowseListResponse, InteractionGetContentDislikeListResponse, InteractionGetContentLikeListResponse, InteractionGetDislikeListResponse, InteractionGetFolderResponse, InteractionGetFolderStatsResponse, InteractionGetFollowStatsResponse, InteractionGetFollowerListResponse, InteractionGetFollowingContentListResponse, InteractionGetFollowingListResponse, InteractionGetFollowingUserUpdatesResponse, InteractionGetLikeListResponse, InteractionLikeInfo, InteractionLikeItem, InteractionLikeResponse, InteractionLikeStatusItem, InteractionListCollectsResponse, InteractionListFoldersResponse, InteractionMediaInfo, InteractionMoveCollectsResponse, InteractionPostInfo, InteractionRemoveCollectResponse, InteractionTrackEvent, InteractionUnfollowResponse, InteractionUnifiedBatchLikeDislikeResponse, InteractionUnifiedBatchLikeDislikeResult, InteractionUserBrief, InteractionVideoDetailNested, InteractionVideoInfo, InteractionVideoMedia, InteractionVideoTag, InternalReplayVideoDetailPrewarmData, InternalReplayVideoDetailPrewarmRequest, InternalReplayVideoDetailPrewarmResponse, PostApiCommerceCreatePaymentReqBody, PostApiCommerceCreatePaymentRes, PostApiCommerceGetPaymentMethodsReqBody, PostApiCommerceGetPaymentMethodsRes, PostApiCommercePaymentSuccessCallbackReqBody, PostApiCommercePaymentSuccessCallbackRes, PostApiCommerceRefundCallbackReqBody, PostApiCommerceRefundCallbackRes, PostApiCommunityAddContentToCollectionReqBody, PostApiCommunityAddContentToCollectionRes, PostApiCommunityBatchDeleteCollectionReqBody, PostApiCommunityBatchDeleteCollectionRes, PostApiCommunityCreateCollectionReqBody, PostApiCommunityCreateCollectionRes, PostApiCommunityCreateCommentReqBody, PostApiCommunityCreateCommentRes, PostApiCommunityDeleteCollectionReqBody, PostApiCommunityDeleteCollectionRes, PostApiCommunityDeleteCommentReqBody, PostApiCommunityDeleteCommentRes, PostApiCommunityDeleteContentReqBody, PostApiCommunityDeleteContentRes, PostApiCommunityDislikeCommentReqBody, PostApiCommunityDislikeCommentRes, PostApiCommunityGetUploadPresignedURLReqBody, PostApiCommunityGetUploadPresignedURLRes, PostApiCommunityLikeCommentReqBody, PostApiCommunityLikeCommentRes, PostApiCommunityMoveCollectionContentReqBody, PostApiCommunityMoveCollectionContentRes, PostApiCommunityPublishContentReqBody, PostApiCommunityPublishContentRes, PostApiCommunityRemoveContentFromCollectionReqBody, PostApiCommunityRemoveContentFromCollectionRes, PostApiCommunitySearchCurAccountFollowingUsersInfoReqBody, PostApiCommunitySearchCurAccountFollowingUsersInfoRes, PostApiCommunityShareContentReqBody, PostApiCommunityShareContentRes, PostApiCommunitySubscribeCollectionReqBody, PostApiCommunitySubscribeCollectionRes, PostApiCommunityUpdateCollectionReqBody, PostApiCommunityUpdateCollectionRes, PostApiCommunityUpdateContentReqBody, PostApiCommunityUpdateContentRes, PostApiCommunityUploadMediaReqBody, PostApiCommunityUploadMediaRes, PostApiContentBatchGetVideoDetailReqBody, PostApiContentBatchGetVideoDetailRes, PostApiContentGetNewstVideoListReqBody, PostApiContentGetNewstVideoListRes, PostApiContentGetPopularVideoListReqBody, PostApiContentGetPopularVideoListRes, PostApiContentGetTopRatedVideoListReqBody, PostApiContentGetTopRatedVideoListRes, PostApiContentMatchAdsReqBody, PostApiContentMatchAdsRes, PostApiInteractionAddCollectReqBody, PostApiInteractionAddCollectRes, PostApiInteractionBatchClearBrowseReqBody, PostApiInteractionBatchClearBrowseRes, PostApiInteractionBatchDeleteCollectsReqBody, PostApiInteractionBatchDeleteCollectsRes, PostApiInteractionBatchDeleteFoldersReqBody, PostApiInteractionBatchDeleteFoldersRes, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetCommentLikeStatusRes, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetFollowStatsRes, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchGetLikeStatusRes, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBatchQueryContentInteractionsRes, PostApiInteractionBrowseReqBody, PostApiInteractionBrowseRes, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelDislikeRes, PostApiInteractionCancelLikeReqBody, PostApiInteractionCancelLikeRes, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckCollectRes, PostApiInteractionCheckFollowReqBody, PostApiInteractionCheckFollowRes, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionClearBrowseHistoryRes, PostApiInteractionCreateFolderReqBody, PostApiInteractionCreateFolderRes, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteBrowseRecordRes, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDeleteFolderRes, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeCommentRes, PostApiInteractionDislikeReqBody, PostApiInteractionDislikeRes, PostApiInteractionFollowReqBody, PostApiInteractionFollowRes, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeCommentRes, PostApiInteractionLikeReqBody, PostApiInteractionLikeRes, PostApiInteractionMoveCollectsReqBody, PostApiInteractionMoveCollectsRes, PostApiInteractionRemoveCollectReqBody, PostApiInteractionRemoveCollectRes, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionTrackEventsBatchRes, PostApiInteractionUnfollowReqBody, PostApiInteractionUnfollowRes, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUnifiedBatchLikeDislikeRes, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFolderRes, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeRes, PostApiUserEditUserInfoReqBody, PostApiUserEditUserInfoRes, PostApiUserLoginReqBody, PostApiUserLoginRes, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterByVerifyEmailCodeRes, PostApiUserRegisterReqBody, PostApiUserRegisterRes, PostApiUserResetForgetPasswordReqBody, PostApiUserResetForgetPasswordRes, PostApiUserResetPasswordReqBody, PostApiUserResetPasswordRes, PostApiUserSendEmailCodeReqBody, PostApiUserSendEmailCodeRes, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendForgetEmailCodeRes, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeRes, PostApiUserUploadUserBgImageReqBody, PostApiUserUploadUserBgImageRes, PostApiUserUserFeedbackReqBody, PostApiUserUserFeedbackRes, PostApiUserUserPrivacySettingsReqBody, PostApiUserUserPrivacySettingsRes, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyEmailCodeRes, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeRes, PostApiUserVerifyResetPasswordEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeRes, Result, ResultCode, ResultGrpc, Status, UserGetGuestIdentityResponse, UserGetUserEditInfoResponse, UserGetUserInfoResponse, UserGetUserPrivacySettingsResponse, UserLoginResponse, UserRegisterByVerifyEmailCodeResponse, UserRegisterResponse, UserViewUserInfoResponse };
@@ -4,11 +4,11 @@
4
4
  * 获取或生成设备标识(仅客户端)。
5
5
  *
6
6
  * - 优先从 localStorage 读取(同一浏览器会话可稳定复用)。
7
- * - 未命中时使用 FingerprintJS 生成浏览器指纹并写回。
7
+ * - 未命中时生成浏览器指纹(哈希)并写回。
8
8
  * - 若指纹生成失败(极端环境/策略限制),降级为 `generateUUID()`。
9
9
  *
10
10
  * 注意:该值用于请求头 `x-device-id`,不应在服务端调用。
11
11
  */
12
- declare function getOrCreateDeviceId(): Promise<string>;
12
+ declare function getOrCreateDeviceId(): string;
13
13
  //#endregion
14
14
  export { getOrCreateDeviceId };
@@ -1,2 +1,2 @@
1
1
 
2
- import{generateUUID as e,isClient as t}from"./common.mjs";import{getOrCreateBrowserFingerprint as n}from"./browser-fingerprint.mjs";const r=`funhub-device-id`;let i=``;async function a(){if(!t())return``;if(i)return i;try{let t=window.localStorage.getItem(r);if(t&&t.trim().length>=8)return i=t.trim(),i;let a=await n()||e();return i=a,window.localStorage.setItem(r,a),a}catch{return i||=e(),i}}export{a as getOrCreateDeviceId};
2
+ import{generateUUID as e,isClient as t}from"./common.mjs";import n from"crypto-js";const r=`funhub-device-id`;function i(){if(!t())return``;try{let t=window.localStorage.getItem(r);if(t&&t.trim().length>=8)return t.trim();let n=a()||e();return window.localStorage.setItem(r,n),n}catch{return e()}}function a(){try{let e=o(),t=JSON.stringify(e);return n.SHA256(t).toString(n.enc.Hex)}catch(e){return console.warn(`[device-id] build fingerprint failed`,e),``}}function o(){return{navigator:s(),screen:c(),time:l(),canvas:u(),webgl:d()}}function s(){let e=typeof navigator<`u`?navigator:void 0;if(!e)return{};let t=Array.isArray(e.languages)?e.languages:[],n=e.platform,r=e.deviceMemory;return{userAgent:String(e.userAgent||``),language:String(e.language||``),languages:t.map(e=>String(e||``)),platform:typeof n==`string`?n:``,cookieEnabled:!!e.cookieEnabled,doNotTrack:String(e.doNotTrack??``),hardwareConcurrency:Number(e.hardwareConcurrency??0)||0,deviceMemory:Number(r??0)||0,maxTouchPoints:Number(e.maxTouchPoints??0)||0}}function c(){let e=typeof screen<`u`?screen:void 0;return{width:e?.width??0,height:e?.height??0,availWidth:e?.availWidth??0,availHeight:e?.availHeight??0,colorDepth:e?.colorDepth??0,pixelDepth:e?.pixelDepth??0,devicePixelRatio:typeof window<`u`?window.devicePixelRatio??1:1}}function l(){return{timezone:(()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone||``}catch{return``}})(),timezoneOffset:new Date().getTimezoneOffset()}}function u(){try{if(typeof document>`u`)return``;let e=document.createElement(`canvas`);e.width=320,e.height=160;let t=e.getContext(`2d`);if(!t)return``;t.fillStyle=`#f3f4f6`,t.fillRect(0,0,e.width,e.height),t.textBaseline=`top`,t.font=`16px Arial`,t.fillStyle=`#111827`,t.fillText(`funhub:device-id`,12,12),t.fillStyle=`#ef4444`,t.fillText(`canvas-fp`,13,13),t.globalCompositeOperation=`multiply`,t.fillStyle=`rgba(59, 130, 246, 0.7)`,t.beginPath(),t.arc(240,70,28,0,Math.PI*2),t.closePath(),t.fill(),t.fillStyle=`rgba(34, 197, 94, 0.7)`,t.fillRect(210,88,60,32);let r=e.toDataURL();return n.MD5(r).toString(n.enc.Hex)}catch{return``}}function d(){try{if(typeof document>`u`)return``;let e=document.createElement(`canvas`),t=e.getContext(`webgl`)||e.getContext(`experimental-webgl`);if(!t)return``;let r=t.getExtension(`WEBGL_debug_renderer_info`),i=r?t.getParameter(r.UNMASKED_VENDOR_WEBGL):``,a=r?t.getParameter(r.UNMASKED_RENDERER_WEBGL):``,o={vendor:String(t.getParameter(t.VENDOR)||``),renderer:String(t.getParameter(t.RENDERER)||``),version:String(t.getParameter(t.VERSION)||``),shadingLanguageVersion:String(t.getParameter(t.SHADING_LANGUAGE_VERSION)||``),unmaskedVendor:String(i||``),unmaskedRenderer:String(a||``),maxTextureSize:Number(t.getParameter(t.MAX_TEXTURE_SIZE)??0)||0,maxCubeMapTextureSize:Number(t.getParameter(t.MAX_CUBE_MAP_TEXTURE_SIZE)??0)||0};return n.MD5(JSON.stringify(o)).toString(n.enc.Hex)}catch{return``}}export{i as getOrCreateDeviceId};
@@ -1,2 +1,2 @@
1
1
 
2
- import{getCookie as e,isClient as t}from"./common.mjs";import{getOrCreateDeviceId as n}from"./device-id.mjs";import{useBlockedModalStore as r}from"../store/modules/blocked-modal-store.mjs";import{useUserStore as i}from"../store/modules/user-store.mjs";import{resolveRequestUserId as a}from"./request-user-id.mjs";import{toast as o}from"sonner";const s=process.env.NEXT_PUBLIC_API_BASE||``;let c=!1,l=!1,u=null;var d=class extends Error{constructor(e,t,n){super(t),this.status=e,this.response=n}};function f(e){if(!e)return``;let t=new URLSearchParams;Object.entries(e).forEach(([e,n])=>{n!=null&&t.append(e,String(n))});let n=t.toString();return n?`?${n}`:``}function p(e=1e4,t){let n=new AbortController,r=setTimeout(()=>n.abort(),e);return t&&t.addEventListener(`abort`,()=>n.abort()),{signal:n.signal,clear:()=>clearTimeout(r)}}function m(){t()&&(l||(l=!0,i.getState().logout(),setTimeout(()=>{l=!1},1e3)))}var h=class{constructor(){this.baseURL=s,this.defaultConfig={method:`GET`,timeout:1e4,cache:`default`}}async buildHeaders(e){return{"Content-Type":`application/json`,...e}}buildURL(e,t){return`${e.startsWith(`http`)?e:`${this.baseURL}${e.startsWith(`/`)?``:`/`}${e}`}${f(t)}`}async executeOnce(s){let{url:l,method:f=`GET`,data:h,params:g,timeout:_,cache:v,revalidate:y,tags:b,signal:x}=s,S=await this.buildHeaders(s.headers),C=``,w=f===`GET`||f===`HEAD`;if(t()&&!S[`x-device-id`]){let e=await n();e&&(S[`x-device-id`]=e)}C=await e(`token`);let T=await e(`userId`),E=await e(`guestUserId`);C&&(S.Authorization=`Bearer ${C}`);let D=a(T,E);if(D&&(S[`x-user-id`]=D),t()&&(u?.token&&u.token!==C&&(u=null),C&&u?.token===C))throw m(),new d(403,`账号已被封禁`,{code:403,message:`账号已被封禁`,data:{blocked_remark:u.blockedRemark,blocked_end_time:u.blockedEndTime}});let O;!w&&h!==void 0&&(h instanceof FormData?(delete S[`Content-Type`],O=h):O=JSON.stringify(h));let{signal:k,clear:A}=p(_,x),j=this.buildURL(l,g);try{let e=await fetch(j,{method:f,headers:S,body:O,cache:v,signal:k,next:{revalidate:y??0,tags:b}}),n=e.status===401||e.status===403;if(!e.ok&&!n)throw new d(e.status,e.statusText,await e.text());let a=await e.json(),s=n&&e.status===401||a?.code===401,l=n&&e.status===403||a?.code===403;if(s)if(t())c||(c=!0,o.error(`登录已过期,请重新登录`),i.getState().logout(),setTimeout(()=>{c=!1},3e3));else throw new d(a.code,a.message,a);if(l){let e=typeof a?.data?.blocked_remark==`string`?a.data.blocked_remark:``,n=Number(a?.data?.blocked_end_time),i={blockedRemark:e,blockedEndTime:Number.isFinite(n)&&n>0?Math.floor(n):0};if(t()){let e=C,t=u?.token===e;e&&(u={token:e,...i}),t||r.getState().open(i),m()}throw new d(a.code,a.message,a)}if(a.code!==0)throw new d(a.code,a.message,a);return a}finally{A()}}async request(e){let t={...this.defaultConfig,...e};return await this.executeOnce(t)}get(e,t){return this.request({...t,method:`GET`,url:e})}post(e,t){return this.request({...t,method:`POST`,url:e})}put(e,t){return this.request({...t,method:`PUT`,url:e})}delete(e,t){return this.request({...t,method:`DELETE`,url:e})}patch(e,t){return this.request({...t,method:`PATCH`,url:e})}};const g=new h;export{h as HttpClient,d as HttpError,g as default};
2
+ import{getCookie as e,isClient as t}from"./common.mjs";import{getOrCreateDeviceId as n}from"./device-id.mjs";import{useBlockedModalStore as r}from"../store/modules/blocked-modal-store.mjs";import{useUserStore as i}from"../store/modules/user-store.mjs";import{toast as a}from"sonner";const o=process.env.NEXT_PUBLIC_API_BASE||``;let s=!1,c=!1,l=null;var u=class extends Error{constructor(e,t,n){super(t),this.status=e,this.response=n}};function d(e){if(!e)return``;let t=new URLSearchParams;Object.entries(e).forEach(([e,n])=>{n!=null&&t.append(e,String(n))});let n=t.toString();return n?`?${n}`:``}function f(e=1e4,t){let n=new AbortController,r=setTimeout(()=>n.abort(),e);return t&&t.addEventListener(`abort`,()=>n.abort()),{signal:n.signal,clear:()=>clearTimeout(r)}}function p(){t()&&(c||(c=!0,i.getState().logout(),setTimeout(()=>{c=!1},1e3)))}var m=class{constructor(){this.baseURL=o,this.defaultConfig={method:`GET`,timeout:1e4,cache:`default`}}async buildHeaders(e){return{"Content-Type":`application/json`,...e}}buildURL(e,t){return`${e.startsWith(`http`)?e:`${this.baseURL}${e.startsWith(`/`)?``:`/`}${e}`}${d(t)}`}async executeOnce(o){let{url:c,method:d=`GET`,data:m,params:h,timeout:g,cache:_,revalidate:v,tags:y,signal:b}=o,x=await this.buildHeaders(o.headers),S=``,C=d===`GET`||d===`HEAD`;if(t()){if(!x[`x-device-id`]){let e=n();e&&(x[`x-device-id`]=e)}S=await e(`token`);let t=await e(`userId`);if(S&&(x.Authorization=`Bearer ${S}`),t&&(x[`X-User-Id`]=t),l?.token&&l.token!==S&&(l=null),S&&l?.token===S)throw p(),new u(403,`账号已被封禁`,{code:403,message:`账号已被封禁`,data:{blocked_remark:l.blockedRemark,blocked_end_time:l.blockedEndTime}})}let w;!C&&m!==void 0&&(m instanceof FormData?(delete x[`Content-Type`],w=m):w=JSON.stringify(m));let{signal:T,clear:E}=f(g,b),D=this.buildURL(c,h);try{let e=await fetch(D,{method:d,headers:x,body:w,cache:_,signal:T,next:{revalidate:v??0,tags:y}}),n=e.status===401||e.status===403;if(!e.ok&&!n)throw new u(e.status,e.statusText,await e.text());let o=await e.json(),c=n&&e.status===401||o?.code===401,f=n&&e.status===403||o?.code===403;if(c)if(t())s||(s=!0,a.error(`登录已过期,请重新登录`),i.getState().logout(),setTimeout(()=>{s=!1},3e3));else throw new u(o.code,o.message,o);if(f){let e=typeof o?.data?.blocked_remark==`string`?o.data.blocked_remark:``,n=Number(o?.data?.blocked_end_time),i={blockedRemark:e,blockedEndTime:Number.isFinite(n)&&n>0?Math.floor(n):0};if(t()){let e=S,t=l?.token===e;e&&(l={token:e,...i}),t||r.getState().open(i),p()}throw new u(o.code,o.message,o)}if(o.code!==0)throw new u(o.code,o.message,o);return o}finally{E()}}async request(e){let t={...this.defaultConfig,...e};return await this.executeOnce(t)}get(e,t){return this.request({...t,method:`GET`,url:e})}post(e,t){return this.request({...t,method:`POST`,url:e})}put(e,t){return this.request({...t,method:`PUT`,url:e})}delete(e,t){return this.request({...t,method:`DELETE`,url:e})}patch(e,t){return this.request({...t,method:`PATCH`,url:e})}};const h=new m;export{m as HttpClient,u as HttpError,h as default};
@@ -1,2 +1,2 @@
1
1
 
2
- const e=8,t=32,n=`!@#$%^&*+-=()[]{}_,.:;<>"'\``;function r(e){switch(e.type){case`too-short`:return`密码至少 8 位`;case`too-long`:return`密码不能超过 32 位`;case`need-two-types`:return`密码需包含字母、数字或符号中的至少两种`;case`invalid-char`:return`密码包含不支持的字符 "${e.invalidChar}"`;case`not-match`:return`两次输入的密码不一致`;default:return``}}function i(e){let t=!1,r=!1,i=!1;for(let a of e){if(/[A-Z]/i.test(a)){t=!0;continue}if(/\d/.test(a)){r=!0;continue}n.includes(a)&&(i=!0)}return Number(t)+Number(r)+Number(i)}function a(e){for(let t of e)if(!/[A-Z]/i.test(t)&&!/\d/.test(t)&&!n.includes(t))return t;return``}function o(e,t){if(e.length===0||t.length===0)return{type:`none`,invalidChar:``};if(e.length<8)return{type:`too-short`,invalidChar:``};if(e.length>32)return{type:`too-long`,invalidChar:``};if(i(e)<2)return{type:`need-two-types`,invalidChar:``};let n=a(e);return n?{type:`invalid-char`,invalidChar:n}:e===t?{type:`none`,invalidChar:``}:{type:`not-match`,invalidChar:``}}export{n as PASSWORD_ALLOWED_SPECIAL_CHARS,t as PASSWORD_MAX_LENGTH,e as PASSWORD_MIN_LENGTH,a as getFirstInvalidPasswordChar,i as getPasswordCharacterTypeCount,r as getPasswordValidationErrorText,o as validatePasswordPair};
2
+ const e=8,t=32,n=`!@#$%^&*+-=()[]{}_,.:;<>"'\``;function r(e){switch(e.type){case`too-short`:return`密码至少 8 位`;case`too-long`:return`密码不能超过 32 位`;case`need-two-types`:return`密码需包含字母、数字或符号中的至少两种`;case`invalid-char`:return`密码包含不支持的字符 "${e.invalidChar}"`;case`not-match`:return`两次输入的密码不一致`;default:return``}}function i(e){let t=!1,r=!1,i=!1;for(let a of e){if(/[A-Z]/i.test(a)){t=!0;continue}if(/\d/.test(a)){r=!0;continue}n.includes(a)&&(i=!0)}return Number(t)+Number(r)+Number(i)}function a(e){for(let t of e)if(!/[A-Z]/i.test(t)&&!/\d/.test(t)&&!n.includes(t))return t;return``}function o(e,t){if(e.length===0||t.length===0)return{type:`none`,invalidChar:``};if(e.length<8)return{type:`too-short`,invalidChar:``};if(e.length>32)return{type:`too-long`,invalidChar:``};let n=a(e);return n?{type:`invalid-char`,invalidChar:n}:i(e)<2?{type:`need-two-types`,invalidChar:``}:e===t?{type:`none`,invalidChar:``}:{type:`not-match`,invalidChar:``}}export{n as PASSWORD_ALLOWED_SPECIAL_CHARS,t as PASSWORD_MAX_LENGTH,e as PASSWORD_MIN_LENGTH,a as getFirstInvalidPasswordChar,i as getPasswordCharacterTypeCount,r as getPasswordValidationErrorText,o as validatePasswordPair};
@@ -6,10 +6,10 @@ type InspectorFieldOption<T> = Omit<T, 'type'>;
6
6
  declare const stringInspectorFieldSchema: z.ZodObject<{
7
7
  type: z.ZodLiteral<"string">;
8
8
  fieldType: z.ZodOptional<z.ZodEnum<{
9
- select: "select";
10
9
  input: "input";
11
10
  textarea: "textarea";
12
11
  color: "color";
12
+ select: "select";
13
13
  }>>;
14
14
  defaultValue: z.ZodOptional<z.ZodString>;
15
15
  label: z.ZodOptional<z.ZodString>;
@@ -68,10 +68,10 @@ type ObjectInspectorFieldOption = InspectorFieldOption<z.infer<typeof objectInsp
68
68
  declare const componentInspectorFieldMetaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
69
69
  type: z.ZodLiteral<"string">;
70
70
  fieldType: z.ZodOptional<z.ZodEnum<{
71
- select: "select";
72
71
  input: "input";
73
72
  textarea: "textarea";
74
73
  color: "color";
74
+ select: "select";
75
75
  }>>;
76
76
  defaultValue: z.ZodOptional<z.ZodString>;
77
77
  label: z.ZodOptional<z.ZodString>;
package/dist/utils.d.mts CHANGED
@@ -1,5 +1,4 @@
1
1
 
2
- import { getOrCreateBrowserFingerprint } from "./utils/browser-fingerprint.mjs";
3
2
  import { clearMyChannelsFromStorage, loadHiddenChannelIdsFromStorage, loadMyChannelsFromStorage, saveHiddenChannelIdsToStorage } from "./utils/channel-storage.mjs";
4
3
  import { cn } from "./utils/cn.mjs";
5
4
  import { debounceFun, formatVideoDuration, generateDynamicSign, generateUUID, getAtUserElement, getCookie, getCurrentSecondTime, getUserId, hashPassword, isClient, isMobileDevice, numToString, parseResolution, parseTextAtUserIds, randomString, removeCookie, replaceAtUserElement, replaceAtUserElementHtmlStr, secondToTime, setCookie, stringToNumber, stripHtmlTags, updateUrlParams } from "./utils/common.mjs";
@@ -19,9 +18,8 @@ import "./utils/schema/index.mjs";
19
18
  import { components, loadComponent, rewriteComponent } from "./utils/loaders.mjs";
20
19
  import { createInputAndSelectFile, getCoverImage, getImageResolutionFromFile } from "./utils/media.mjs";
21
20
  import { PASSWORD_ALLOWED_SPECIAL_CHARS, PASSWORD_MAX_LENGTH, PASSWORD_MIN_LENGTH, PasswordValidationResult, PasswordValidationType, getFirstInvalidPasswordChar, getPasswordCharacterTypeCount, getPasswordValidationErrorText, validatePasswordPair } from "./utils/password-validator.mjs";
22
- import { resolveRequestUserId } from "./utils/request-user-id.mjs";
23
21
  import { PresignedUploadInfo, UploadToS3Options, UploadToS3Result, uploadToS3WithPresignedUrl } from "./utils/s3-uploader.mjs";
24
22
  import { base64ToUint8Array, uint8ArrayToBase64, uint8ArrayToNumberArray } from "./utils/uint8.mjs";
25
23
  import { UploadFileResult, encryptBncBuffer, uploadFile } from "./utils/upload-file.mjs";
26
24
  import { CompatibleRouter, useRouter } from "./utils/use-compatible-router.mjs";
27
- export { CompatibleRouter, ComponentPropsSchemaBuilderHelpers, DefineMaterialOption, eventBus as EventBus, HttpClient, HttpError, INSPECTOR_META_KEY, ImageCompressionQualityRule, InferSchemaProps, MaterialCategory, MaterialComponentMode, MaterialComponentProps, MaterialMap, OverwriteMaterialOption, PASSWORD_ALLOWED_SPECIAL_CHARS, PASSWORD_MAX_LENGTH, PASSWORD_MIN_LENGTH, PasswordValidationResult, PasswordValidationType, PresignedUploadInfo, RequestConfig, RequestMethod, ResponseData, SchemaHasDefaultValue, UploadFileResult, UploadToS3Options, UploadToS3Result, array, base64ToUint8Array, boolean, checkFollowStatus, clearMyChannelsFromStorage, cn, components, compressImage, createInputAndSelectFile, datetime, debounceFun, decryptImageToArrayBuffer, decryptImageToUint8Array, decryptImageUrl, defaultImageCompressionMaxSizeMB, defaultImageCompressionQuality, defineComponentPropsSchema, defineMaterial, disablePageScroll, enablePageScroll, encryptBncBuffer, enumSchema as enum, enumSchema, followUser, formatVideoDuration, generateDynamicSign, generateMaterialMap, generateMaterialMapGroupByCategory, generateUUID, getAppId, getAtUserElement, getCookie, getCoverImage, getCurrentSecondTime, getCurrentUserId, getFirstInvalidPasswordChar, getImageCompressionQuality, getImageResolutionFromFile, getOrCreateBrowserFingerprint, getOrCreateDeviceId, getPasswordCharacterTypeCount, getPasswordValidationErrorText, getResUrl, getSchemaDefaultProps, getUserId, guessImageContentTypeFromUrl, hashPassword, httpClient, imageCompressionQualityRules, isClient, isEncryptedImageUrl, isMobileDevice, isValidEmail, loadComponent, loadHiddenChannelIdsFromStorage, loadMyChannelsFromStorage, normalizeClassName, numToString, number, object, overwriteMaterial, parseResolution, parseTextAtUserIds, pxToVw, randomString, removeCookie, replaceAtUserElement, replaceAtUserElementHtmlStr, resolveImageUrl, resolveRequestUserId, rewriteComponent, saveHiddenChannelIdsToStorage, secondToTime, setCookie, shouldProbeImageUrl, shouldUseApiResDirectly, string, stringToNumber, stripHtmlTags, timeRange, uint8ArrayToBase64, uint8ArrayToNumberArray, unfollowUser, updateUrlParams, uploadFile, uploadToS3WithPresignedUrl, useRouter, validatePasswordPair, withInspectorMeta };
25
+ export { CompatibleRouter, ComponentPropsSchemaBuilderHelpers, DefineMaterialOption, eventBus as EventBus, HttpClient, HttpError, INSPECTOR_META_KEY, ImageCompressionQualityRule, InferSchemaProps, MaterialCategory, MaterialComponentMode, MaterialComponentProps, MaterialMap, OverwriteMaterialOption, PASSWORD_ALLOWED_SPECIAL_CHARS, PASSWORD_MAX_LENGTH, PASSWORD_MIN_LENGTH, PasswordValidationResult, PasswordValidationType, PresignedUploadInfo, RequestConfig, RequestMethod, ResponseData, SchemaHasDefaultValue, UploadFileResult, UploadToS3Options, UploadToS3Result, array, base64ToUint8Array, boolean, checkFollowStatus, clearMyChannelsFromStorage, cn, components, compressImage, createInputAndSelectFile, datetime, debounceFun, decryptImageToArrayBuffer, decryptImageToUint8Array, decryptImageUrl, defaultImageCompressionMaxSizeMB, defaultImageCompressionQuality, defineComponentPropsSchema, defineMaterial, disablePageScroll, enablePageScroll, encryptBncBuffer, enumSchema as enum, enumSchema, followUser, formatVideoDuration, generateDynamicSign, generateMaterialMap, generateMaterialMapGroupByCategory, generateUUID, getAppId, getAtUserElement, getCookie, getCoverImage, getCurrentSecondTime, getCurrentUserId, getFirstInvalidPasswordChar, getImageCompressionQuality, getImageResolutionFromFile, getOrCreateDeviceId, getPasswordCharacterTypeCount, getPasswordValidationErrorText, getResUrl, getSchemaDefaultProps, getUserId, guessImageContentTypeFromUrl, hashPassword, httpClient, imageCompressionQualityRules, isClient, isEncryptedImageUrl, isMobileDevice, isValidEmail, loadComponent, loadHiddenChannelIdsFromStorage, loadMyChannelsFromStorage, normalizeClassName, numToString, number, object, overwriteMaterial, parseResolution, parseTextAtUserIds, pxToVw, randomString, removeCookie, replaceAtUserElement, replaceAtUserElementHtmlStr, resolveImageUrl, rewriteComponent, saveHiddenChannelIdsToStorage, secondToTime, setCookie, shouldProbeImageUrl, shouldUseApiResDirectly, string, stringToNumber, stripHtmlTags, timeRange, uint8ArrayToBase64, uint8ArrayToNumberArray, unfollowUser, updateUrlParams, uploadFile, uploadToS3WithPresignedUrl, useRouter, validatePasswordPair, withInspectorMeta };
package/dist/utils.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{cn as e}from"./utils/cn.mjs";import{debounceFun as t,formatVideoDuration as ee,generateDynamicSign as n,generateUUID as r,getAtUserElement as i,getCookie as a,getCurrentSecondTime as o,getUserId as s,hashPassword as c,isClient as l,isMobileDevice as u,numToString as d,parseResolution as f,parseTextAtUserIds as p,randomString as m,removeCookie as h,replaceAtUserElement as g,replaceAtUserElementHtmlStr as _,secondToTime as v,setCookie as y,stringToNumber as b,stripHtmlTags as x,updateUrlParams as S}from"./utils/common.mjs";import{getOrCreateBrowserFingerprint as C}from"./utils/browser-fingerprint.mjs";import{clearMyChannelsFromStorage as w,loadHiddenChannelIdsFromStorage as T,loadMyChannelsFromStorage as E,saveHiddenChannelIdsToStorage as D}from"./utils/channel-storage.mjs";import O from"./utils/get-res-url.mjs";import{decryptImageToArrayBuffer as k,decryptImageToUint8Array as A,decryptImageUrl as j,guessImageContentTypeFromUrl as M,isEncryptedImageUrl as N,resolveImageUrl as P,shouldProbeImageUrl as F,shouldUseApiResDirectly as I}from"./utils/decrypt-image-client.mjs";import{getOrCreateDeviceId as L}from"./utils/device-id.mjs";import{isValidEmail as R}from"./utils/email-validator.mjs";import z from"./utils/event-bus.mjs";import{resolveRequestUserId as B}from"./utils/request-user-id.mjs";import V,{HttpClient as H,HttpError as U}from"./utils/http.mjs";import{checkFollowStatus as W,followUser as G,getAppId as K,getCurrentUserId as q,unfollowUser as J}from"./utils/follow-service.mjs";import{disablePageScroll as te,enablePageScroll as Y,normalizeClassName as X,pxToVw as Z}from"./utils/helper.mjs";import{compressImage as Q,defaultImageCompressionMaxSizeMB as ne,defaultImageCompressionQuality as re,getImageCompressionQuality as ie,imageCompressionQualityRules as ae}from"./utils/image-compression.mjs";import{components as oe,loadComponent as se,rewriteComponent as ce}from"./utils/loaders.mjs";import{createInputAndSelectFile as le,getCoverImage as ue,getImageResolutionFromFile as de}from"./utils/media.mjs";import{PASSWORD_ALLOWED_SPECIAL_CHARS as fe,PASSWORD_MAX_LENGTH as pe,PASSWORD_MIN_LENGTH as me,getFirstInvalidPasswordChar as he,getPasswordCharacterTypeCount as ge,getPasswordValidationErrorText as _e,validatePasswordPair as ve}from"./utils/password-validator.mjs";import{uploadToS3WithPresignedUrl as ye}from"./utils/s3-uploader.mjs";import{defineMaterial as be,overwriteMaterial as xe}from"./utils/schema/material.mjs";import{INSPECTOR_META_KEY as Se,array as Ce,boolean as we,datetime as Te,defineComponentPropsSchema as Ee,enumSchema as $,getSchemaDefaultProps as De,number as Oe,object as ke,string as Ae,timeRange as je,withInspectorMeta as Me}from"./utils/schema/schema.mjs";import{generateMaterialMap as Ne,generateMaterialMapGroupByCategory as Pe}from"./utils/schema/utils.mjs";import{base64ToUint8Array as Fe,uint8ArrayToBase64 as Ie,uint8ArrayToNumberArray as Le}from"./utils/uint8.mjs";import{encryptBncBuffer as Re,uploadFile as ze}from"./utils/upload-file.mjs";import{useRouter as Be}from"./utils/use-compatible-router.mjs";export{z as EventBus,H as HttpClient,U as HttpError,Se as INSPECTOR_META_KEY,fe as PASSWORD_ALLOWED_SPECIAL_CHARS,pe as PASSWORD_MAX_LENGTH,me as PASSWORD_MIN_LENGTH,Ce as array,Fe as base64ToUint8Array,we as boolean,W as checkFollowStatus,w as clearMyChannelsFromStorage,e as cn,oe as components,Q as compressImage,le as createInputAndSelectFile,Te as datetime,t as debounceFun,k as decryptImageToArrayBuffer,A as decryptImageToUint8Array,j as decryptImageUrl,ne as defaultImageCompressionMaxSizeMB,re as defaultImageCompressionQuality,Ee as defineComponentPropsSchema,be as defineMaterial,te as disablePageScroll,Y as enablePageScroll,Re as encryptBncBuffer,$ as enum,$ as enumSchema,G as followUser,ee as formatVideoDuration,n as generateDynamicSign,Ne as generateMaterialMap,Pe as generateMaterialMapGroupByCategory,r as generateUUID,K as getAppId,i as getAtUserElement,a as getCookie,ue as getCoverImage,o as getCurrentSecondTime,q as getCurrentUserId,he as getFirstInvalidPasswordChar,ie as getImageCompressionQuality,de as getImageResolutionFromFile,C as getOrCreateBrowserFingerprint,L as getOrCreateDeviceId,ge as getPasswordCharacterTypeCount,_e as getPasswordValidationErrorText,O as getResUrl,De as getSchemaDefaultProps,s as getUserId,M as guessImageContentTypeFromUrl,c as hashPassword,V as httpClient,ae as imageCompressionQualityRules,l as isClient,N as isEncryptedImageUrl,u as isMobileDevice,R as isValidEmail,se as loadComponent,T as loadHiddenChannelIdsFromStorage,E as loadMyChannelsFromStorage,X as normalizeClassName,d as numToString,Oe as number,ke as object,xe as overwriteMaterial,f as parseResolution,p as parseTextAtUserIds,Z as pxToVw,m as randomString,h as removeCookie,g as replaceAtUserElement,_ as replaceAtUserElementHtmlStr,P as resolveImageUrl,B as resolveRequestUserId,ce as rewriteComponent,D as saveHiddenChannelIdsToStorage,v as secondToTime,y as setCookie,F as shouldProbeImageUrl,I as shouldUseApiResDirectly,Ae as string,b as stringToNumber,x as stripHtmlTags,je as timeRange,Ie as uint8ArrayToBase64,Le as uint8ArrayToNumberArray,J as unfollowUser,S as updateUrlParams,ze as uploadFile,ye as uploadToS3WithPresignedUrl,Be as useRouter,ve as validatePasswordPair,Me as withInspectorMeta};
2
+ import{cn as e}from"./utils/cn.mjs";import{clearMyChannelsFromStorage as t,loadHiddenChannelIdsFromStorage as ee,loadMyChannelsFromStorage as n,saveHiddenChannelIdsToStorage as r}from"./utils/channel-storage.mjs";import{debounceFun as i,formatVideoDuration as a,generateDynamicSign as o,generateUUID as s,getAtUserElement as c,getCookie as l,getCurrentSecondTime as u,getUserId as d,hashPassword as f,isClient as p,isMobileDevice as m,numToString as h,parseResolution as g,parseTextAtUserIds as _,randomString as v,removeCookie as y,replaceAtUserElement as b,replaceAtUserElementHtmlStr as x,secondToTime as S,setCookie as C,stringToNumber as w,stripHtmlTags as T,updateUrlParams as E}from"./utils/common.mjs";import D from"./utils/get-res-url.mjs";import{decryptImageToArrayBuffer as O,decryptImageToUint8Array as k,decryptImageUrl as A,guessImageContentTypeFromUrl as j,isEncryptedImageUrl as M,resolveImageUrl as N,shouldProbeImageUrl as P,shouldUseApiResDirectly as F}from"./utils/decrypt-image-client.mjs";import{getOrCreateDeviceId as I}from"./utils/device-id.mjs";import{isValidEmail as L}from"./utils/email-validator.mjs";import R from"./utils/event-bus.mjs";import z,{HttpClient as B,HttpError as V}from"./utils/http.mjs";import{checkFollowStatus as H,followUser as U,getAppId as W,getCurrentUserId as G,unfollowUser as K}from"./utils/follow-service.mjs";import{disablePageScroll as q,enablePageScroll as J,normalizeClassName as te,pxToVw as Y}from"./utils/helper.mjs";import{compressImage as X,defaultImageCompressionMaxSizeMB as Z,defaultImageCompressionQuality as Q,getImageCompressionQuality as ne,imageCompressionQualityRules as re}from"./utils/image-compression.mjs";import{components as ie,loadComponent as ae,rewriteComponent as oe}from"./utils/loaders.mjs";import{createInputAndSelectFile as se,getCoverImage as ce,getImageResolutionFromFile as le}from"./utils/media.mjs";import{PASSWORD_ALLOWED_SPECIAL_CHARS as ue,PASSWORD_MAX_LENGTH as de,PASSWORD_MIN_LENGTH as fe,getFirstInvalidPasswordChar as pe,getPasswordCharacterTypeCount as me,getPasswordValidationErrorText as he,validatePasswordPair as ge}from"./utils/password-validator.mjs";import{uploadToS3WithPresignedUrl as _e}from"./utils/s3-uploader.mjs";import{defineMaterial as ve,overwriteMaterial as ye}from"./utils/schema/material.mjs";import{INSPECTOR_META_KEY as be,array as xe,boolean as Se,datetime as Ce,defineComponentPropsSchema as we,enumSchema as $,getSchemaDefaultProps as Te,number as Ee,object as De,string as Oe,timeRange as ke,withInspectorMeta as Ae}from"./utils/schema/schema.mjs";import{generateMaterialMap as je,generateMaterialMapGroupByCategory as Me}from"./utils/schema/utils.mjs";import{base64ToUint8Array as Ne,uint8ArrayToBase64 as Pe,uint8ArrayToNumberArray as Fe}from"./utils/uint8.mjs";import{encryptBncBuffer as Ie,uploadFile as Le}from"./utils/upload-file.mjs";import{useRouter as Re}from"./utils/use-compatible-router.mjs";export{R as EventBus,B as HttpClient,V as HttpError,be as INSPECTOR_META_KEY,ue as PASSWORD_ALLOWED_SPECIAL_CHARS,de as PASSWORD_MAX_LENGTH,fe as PASSWORD_MIN_LENGTH,xe as array,Ne as base64ToUint8Array,Se as boolean,H as checkFollowStatus,t as clearMyChannelsFromStorage,e as cn,ie as components,X as compressImage,se as createInputAndSelectFile,Ce as datetime,i as debounceFun,O as decryptImageToArrayBuffer,k as decryptImageToUint8Array,A as decryptImageUrl,Z as defaultImageCompressionMaxSizeMB,Q as defaultImageCompressionQuality,we as defineComponentPropsSchema,ve as defineMaterial,q as disablePageScroll,J as enablePageScroll,Ie as encryptBncBuffer,$ as enum,$ as enumSchema,U as followUser,a as formatVideoDuration,o as generateDynamicSign,je as generateMaterialMap,Me as generateMaterialMapGroupByCategory,s as generateUUID,W as getAppId,c as getAtUserElement,l as getCookie,ce as getCoverImage,u as getCurrentSecondTime,G as getCurrentUserId,pe as getFirstInvalidPasswordChar,ne as getImageCompressionQuality,le as getImageResolutionFromFile,I as getOrCreateDeviceId,me as getPasswordCharacterTypeCount,he as getPasswordValidationErrorText,D as getResUrl,Te as getSchemaDefaultProps,d as getUserId,j as guessImageContentTypeFromUrl,f as hashPassword,z as httpClient,re as imageCompressionQualityRules,p as isClient,M as isEncryptedImageUrl,m as isMobileDevice,L as isValidEmail,ae as loadComponent,ee as loadHiddenChannelIdsFromStorage,n as loadMyChannelsFromStorage,te as normalizeClassName,h as numToString,Ee as number,De as object,ye as overwriteMaterial,g as parseResolution,_ as parseTextAtUserIds,Y as pxToVw,v as randomString,y as removeCookie,b as replaceAtUserElement,x as replaceAtUserElementHtmlStr,N as resolveImageUrl,oe as rewriteComponent,r as saveHiddenChannelIdsToStorage,S as secondToTime,C as setCookie,P as shouldProbeImageUrl,F as shouldUseApiResDirectly,Oe as string,w as stringToNumber,T as stripHtmlTags,ke as timeRange,Pe as uint8ArrayToBase64,Fe as uint8ArrayToNumberArray,K as unfollowUser,E as updateUrlParams,Le as uploadFile,_e as uploadToS3WithPresignedUrl,Re as useRouter,ge as validatePasswordPair,Ae as withInspectorMeta};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funhub/platform",
3
3
  "type": "module",
4
- "version": "0.2.9",
4
+ "version": "0.2.11",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -88,7 +88,6 @@
88
88
  "@aws-sdk/lib-storage": "^3.890.0",
89
89
  "@base-ui/react": "^1.0.0",
90
90
  "@clack/prompts": "^1.1.0",
91
- "@fingerprintjs/fingerprintjs": "5.1.0",
92
91
  "@ncdai/react-wheel-picker": "^1.1.0",
93
92
  "@next/bundle-analyzer": "^16.1.6",
94
93
  "browser-image-compression": "^2.0.2",
@@ -1,2 +0,0 @@
1
-
2
- import e from"zod";const t=e.object({enabled:e.boolean().optional(),categories:e.array(e.any()).optional(),tags:e.array(e.any()).optional(),sortRule:e.string().optional(),contentForms:e.array(e.string()).optional()}).passthrough();function n(e){return String(e??``).trim().toLowerCase()===`latest`}function r(e){if(!e||typeof e!=`object`)return``;let t=e,n=t.ID!==void 0&&t.ID!==null?t.ID:t.id;return n==null?``:String(n).trim()}function i(e){if(!e||typeof e!=`object`)return``;let t=e.name;return t==null?``:String(t).trim()}function a(e){if(e==null)return;let n=e;if(typeof e==`string`){let t=e.trim();if(!t)return;try{n=JSON.parse(t)}catch{return}}if(typeof n!=`object`||!n||Array.isArray(n))return;let a=t.safeParse(n);if(!a.success)return;let o=a.data,s=Array.isArray(o.categories)?o.categories.map(r).filter(Boolean):[],c=Array.isArray(o.tags)?o.tags.map(i).filter(Boolean):[];return{enabled:o.enabled===!0,tagIds:c,catIds:s,sortRule:typeof o.sortRule==`string`?o.sortRule:void 0,contentForms:Array.isArray(o.contentForms)?o.contentForms.map(e=>String(e||``).trim()).filter(Boolean):void 0}}export{t as homeRecommendSmartLayoutSchema,n as isHomeRecommendLatestSortRule,a as normalizeHomeRecommendSmartLayout};
@@ -1,17 +0,0 @@
1
-
2
- import { RankingRecommendInspectorProps } from "./schema.mjs";
3
- import { RankingCardItem } from "./shared.mjs";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
-
6
- //#region components/biz/business/ranking-recommend/client.d.ts
7
- type RankingRecommendProps = RankingRecommendInspectorProps & {
8
- prefetchItems?: RankingCardItem[];
9
- };
10
- /**
11
- * 推荐榜物料组件 - 客户端部分
12
- * - 智能铺设开启:按标签调用热门列表接口,随机铺设推荐位
13
- * - 智能铺设关闭:按配置的内容 ID 取数
14
- */
15
- declare function RankingRecommendClient(props: RankingRecommendProps): react_jsx_runtime0.JSX.Element | null;
16
- //#endregion
17
- export { RankingRecommendClient, RankingRecommendProps };