mono/reference/tiktok/files/89650.836eaa0d.js
2026-01-29 18:35:51 +01:00

1 line
21 KiB
JavaScript

"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["89650"],{15305:function(e,n,t){t.d(n,{x:function(){return o}});function o(e){var n,t;return null!=(t=null!=(n=e.displayName)?n:e.name)?t:"UnknownComponent"}},45615:function(e,n,t){t.d(n,{Nw:function(){return f},Rj:function(){return s},_u:function(){return h}});var o=t(56110),i=t(31032),l=t(40099),a=t(48007),d=t(35144),r=t(63230),u=t(56243),c=t(72961),v=t(43264),_=t(80863),s=150;function f(e,n){var t=null!=n?n:{},i=t.defaultPath,l=void 0===i?"":i,u=t.featureParams;if((0,o.A)(e))return l;var c=(null==u?void 0:u.photomodeVid)==="v1";if(null==(v=e.author)?void 0:v.uniqueId)return f({uniqueId:null==(h=e.author)?void 0:h.uniqueId,secUid:null==(p=e.author)?void 0:p.secUid,videoId:e.id,isPhotomode:void 0!==e.imagePost},n);if(e.authorId)return f({uniqueId:e.author,secUid:e.authorSecId,videoId:e.id,isPhotomode:void 0!==e.imagePost},n);if(e.at){var v,h,p,m,y,w,g=(null==(m=e.at.aweme)?void 0:m.aweme_type)===s&&c?"photo":"video";return"/@".concat(null==(y=e.at.aweme)?void 0:y.author.uid,"/").concat(g,"/").concat(null==(w=e.at.aweme)?void 0:w.aweme_id)}if(e.comment){var k,S=(null==(k=e.comment.aweme)?void 0:k.aweme_type)===s&&c?"photo":"video";return"/@".concat(e.comment.aweme.author.uid,"/").concat(S,"/").concat(e.comment.aweme.aweme_id)}if(e.digg){var b,L=(null==(b=e.digg.aweme)?void 0:b.aweme_type)===s&&c?"photo":"video";return"/@".concat(e.digg.aweme.author.uid,"/").concat(L,"/").concat(e.digg.aweme.aweme_id)}if(e.template_notice){var M=function(e){var n,t,o,i,l,r,u=null==(n=e.template_notice.extra_data)?void 0:n.nudge_info,c=e.template_notice.notice,v=null!=u?u:{},_=v.aweme_id,f=v.author_id,h=v.cover_url,p=v.aweme_type;if(h||(h=null==c||null==(o=c.image_url)||null==(t=o.url_list)?void 0:t[0]),_||(_=null==c||null==(l=c.right_schema_url)||null==(i=l.match(/\/detail\/(\d+)/))?void 0:i[1]),!f&&e.type===a.TDV.CreatorVideoRepostNotice){var m=(0,d.x)().user;f=null==m?void 0:m.uid}return{isPhotoMode:p===s||null!=(r=null==h?void 0:h.includes("photomode"))&&r,awemeId:_,authorId:f,coverUrl:h}}(e),I=M.isPhotoMode&&c?"photo":"video";return"/@".concat(M.authorId,"/").concat(I,"/").concat(M.awemeId)}if(e.owner_id&&e.object_id)return f({uniqueId:e.owner_id,videoId:e.object_id,isPhotomode:e.aweme_type===s},n);var F=e.uniqueId,P=e.secUid,O=e.videoId,B=e.isPhotomode,C=(0,_.l3)({uniqueId:F,secUid:P});return C&&O?B&&c?r.Lj.photo({uniqueId:C,id:O}):r.Lj.video({uniqueId:C,id:O}):l}function h(){var e,n,t,o,a=(o=(t=(0,c.L$)((0,v.W)(function(){return["abTestVersion","botType"]},[]))).abTestVersion,t.botType===u.Y.NotBot?null!=(n=null==o||null==(e=o.parameters.webapp_seo_photomode_user_exp)?void 0:e.vid)?n:"v0":"v1");return(0,l.useCallback)(function(e,n){return f(e,(0,i.A)({featureParams:{photomodeVid:a}},n))},[a])}},32878:function(e,n,t){t.d(n,{AT:function(){return B},RW:function(){return C},aL:function(){return x}});var o,i,l=t(48748),a=t(95170),d=t(35383),r=t(7120),u=t(5377),c=t(45996),v=t(6586),_=t(54333),s=t(79262),f=t(23999),h=t(19293),p=t(95719),m=t(24451),y=t(62564),w=t(68710),g=t(78990),k=t(82379),S=t(1455),b=t(69597),L=t(38306),M=t(9659),I=t(49244),F=t(10354);function P(e,n,t,o){var i,l=arguments.length,a=l<3?n:null===o?o=Object.getOwnPropertyDescriptor(n,t):o;if(("undefined"==typeof Reflect?"undefined":(0,s._)(Reflect))==="object"&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,n,t,o);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(a=(l<3?i(a):l>3?i(n,t,a):i(n,t))||a);return l>3&&a&&Object.defineProperty(n,t,a),a}function O(e,n){if(("undefined"==typeof Reflect?"undefined":(0,s._)(Reflect))==="object"&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}var B=((o={}).None="none",o.Mute="mute",o.Unmute="unmute",o.Play="play",o.Pause="pause",o),C=((i={}).Forward="forward",i.BackWard="backward",i.None="none",i),x=function(e){function n(e,t,o){var i;return(0,a._)(this,n),(i=(0,l._)(this,n)).itemList=e,i.videoPlayerJotai=t,i.videoExperience=o,i.defaultState={currentIndex:{},disabled:!1,itemListKey:L.Lz.ForYou,onboardingShowing:!1,loginCTAShowing:!1,leavingModalShowing:!1,playbackRate:1,dimmer:!1,showBrowseMode:!1,needLeavingModal:!1,iconType:"none",seekType:"none"},i}(0,r._)(n,e);var t=n.prototype;return t.setItemListKey=function(e,n){e.itemListKey=n},t.setCurrentIndex=function(e,n){var t=n.key,o=n.value;e.currentIndex=(0,c._)((0,u._)({},e.currentIndex),(0,d._)({},t,o))},t.setDisabled=function(e,n){e.disabled=n},t.setNeedLeavingModal=function(e,n){e.needLeavingModal=n},t.setOnboardingShowing=function(e,n){e.onboardingShowing=n},t.setLoginCTAShowing=function(e,n){e.loginCTAShowing=n},t.setLeavingModalShowing=function(e,n){e.leavingModalShowing=n},t.setPlaybackRate=function(e,n){e.playbackRate=n},t.setDimmer=function(e,n){e.dimmer=n},t.setShowBrowseMode=function(e,n){e.showBrowseMode=n},t.setIconType=function(e,n){e.iconType=n},t.setSeekType=function(e,n){e.seekType=n},t.handleNextVideo=function(e){var n=this;return e.pipe((0,p.M)(function(){n.videoExperience.reportVideoInteractStart({startTime:Date.now(),situation:b.uT.SwiperSlideNext})}),(0,m.E)(this.state$,this.itemList.state$),(0,y.T)(function(e){var n,t,o,i,l=(0,v._)(e,3),a=l[0].playMode,d=l[1],r=d.itemListKey,u=d.currentIndex,c=null!=(t=null==(n=l[2][null!=r?r:""])?void 0:n.browserList)?t:[],_=Math.min((null!=(o=u[r])?o:0)+1,c.length-1),s=!(null==c?void 0:c.length)||_<0,f=null!=(i=c[_])?i:"";return{newIndex:_,isIndexInvalid:s,newId:f,playMode:a,itemListKey:r}}),(0,p.M)(function(e){e.isIndexInvalid&&console.warn("cannot switch to next video for some reasons")}),(0,w.Z)(function(e){return f.of.apply(void 0,(0,_._)(n.updateVideoIndex(e)))}),(0,M.n)({}))},t.handlePrevVideo=function(e){var n=this;return e.pipe((0,p.M)(function(){n.videoExperience.reportVideoInteractStart({startTime:Date.now(),situation:b.uT.SwiperSlidePrev})}),(0,m.E)(this.state$,this.itemList.state$),(0,y.T)(function(e){var n,t,o,i,l=(0,v._)(e,3),a=l[0].playMode,d=l[1],r=d.itemListKey,u=d.currentIndex,c=null!=(t=null==(n=l[2][null!=r?r:""])?void 0:n.browserList)?t:[],_=Math.max((null!=(o=u[r])?o:0)-1,0),s=!(null==c?void 0:c.length)||_>c.length-1,f=null!=(i=c[_])?i:"";return{newIndex:_,isIndexInvalid:s,newId:f,playMode:a,itemListKey:r}}),(0,p.M)(function(e){e.isIndexInvalid&&console.warn("cannot switch to prev video for some reasons")}),(0,w.Z)(function(e){return f.of.apply(void 0,(0,_._)(n.updateVideoIndex(e)))}),(0,M.n)({}))},t.updateVideoIndex=function(e){var n=e.newIndex,t=e.isIndexInvalid,o=e.newId,i=e.playMode,l=e.itemListKey;return t?[this.noop()]:[this.videoPlayerJotai.getActions().updateVideo({currentVideo:{index:n,id:o,mode:i},playProgress:0}),this.getActions().setCurrentIndex({key:l,value:n})]},n}(g.E);P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,void 0===L.Lz?Object:L.Lz]),O("design:returntype",void 0)],x.prototype,"setItemListKey",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Object]),O("design:returntype",void 0)],x.prototype,"setCurrentIndex",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Boolean]),O("design:returntype",void 0)],x.prototype,"setDisabled",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Boolean]),O("design:returntype",void 0)],x.prototype,"setNeedLeavingModal",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Boolean]),O("design:returntype",void 0)],x.prototype,"setOnboardingShowing",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Boolean]),O("design:returntype",void 0)],x.prototype,"setLoginCTAShowing",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Boolean]),O("design:returntype",void 0)],x.prototype,"setLeavingModalShowing",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Number]),O("design:returntype",void 0)],x.prototype,"setPlaybackRate",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Boolean]),O("design:returntype",void 0)],x.prototype,"setDimmer",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,Boolean]),O("design:returntype",void 0)],x.prototype,"setShowBrowseMode",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,void 0===B?Object:B]),O("design:returntype",void 0)],x.prototype,"setIconType",null),P([(0,k.h5)(),O("design:type",Function),O("design:paramtypes",["undefined"==typeof SwiperModeModuleState?Object:SwiperModeModuleState,void 0===C?Object:C]),O("design:returntype",void 0)],x.prototype,"setSeekType",null),P([(0,k.Mj)(),O("design:type",Function),O("design:paramtypes",[void 0===h.c?Object:h.c]),O("design:returntype",void 0)],x.prototype,"handleNextVideo",null),P([(0,k.Mj)(),O("design:type",Function),O("design:paramtypes",[void 0===h.c?Object:h.c]),O("design:returntype",void 0)],x.prototype,"handlePrevVideo",null),x=P([(0,S.nV)("SwiperModeModule"),O("design:type",Function),O("design:paramtypes",[void 0===I.O?Object:I.O,void 0===F.Q?Object:F.Q,void 0===b.AU?Object:b.AU])],x)},82473:function(e,n,t){t.d(n,{Tu:function(){return b},yS:function(){return w}});var o,i=t(35383),l=t(5377),a=t(45996),d=t(6586),r=t(40099),u=t(11854);t(1366);var c=t(8561),v=t(48007),_=t(37786),s=t(68920),f=t(47045),h=t(35379),p=t(43264),m=t(93844),y=t(17505);function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,h.nW)(function(n){return n.users[e]},u.bN)}var g=(o={},(0,i._)(o,c.yf.UNKNOW,"Follow"),(0,i._)(o,c.yf.NONE,"Follow"),(0,i._)(o,c.yf.FOLLOW,"Following"),(0,i._)(o,c.yf.FOLLOWING_REQUEST,"requested"),(0,i._)(o,c.yf.MUTAL,"friends"),(0,i._)(o,c.yf.BLOCK,"webapp_unblocked_button1"),(0,i._)(o,c.yf.BLOCKED,"Follow"),(0,i._)(o,c.yf.FOLLOWER,"Follow"),o),k="Inbox_Follow_back",S=function(e,n){if(n===v.FU4.FollowerFollowStatus){if(e<c.yf.FOLLOW)return k;if(e===c.yf.FOLLOW)return g[c.yf.MUTAL]}else if(!n&&e===c.yf.FOLLOWER)return k;return g[e]};function b(e){var n=e.uniqueId,t=e.followerStatus,o=e.prevent,i=e.onNeedLogin,v=e.teaParams,w=void 0===v?{}:v,g=e.isInLiveCard,k=void 0!==g&&g,b=e.liveCardTeaParams,L=void 0===b?{}:b,M=e.liveFollowStatus,I=(0,p.W)(function(){return["user"]},[]),F=!!(null==I?void 0:I.user),P=(0,d._)((0,h.JY)(function(e){var t,o,i,l;return{relation:null!=(i=null==(t=e.users[n])?void 0:t.relation)?i:c.yf.UNKNOW,secUid:null!=(l=null==(o=e.users[n])?void 0:o.secUid)?l:""}},u.bN),2),O=P[0],B=O.relation,C=O.secUid,x=P[1];(0,r.useEffect)(function(){k&&x.setUserRelation({uniqueId:n,relation:Number(null!=M?M:0)})},[]);var N=(0,y.tcd)(),V=w.play_mode,E=w.group_id,T=(0,r.useCallback)(function(e){var t;return(o&&(e.preventDefault(),e.stopPropagation()),_.O.handleGeneralClick("follow",{scene:null!=(t=w.scene)?t:s.UH.VideoFeed,group_id:E,play_mode:V}),F)?B===c.yf.BLOCK?void x.blockOrUnblockUser({uniqueId:n,secUid:C,isBlock:!0}):void(x.postCommitFollowUser((0,a._)((0,l._)({},w),{uniqueId:n,useFollowV2:N})),k&&(B===c.yf.FOLLOW?f.YH.handleUnFollow(L):f.YH.handleFollow(L))):null==i?void 0:i()},[o,F,B,x,w,n,N,k,i,C,L]),R=(0,m.s)()(S(B,t));return{isFollowing:c.yf.FOLLOW===B||c.yf.MUTAL===B,text:R,handleFollow:T,relation:B}}},31926:function(e,n,t){t.d(n,{$:function(){return a},k:function(){return l}});var o=t(11854),i=t(72702);function l(e){return(0,i.F3)(function(n){return n[e]},o.bN)}function a(e,n){return(0,i.F3)(function(t){return n(t[e])},o.bN)}},56243:function(e,n,t){var o,i;t.d(n,{Y:function(){return o}}),(i=o||(o={})).NotBot="others",i.ValidGoogleBot="Googlebot",i.ValidBingBot="Bingbot",i.ValidSlurpBot="Slurpbot",i.ValidYandexBot="Yandexbot",i.ValidNaverBot="Naverbot",i.ValidDuckduckgoBot="Duckduckgobot",i.ValidNeevaBot="Neevabot",i.ValidYahooJPBot="YahooJPbot",i.ValidPerplexityBot="PerplexityBot",i.FakeGoogleBot="FakeGooglebot",i.FakeBingBot="FakeBingbot",i.FakeNaverBot="FakeNaverbot",i.FakeYahooJPBot="FakeYahooJPbot",i.FakeYandexBot="FakeYandexbot",i.FakeSlurpBot="FakeSlurpbot"},68920:function(e,n,t){t.d(n,{CZ:function(){return u},UH:function(){return r},mr:function(){return c}});var o,i,l=t(5377),a=t(77226),d=t(37786),r=((o={}).MainPage="main_page",o.VideoFeed="video_feed",o.VideoDetail="video_detail",o),u=((i={}).Close="close",i.CaptionSeeMore="caption_see_more",i.Hashtag="hashtag",i.Music="music",i.User="user",i),c={handleChannelGeneralClick:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"main_page",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};d.O.handleGeneralClick(e,(0,l._)({scene:n},t))},handleDownloadDismiss:function(e){a.f.sendEvent("download_app_dismiss",{enter_method:e})},handleInfoCardShow:function(e){a.f.sendEvent("info_card_show",e)},handleInfoCardClick:function(e){a.f.sendEvent("info_card_click",e)},handleShowItemTags:function(e){a.f.sendEvent("query_tag_show",e)}}},47045:function(e,n,t){t.d(n,{MN:function(){return v},YH:function(){return s},dx:function(){return u},nx:function(){return c},t9:function(){return _}});var o,i,l,a=t(5377),d=t(77226),r=t(26784),u=((o={}).OneColumn="one_column",o.BrowserMode="browser_mode",o.ImmersivePlayer="immersive_player",o),c=((i={}).Cell="live_cell",i.Head="live_head",i.Btn="live_btn",i.FollowingPreview="live_cover_preview",i.Like="live_fyp_like",i.Share="live_fyp_share",i),v=((l={}).FYP="homepage_hot",l.FollowingPage="homepage_follow",l.FYPGuide="homepage_fyp_guide",l),_={0:r.d.VideoLive,1:r.d.ThirdParty,2:r.d.Media,3:r.d.Audio,4:r.d.ScreenShare,5:r.d.SocialLive,6:r.d.LiveStudio},s={handleLiveShow:function(e){d.f.event("livesdk_live_show",(0,a._)({enter_from_merge:"homepage_hot",enter_method:"live_cell",action_type:"click",live_type:_[Number(e.live_room_mode)]},e))},handleLiveEntranceClick:function(e){d.f.beconEvent("livesdk_rec_live_play",(0,a._)({enter_from_merge:"homepage_hot",action_type:"click",live_type:_[Number(e.live_room_mode)]},e))},handleLiveDuration:function(e){d.f.event("livesdk_live_window_duration_v2",(0,a._)({enter_from_merge:"homepage_hot",action_type:"click",live_type:_[Number(e.live_room_mode)]},e))},handleFollow:function(e){d.f.event("livesdk_follow",(0,a._)({enter_from_merge:"homepage_hot",action_type:"click",live_type:_[Number(e.live_room_mode)]},e))},handleUnFollow:function(e){d.f.event("livesdk_unfollow",(0,a._)({enter_from_merge:"homepage_hot",action_type:"click",live_type:_[Number(e.live_room_mode)]},e))},handleStartPlay:function(e){d.f.event("livesdk_live_window_play",(0,a._)({enter_from_merge:"homepage_hot",action_type:"click",live_type:_[Number(e.live_room_mode)]},e))},handleLiveCancelGuideClick:function(e){d.f.event("livesdk_live_guide_cancel",(0,a._)({enter_from_merge:"homepage_hot",action_type:"click",live_type:_[Number(e.live_room_mode)]},e))},handleLiveGuideShow:function(e){d.f.event("livesdk_live_guide_show",(0,a._)({enter_from_merge:"homepage_hot",action_type:"click",live_type:_[Number(e.live_room_mode)]},e))},handleLiveEnd:function(e){d.f.event("livesdk_finish_show",(0,a._)({enter_from_merge:"homepage_hot",live_type:_[Number(e.live_room_mode)]},e))}}},26784:function(e,n,t){t.d(n,{FP:function(){return r},d:function(){return d},mx:function(){return u}});var o,i=t(5377),l=t(45996),a=t(77226),d=((o={}).VideoLive="video_live",o.ThirdParty="third_party",o.Media="media",o.Audio="audio",o.ScreenShare="screen_share",o.SocialLive="social_live",o.LiveStudio="live_studio",o.Others="others",o);function r(e){switch(e){case 0:return"video_live";case 1:return"third_party";case 3:return"audio";case 4:return"screen_share";case 5:return"social_live";case 6:return"live_studio";default:return"others"}}var u={isSPA:!1,handleLivePause:function(e){a.f.event("livesdk_live_pause",e)},handleLiveSubtitleSwitch:function(e){a.f.event("livesdk_live_subtitle_set",e)},handleLivePlayIconClick:function(e){a.f.event("livesdk_live_play_pause_button_click",(0,l._)((0,i._)({},e),{click_result:"play"}))},handleLivePauseIconClick:function(e){a.f.event("livesdk_live_play_pause_button_click",(0,l._)((0,i._)({},e),{click_result:"pause"}))},handleLiveSettingIconClick:function(e){a.f.event("livesdk_setting_panel_show",e)},handleLiveSubtitleBubbleShow:function(e){a.f.event("livesdk_live_subtitle_bubble_show",e)},handleLiveChatIconClick:function(e){a.f.event("livesdk_live_chat_icon_click",(0,l._)((0,i._)({},e),{action_type:"click"}))},handleCheckAutoplayError:function(){a.f.event("livesdk_live_autoplay_unavailable")},handleLiveEndShow:function(e){a.f.event("livesdk_audience_live_end_show",e)},handleLiveEntranceShow:function(e){a.f.event("livesdk_live_show",e)},handleLiveRoomUnavailable:function(e){a.f.event("livesdk_live_unavailable",(0,l._)((0,i._)({},e),{action_type:"show"}))},handleLiveEndViolationShow:function(e){a.f.event("livesdk_live_end_show",e)},handleVoiceChatPanelExpand:function(e){a.f.event("livesdk_guest_detail_open_click",(0,l._)((0,i._)({},e),{app_name:"webapp"}))},handleBottomMessageShow:function(e){a.f.event("livesdk_bottom_message_show",(0,l._)((0,i._)({},e),{user_type:"user"}))},handleWarningMaskShow:function(e){a.f.event("livesdk_violation_mask_layer",(0,l._)((0,i._)({},e),{violation_type:"mask_layer"}))},handleEnterRoomDuration:function(e){a.f.event("livesdk_enter_room_duration",e)},handleLivePlayFail:function(e){a.f.event("livesdk_live_play_fail",e)},handleLivePlay:function(e){a.f.event("livesdk_live_play",e)},handleLivePlayV2:function(e){a.f.event("livesdk_live_play_v2",e)},handleRecLivePlay:function(e){a.f.event("livesdk_rec_live_play",e)},handleReflowVideoPlay:function(e){a.f.event("reflow_video_play",e)},handleLiveRefresh:function(e){a.f.event("livesdk_live_refresh",e)},handleLiveShow:function(e){a.f.event("livesdk_live_show",e)},handleLiveEnter:function(e){a.f.event("livesdk_enter_room",e)},handleOBSRevokeUserPopShow:function(e){a.f.event("livesdk_obs_revoke_user_pop",e)},handleWatchOneMin:function(e){a.f.event("livesdk_watch_onemin",e)},handleLiveShare:function(e){a.f.event("livesdk_share",e)},handleLiveDuration:function(e,n){(null==n?void 0:n.sendBeacon)?a.f.beconEvent("livesdk_live_duration",e):a.f.event("livesdk_live_duration",e)},handleLiveInteractDuration:function(e,n){(null==n?void 0:n.sendBeacon)?a.f.beconEvent("livesdk_connection_watch_duration",e):a.f.event("livesdk_connection_watch_duration",e)},handleInnerNextIconClick:function(e){a.f.event("livesdk_live_next_icon_click",e)},handleInnerNextIconShow:function(e){a.f.event("livesdk_live_next_icon_show",e)},handleLiveFinish:function(e){a.f.event("livesdk_finish_show",e)},handleShowVerifiedIcon:function(e){a.f.event("livesdk_authentication_icon_show",e)},handleSharePanelShow:function(e){a.f.event("share_panel_show",e)},handleSharePanelClick:function(e){a.f.event("share_panel_click",e)},handleShareButtonClick:function(e){a.f.event("click_share_button",e)},handleRankingsSettingShow:function(e){a.f.event("livesdk_live_setting_show",e)},handleRankingsSettingClick:function(e){a.f.event("livesdk_live_rankings_setting_click",e)},handleRankingsSettingSubmit:function(e){a.f.event("livesdk_live_rankings_setting_result",e)},handleLiveMatureThemeMaskShow:function(e){a.f.event("livesdk_mature_theme_mask_show",e)},handleQuestionScanShow:function(e){a.f.event("livesdk_question_scan_show",e)},handleLeaderBoardFaqShow:function(e){a.f.event("livesdk_leaderboard_faq_show",e)},handleLeaderBoardShow:function(e){a.f.event("livesdk_leaderboard_show",e)},handleLeaderBoardDuration:function(e){a.f.event("livesdk_leaderboard_duration",e)},handleLiveRefreshRetryIconShow:function(e){a.f.event("livesdk_live_refresh_retry_icon_show",e)},handleLiveRefreshRetryIconClick:function(e){a.f.event("livesdk_live_refresh_retry_icon_click",e)},handleLivePreviewFail:function(e){a.f.event("livesdk_preview_play_fail",e)},handleLiveNonStreamingShow:function(e){a.f.event("livesdk_live_nonstreaming_show",e)},handleLiveRoomDraw:function(e){a.f.event("livesdk_live_draw",e)},handleLiveLeavePage:function(e,n){n?a.f.beconEvent("livesdk_live_leave_page",e):a.f.event("livesdk_live_leave_page",e)},handleLiveNonStreamingIMMsg:function(e){a.f.event("livesdk_live_nonstreaming_im_msg",e)},handleLiveMobileRelayToast:function(e){a.f.event("livesdk_open_on_computer_toast",e)},handleLiveAnchorCountDownSeiReceived:function(e){a.f.event("livesdk_anchor_count_down_sei_received",e)},handleBottomMessageGPPPAShow:function(e){a.f.event("livesdk_election_notice_tag_show",e)},handleBottomMessageGPPPAClick:function(e){a.f.event("livesdk_election_notice_tag_click",e)},handleLiveAIGCTagShow:function(e){a.f.event("view_live_aigc_label",e)},handleLiveAIGCTagClick:function(e){a.f.event("click_live_aigc_label",e)},handleLiveEndNextCancel:function(e){a.f.event("livesdk_webapp_live_end_next_cancel",e)},handleLiveFatalShow:function(e){a.f.event("livesdk_live_fatal_show",e)},handleLiveEnterEndShow:function(e){a.f.event("livesdk_live_enter_end_show",e)}}}}]);