"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2090],{27016:(e,t,a)=>{a.d(t,{Q:()=>_});var n=a(58632),r=a(64162),c=a(4126),s=a(93995),o=a(26324),l=a(62564),i=a(21367);let _=class extends r.E{constructor(){super(...arguments),this.defaultState=(0,i.$V)()}updateVideo(e){return e.pipe((0,l.T)((e=>((0,i.LM)().updateVideo(e),this.noop()))))}};_.jotaiAtom=i.yA,(0,n.__decorate)([(0,c.Mj)(),(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[o.c]),(0,n.__metadata)("design:returntype",void 0)],_.prototype,"updateVideo",null),_=(0,n.__decorate)([(0,s.n)("VideoPlayerJotai")],_),_.__SIGI_MODULE__=i.yA},8800:(e,t,a)=>{a.d(t,{PT:()=>s,bg:()=>i});var n=a(99789),r=a.n(n);const c={[-1]:-1,0:0,1:1,2:2,4:3};function s(e,t={}){var a;const n=r()(e,"user","reply_comment");return n.user=null!==(a=e.user.unique_id)&&void 0!==a?a:"",!e.reply_comment||t.ignoreReply?[n]:[n,...e.reply_comment.reduce(((e,t)=>(s(t).forEach((t=>{e.push(t)})),e)),[])]}function o(e){var t,a;return null!==(a=null===(t=null==e?void 0:e.url_list)||void 0===t?void 0:t.find((e=>!/\.webp/.test(e))))&&void 0!==a?a:""}function l({is_block:e,is_blocked:t,follow_status:a,follower_status:n}){if(null!=a)return e?4:t?5:0===a&&1===n?6:c[a]}function i(e,t){const{avatar_larger:a,avatar_medium:n,avatar_thumb:r,uid:c,short_id:s,unique_id:i,sec_uid:_,room_id:h,nickname:d,is_block:u,is_blocked:f,follow_status:m,signature:g,show_favorite_list:p,custom_verify:S,enterprise_verify_reason:v,comment_setting:k,duet_setting:E,is_ad_fake:C,is_private_account:w,secret:b,show_secret_banner:y,stitch_setting:O,follower_status:R}=e;return{avatarLarger:o(a),avatarMedium:o(n),avatarThumb:o(r),id:c,shortId:s,uniqueId:null!=i?i:"",secUid:null!=_?_:"",roomId:h?String(h):void 0,nickname:d,relation:l({is_block:u,is_blocked:f,follow_status:m,follower_status:R}),signature:g,openFavorite:p,verified:Boolean(S||v),commentSetting:k,duetSetting:E,stitchSetting:O,isADVirtual:C,privateAccount:Boolean(w)||Boolean(b),secret:Boolean(b),createTime:0,showPrivateBanner:Boolean(y),extraInfo:Object.assign({followerStatus:R},t)}}},30264:(e,t,a)=>{a.d(t,{S:()=>s});var n=a(58632),r=a(38203),c=a(39228);let s=class{constructor(e){this.fetch=e}getTopSearch(e){return this.fetch.get("/api/search/general/full/",{query:e,baseUrlType:2})}getUserSearch(e){return this.fetch.get("/api/search/user/full/",{query:e,baseUrlType:2})}getVideoSearch(e){return this.fetch.get("/api/search/item/full/",{query:e,baseUrlType:2})}getLiveSearch(e){return this.fetch.get("/api/search/live/full/",{query:e,baseUrlType:2})}};s=(0,n.__decorate)([(0,r._)(),(0,n.__metadata)("design:paramtypes",[c.pM])],s)},65365:(e,t,a)=>{a.d(t,{$G:()=>k});var n,r,c,s,o,l,i,_,h,d,u,f,m,g,p,S,v=a(93608);!function(e){e.ClickEnter="click_enter",e.ClickIcon="click_icon",e.ClickViewAll="click_view_all",e.ClickSearch="homepage_click_search",e.ClickMoreGeneralList="click_more_general_list",e.ClickSearchResult="click_search_result",e.SearchHistory="search_history",e.RecomSearch="recom_search",e.ManagePersonalise="manage_personalise"}(n||(n={})),function(e){e.Hot="hot",e.Sav="top",e.Music="music",e.SearchBar="search_bar_outer",e.ExploreAll="explore_all"}(r||(r={})),function(e){e.EnrichSug="enrich_sug",e.NormalSug="normal_sug"}(c||(c={})),function(e){e.User="user",e.Video="video",e.General="general",e.Live="live"}(s||(s={})),function(e){e.SearchHistory="search_history",e.SearchSug="search_sug",e.NormalSearch="normal_search",e.SearchRecom="search_recommend"}(o||(o={})),function(e){e.RecomSearchFeedback="recom_search_feedback"}(l||(l={})),function(e){e.RecomSearch="recom_search",e.SearchHistory="search_history",e.videoTitleChallenge="video_title_challenge",e.NormalSearch="normal_search",e.SearchOuter="search_outer",e.SwitchTab="switch_tab",e.ClickMoreGeneralList="click_more_general_list",e.SearchSug="search_sug",e.DefaultSearchKeyword="default_search_keyword",e.CommentRelatedSearch="comment_related_search",e.CommentHighlightedWords="comment_highlighted_words",e.RelatedSearch="related_search"}(i||(i={})),function(e){e.Sug="sug",e.RecomSearch="recom_search",e.SearchBar="related_search_anchor_v2",e.CommentRelatedSearch="comment_related_search",e.CommentHighlightedWords="comment_highlighted_words",e.RelatedSearch="related_search",e.ExploreAll="explore_all"}(_||(_={})),function(e){e.Tag="tag",e.Person="person",e.LiveCard="live_card",e.HotUser="hot_user"}(h||(h={})),function(e){e.ClickIntoLive="click_into_live",e.ClickInfo="click_info",e.ClickClose="click_close",e.ClickBlankSpace="click_blank_space",e.ClickDone="click_done"}(d||(d={})),function(e){e.Report="report",e.NotRelevant="not_relevant",e.Close="close"}(u||(u={})),function(e){e.Show="show",e.ShowAll="show_all",e.Click="click",e.Clear="clear",e.ClearAll="clear_all"}(f||(f={})),function(e){e.Enter="enter",e.Cancel="cancel"}(m||(m={})),function(e){e.NotInterested="Not interested",e.UnrelatedContent="Unrelated content",e.InappropriateContent="Inappropriate content",e.Others="others",e.Cancel="cancel"}(g||(g={})),function(e){e[e.OnToOff=1]="OnToOff",e[e.OffToOn=2]="OffToOn",e[e.RemainOff=3]="RemainOff",e[e.RemainOn=4]="RemainOn"}(p||(p={})),function(e){e.On="on",e.Off="off"}(S||(S={}));const k={handleSugClick:e=>{v.f.sendEvent("trending_words_click",e)},handleSugImpression:e=>{v.f.sendEvent("trending_words_show",e)},handleSugGroupImpression:e=>{v.f.sendEvent("trending_show",e)},handleSearchEntry:e=>{v.f.sendEvent("enter_search",e)},handleSearchImpression:e=>{v.f.sendEvent("search_result_show",Object.assign({token_type:"person"},e))},handleSearchVideoImpression:e=>{v.f.sendEvent("search_result_show_video",Object.assign({},e))},handleSearch:e=>{v.f.sendEvent("search",Object.assign(Object.assign({},e),{is_success:1}))},handleSearchResultClick:e=>{v.f.sendEvent("search_result_click",Object.assign({},e))},handleSearchSessionFinish:e=>{v.f.sendEvent("search_session_finish",e)},handleSearchResultEmpty:e=>{v.f.sendEvent("empty_search",Object.assign({},e))},handleClickSearch:({target:e="homepage_click_search"})=>{v.f.sendEvent("click_search",{target:e})},handleEnterSearchPage:({enter_method:e="homepage_click_search"})=>{v.f.sendEvent("enter_search_page",{enter_method:e})},handleEnterSearchBlankPage:e=>{v.f.sendEvent("enter_search_blankpage",e)},handleSearchHistory:e=>{v.f.sendEvent("search_history",e)},handleTrendingWordsShow:e=>{v.f.sendEvent("trending_words_show",e)},handleTrendingWordsClick:e=>{v.f.sendEvent("trending_words_click",e)},handleTrendingShow:e=>{v.f.sendEvent("trending_show",e)},handleCommentRelatedSearchBoardShow:e=>{v.f.sendEvent("comment_related_search_board_show",e)},handleCommentRelatedSearchBoardClick:e=>{v.f.sendEvent("comment_related_search_board_click",e)},handleSugReportConfirm:e=>{v.f.sendEvent("sug_report_confirm",e)},handleSugReportLaunch:e=>{v.f.sendEvent("sug_report_launch",e)},handleChallengeTitleClick:e=>{v.f.sendEvent("challenge_title_click",e)},handleClickSearchFeedback:e=>{v.f.sendEvent("click_search_feedback",e)},handleSearchTextSubmit:e=>{v.f.sendEvent("search_text_submit",e)},handleSearchFeedbackStatus:e=>{v.f.sendEvent("search_feedback_status",e)},handleManageSearchPopupShow:e=>{v.f.sendEvent("manage_search_popup_show",e)},handleManageSearchPopupClick:e=>{v.f.sendEvent("manage_search_popup_click",e)}}}}]);