"use strict";(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["15915"],{518278:function(e,t,i){i.d(t,{a:function(){return f}});var n=i(629686),o=i(402748),l=i(811603);i(374954),i(490629),i(228983),i(759943);var r=i(320165),a=i(101199),d=i(529719),s=i(469935),u=i.n(s),c=i(769591);let f=e=>{let{href:t="",children:i,style:s,className:f,spa:v,isNeedSeoOpt:m=!1,refEl:h}=e,_=(0,l._)(e,["href","children","style","className","spa","isNeedSeoOpt","refEl"]),p=(0,a.useRef)(null),g=(0,a.useMemo)(()=>{let e,i;if(!t)return;let n=t.indexOf("#");-1!==n?(e=t.slice(0,n),i=t.slice(n+1)):(e=t,i="");let o=e.indexOf("?"),l="",r="";-1!==o?(l=e.slice(0,o),r=e.slice(o+1)):(l=e,r="");let a=[];return(r&&a.push(r),a.length>0)?[l,a.join("&")].join("?")+(i&&`#${i}`):l+(i&&`#${i}`)},[t]),x=g;return m&&!v&&x&&([x]=x.split("#"),[x]=x.split("?")),v?(0,r.jsx)(c.Link,(0,o._)((0,n._)({to:g,className:u()(d.default.aLink,f),style:s},_),{children:i})):(0,r.jsx)("a",(0,o._)((0,n._)({href:x,className:u()(d.default.aLink,f),style:s,ref:e=>{p.current=e,h&&(h.current=e)}},_),{target:_.target,onClick:e=>{try{var t;p.current.href=g,null==_||null===(t=_.onClick)||void 0===t||t.call(_,e)}catch(e){}},children:i}))}},585271:function(e,t,i){i.d(t,{q:function(){return d}}),i(490629);var n=i(320165),o=i(101199),l=i(44402),r=i(469935),a=i.n(r);let d=e=>{let{type:t="default",src:i,alt:r="",isSpider:d=!1}=e,[s,u]=(0,o.useState)(0),c=i&&(1===s||d),f=()=>{u(1)};return(0,o.useEffect)(()=>{if(!i)return;let e=!1,t=new Image;t.onload=function(){if(!e)e=!0,f(),t=null},t.onerror=function(){if(!e)e=!0,u(-1),t=null};let n=setTimeout(()=>{e=!0,f()},3e3);return t.src=i,()=>{t&&(t.onload=null,t.onerror=null),clearTimeout(n)}},[i]),(0,n.jsx)("div",{className:a()(l.default.avatar,l.default[t]),children:c?(0,n.jsx)("img",{src:i,alt:r,className:l.default.image,onError:()=>{u(-1)},onLoad:f}):(0,n.jsx)("div",{className:l.default.icon,children:(0,n.jsx)("div",{className:a()(l.default[t],l.default.avatarIcon)})})})}},264417:function(e,t,i){i.d(t,{eD:function(){return _},J2:function(){return m},PE:function(){return g},G3:function(){return p},EJ:function(){return h}});var n=i("320165"),o=i("101199"),l=i("469935"),r=i.n(l),a=i("199013"),d=i("629686"),s=i("402748");let u=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,s._)((0,d._)({width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("path",{d:"M1.455 0C.65 0 0 .651 0 1.455V8c0 .803.651 1.455 1.455 1.455H8c.803 0 1.455-.652 1.455-1.455V1.455C9.455.65 8.803 0 8 0H1.455z",fill:"#fff"}),(0,n.jsx)("path",{d:"M4 12a1.455 1.455 0 0 1-1.455-1.454h5.819a2.182 2.182 0 0 0 2.181-2.182V2.545C11.35 2.545 12 3.197 12 4v5.09A2.909 2.909 0 0 1 9.09 12H4z",fill:"#fff"})]})));var c=i("960103"),f=i("151686"),v=i("176449");let m=e=>{let{className:t="",svgClassName:i=""}=e;return(0,n.jsxs)("div",{className:r()(a.default.PictureWordIconContainer,t),children:[(0,n.jsx)(v.Z,{className:r()(a.default.icon,i),src:u,width:12,height:12,viewBox:"0 0 12 12"}),"图文"]})},h=e=>{let{className:t="",svgClassName:i=""}=e;return(0,n.jsxs)("div",{className:r()(a.default.PictureWordIconContainer,t),children:[(0,n.jsx)(v.Z,{className:r()(a.default.icon,i),src:c.Z,width:12,height:12,viewBox:"0 0 12 12"}),"动图"]})},_=e=>{let{className:t=""}=e;return(0,n.jsx)("div",{className:r()(a.default.PictureIconContainer,t),children:(0,n.jsx)(v.Z,{src:u,width:12,height:12,viewBox:"0 0 12 12"})})},p=e=>{let{className:t=""}=e;return(0,n.jsx)("div",{className:r()(a.default.PictureIconContainer,t),children:(0,n.jsx)(v.Z,{src:c.Z,width:12,height:12,viewBox:"0 0 12 12"})})},g=e=>{let{className:t="",style:i={}}=e;return(0,n.jsx)("div",{className:r()(a.default.PictureIconContainer,t),style:i,children:(0,n.jsx)(v.Z,{src:f.Z,width:13.35,height:16.65,viewBox:"2 1.5 13.35 16.65"})})}},534133:function(e,t,i){i.d(t,{IT:function(){return r},hp:function(){return l},ie:function(){return a},nz:function(){return d}}),i(414931),i(591964),i(679308),i(490629),i(283791),i(890710);var n=i(499059);function o(e){var t;let i=new MutationObserver(t=>{try{let i=t.reduce((e,t)=>"childList"!==t.type?e:e.concat(Array.from(t.addedNodes).filter(e=>e instanceof HTMLLinkElement||e instanceof HTMLStyleElement)),[]);if(0===i.length)return;let n=document.createDocumentFragment();i.forEach(e=>n.appendChild(e.cloneNode())),e.document.head.appendChild(n)}catch(e){}});if(i.observe(document.head,{attributes:!1,characterData:!1,characterDataOldValue:!1,childList:!0,subtree:!1}),null===(t=n.Le.getConfig(n.gI.AbtestData))||void 0===t?void 0:t.enableMemoryLeakFix){let t=()=>{i.disconnect(),e.removeEventListener("pagehide",t)};return e.addEventListener("pagehide",t),()=>{i.disconnect(),e.removeEventListener("pagehide",t)}}e.addEventListener("pagehide",()=>{i.disconnect()})}async function l(e){var t,i;let{pipId:l,width:r,height:a}=e,d=await documentPictureInPicture.requestWindow({width:r,height:a});if(d.name=l,i=d,Array.from(document.styleSheets).forEach(e=>{try{let t=Array.from(e.cssRules).map(e=>e.cssText).join(""),n=document.createElement("style");n.textContent=t,i.document.head.appendChild(n)}catch(n){let t=document.createElement("link");if(null===e.href)return;t.rel="stylesheet",t.type=e.type,t.media=e.media.toString(),t.href=e.href,i.document.head.appendChild(t)}}),null===(t=n.Le.getConfig(n.gI.AbtestData))||void 0===t?void 0:t.enableMemoryLeakFix){let e=o(d);d.__disconnectPipStyleObserver__=e}else o(d);return d}let r=e=>{var t,i;return"undefined"!=typeof window&&(null===(i=window.documentPictureInPicture)||void 0===i?void 0:null===(t=i.window)||void 0===t?void 0:t.name)===e};function a(){if("undefined"==typeof document)return;let e=document.createElement("div");return e.classList.add("pip-anchor"),e}function d(){try{let{innerHeight:e,outerHeight:t}=documentPictureInPicture.window;return t-e>4}catch(e){return!1}}},439503:function(e,t,i){i.d(t,{T3:function(){return v}});var n=i("629686"),o=i("402748"),l=i("811603");i("490629");var r=i("320165"),a=i("101199"),d=i("469935"),s=i.n(d),u=i("889429"),c=i("618759"),f=i("173018");let v=e=>{var t,i,d,v,m,h,_,p,g;let x;let{awemeInfo:y,useServerFilterCover:w=(0,u.b_)()||(0,u.Sb)()||(0,c.tq)(),className:k,maskClassName:A,abtestData:C,priorityServerBackupBg:E}=e,S=(0,l._)(e,["awemeInfo","useServerFilterCover","className","maskClassName","abtestData","priorityServerBackupBg"]),b=!1,N=!1,I=!!(null==y?void 0:null===(t=y.video)||void 0===t?void 0:t.gaussianCover);w||(0,u.G6)()?I&&!(0,u.G6)()?(b=!0,x="low"):N=!0:E&&I&&(b=!0,x="low");let j=(0,u.GP)(),L=!1,P=(null==y?void 0:null===(i=y.video)||void 0===i?void 0:i.originCover)||(null==y?void 0:null===(h=y.cellRoom)||void 0===h?void 0:null===(m=h.rawdata)||void 0===m?void 0:null===(v=m.cover)||void 0===v?void 0:null===(d=v.url_list)||void 0===d?void 0:d[0])||(null==y?void 0:null===(g=y.varietyVideo)||void 0===g?void 0:null===(p=g.cover)||void 0===p?void 0:null===(_=p.url_list)||void 0===_?void 0:_[0]);N?P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABQAAAALQAQMAAAD1s08VAAAAA1BMVEUAAACnej3aAAAAlElEQVR42uzBgQAAAACAoP2pF6kCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOD24JAAAAAAQND/154wAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqwDE3wABfajOdgAAAABJRU5ErkJggg==":b&&I&&(P=y.video.gaussianCover,L=!0);let[M,T]=(0,a.useState)(!1);return(0,r.jsxs)("div",{className:s()(k,{[f.default.backgroundImg]:!N,[f.default.backgroundImgSarari]:N,[f.default.backgroundImgQq]:j,[f.default.backgroundImgFirefox]:(0,u.vU)(),[f.default.hideFilterBlur]:L&&I,[f.default.isError]:M}),children:[(0,r.jsx)("img",(0,o._)((0,n._)({},S),{fetchPriority:(null==S?void 0:S.fetchPriority)||x,src:P,onError:()=>T(!0)})),(0,r.jsx)(a.Fragment,{children:!N&&(0,r.jsx)("div",{className:s()(f.default.backgroundMask,A)})})]})}},24894:function(e,t,i){i.d(t,{L:function(){return n}}),i(490629),i(414931),i(683656),i(759943),i(320165),i(101199),i(734123),i(121998),i(469935);var n={Comment:"comment",VideoInfoTitle:"videoInfoTitle",SearchVideoInfo:"searchVideoInfo",VideoDetailTitle:"videoDetailTitle"}},493630:function(e,t,i){i.d(t,{$:function(){return v}});var n=i("101199");i("490629");var o=i("426038"),l=i("709705"),r=i("414061"),a=i("881055");let d=e=>{if(e&&a.N.realHasInit){var t;return null===(t=a.N.userSettingInfo)||void 0===t?void 0:t.aiEntryClosed}return(0,l.$o)(o.LocalStorageKeys.aiEntryClose)},s=e=>{let{isLogin:t}=e,[i,o]=(0,n.useState)(!d(t));return(0,n.useEffect)(()=>{o(!d(t))},[t]),(0,n.useEffect)(()=>{let e=r.listen(r.EVENT.aiEntrySwitchChange,e=>{let{isClose:t}=e;o(!t)});return()=>{e()}},[]),{showAiEntryByConfig:i}};var u=i("426112"),c=i("889429"),f=i("678532");let v=e=>{let{isLogin:t,awemeInfo:i,checkAiNote:o=!0}=e,{showAiEntryByConfig:l}=s({isLogin:t});return{aiEntryVisible:(0,n.useMemo)(()=>{var e;let t=!(0,c.km)(78)&&(null==i?void 0:null===(e=i.douyinPcVideoExtra)||void 0===e?void 0:e.aiNote)===1,n=!(0,c.km)(80);return(o&&t||n)&&!(0,u.Jt)(i)&&(0,f.b2)(i)&&l},[l,i,o])}}},404628:function(e,t,i){i(490629);var n=i(320165),o=i(101199),l=i(734123),r=i(469935),a=i.n(r),d=i(908219),s=i.n(d),u=i(499059),c=i(759894),f=i(889429),v=i(273372),m=i(749113),h=i(649310),_=i(555164),p=i(687019);t.Z=o.memo(e=>{let{children:t,lineClamp:i=2,btnClassName:r,onlyKey:d="",maxLine:g=999,btnOnShow:x,btnOnClick:y,renderContent:w,lineHeight:k=20,renderButton:A,player:C,showExpandButton:E=!0,alwaysShowExpandButton:S=!1,renderBeforeContent:b,isMobile:N,isActive:I,optimizeReflow:j=!1,showExpandButtonInner:L}=e,[P,M]=(0,o.useState)(!1),[T,B]=(0,o.useState)(!0),[R,O]=(0,o.useState)(!1),[D,W]=(0,o.useState)(0),F=(0,o.useRef)(g);F.current=g;let[V,U]=(0,o.useState)(i),{isFullScreen:Z,isCssFullScreen:z}=(0,o.useContext)(h.C),G=(0,o.useRef)(null),[H,K]=(0,o.useState)(!1),[q,Y]=(0,o.useState)(!1),[Q,$]=(0,o.useState)(()=>{let e=u.Le.getConfig(u.gI.IsInModalVideo),t=(null==e?void 0:e.isInModal)||!1;return"video_detail"===(0,c.vM)()&&!Z&&!z&&!t&&!0}),X=(0,o.useRef)(!1),J=(0,o.useCallback)(e=>{L?(M(!0),B(e)):M(e)},[L]);(0,o.useEffect)(()=>{if(C){let e=e=>{let t=u.Le.getConfig(u.gI.IsInModalVideo),i=(null==t?void 0:t.isInModal)||!1;"video_detail"!==(0,c.vM)()||e||z||i?$(!1):$(!0)};return C.on(l.Events.FULLSCREEN_CHANGE,e),()=>{C.off(l.Events.FULLSCREEN_CHANGE,e)}}},[]),(0,o.useEffect)(()=>{K((0,f.i7)()&&!(0,f.GP)())},[]);let ee=(0,o.useCallback)(()=>{(0,o.startTransition)(()=>{if((null==G?void 0:G.current)&&!R){let{scrollHeight:e,clientHeight:t}=null==G?void 0:G.current;t>0&&(e-t>15||e>=k*i+15)?J(!0):J(!1)}})},[k,i,R,J]),et=e=>{var t;if(!R){let e=(0,p.Y)(k,C);e&&(F.current=e)}U(e=>e===i?F.current:i),O(e=>!e),y&&y(R),(null==e?void 0:e.target)&&e.target.blur(),null==e||null===(t=e.stopPropagation)||void 0===t||t.call(e)};return(0,o.useEffect)(()=>{if(!R){var e,t;(null===(e=u.Le.getConfig(u.gI.AbtestData))||void 0===e?void 0:e.useCache)!==1&&(null===(t=G.current)||void 0===t||t.scrollTo(0,0))}},[R]),(0,o.useEffect)(()=>{let e=null;return G.current&&(e=v.Z.bind(G.current,ee)),()=>{e&&(null==e||e())}},[ee]),(0,o.useEffect)(()=>{O(!1),U(i),J(!1),ee()},[d,i,k,L]),(0,o.useEffect)(()=>{!I&&(O(!1),U(i),j||(J(!1),ee()))},[I,i,j]),(0,o.useEffect)(()=>{if(G.current&&R&&C){var e,t,i,n,o;let l=e=>{var t;null==e||null===(t=e.stopPropagation)||void 0===t||t.call(e)},r=e=>{var t,i;null==e||null===(t=e.stopPropagation)||void 0===t||t.call(e),(null==G?void 0:null===(i=G.current)||void 0===i?void 0:i.scrollTop)?Y(!0):Y(!1)},a=s()(()=>{var e,t,i,n;W(((null==C?void 0:null===(n=C.config)||void 0===n?void 0:null===(i=n.el)||void 0===i?void 0:null===(t=i.getBoundingClientRect)||void 0===t?void 0:null===(e=t.call(i))||void 0===e?void 0:e.height)-48)/4)},200);return a(),null===(e=G.current)||void 0===e||e.addEventListener("wheel",l),null===(t=G.current)||void 0===t||t.addEventListener("scroll",r),null===(i=G.current)||void 0===i||i.addEventListener("mousedown",l),null===(n=G.current)||void 0===n||n.addEventListener("pointerdown",l),null===(o=G.current)||void 0===o||o.addEventListener("touchstart",l),window.addEventListener("resize",a),()=>{var e,t,i,n,o;null===(e=G.current)||void 0===e||e.removeEventListener("wheel",l),null===(t=G.current)||void 0===t||t.removeEventListener("scroll",r),null===(i=G.current)||void 0===i||i.removeEventListener("mousedown",l),null===(n=G.current)||void 0===n||n.removeEventListener("pointerdown",l),null===(o=G.current)||void 0===o||o.removeEventListener("touchstart",l),window.removeEventListener("resize",a)}}},[R,C]),(0,o.useEffect)(()=>{let e=P&&!T||P&&T&&E;I&&e&&!X.current&&(null==x||x({isShow:!0})),X.current=I&&e},[x,E,P,T,I]),(0,n.jsxs)("div",{className:a()(_.default.wrapper,{[_.default.notChrome]:!H,[_.default.isSafari]:(0,f.G6)(),[_.default.isDetailSearch]:Q,[_.default.isFixAfter]:!E,[_.default.expandMask]:q}),children:[(0,n.jsxs)("div",{ref:G,className:a()(_.default.text,{[_.default.showButton]:P,[_.default.expandText]:R,[_.default.isMobile]:N,[_.default.lowChome]:(0,f.h5)("69.0"),[_.default.isSafari]:(0,f.G6)()}),style:{"--lineClamp":V,"--lineHeight":`${k}px`,"--maxHeight":`${k*V}px`,maxHeight:R?D:""},children:[b&&b(P),w&&w({isUnfold:R}),"function"==typeof t?t(P):t,P&&!T&&(0,n.jsx)("button",{type:"button",onClick:et,className:a()(r,_.default.btn,_.default.inlineBtn),children:A?A(R):R?m.a.t("fold",{},"收起"):m.a.t("expand",{},"展开")})]}),(0,n.jsx)("div",{className:a()(_.default.btnWrap,{[_.default.btnShow]:(P||S)&&T,[_.default.isUnfold]:R}),style:{height:`${k-2}px`},children:E&&(0,n.jsx)("button",{type:"button",onClick:et,className:a()(r,_.default.btn),children:A?A(R):R?m.a.t("fold",{},"收起"):m.a.t("expand",{},"展开")})})]})})},616560:function(e,t,i){i.d(t,{h:function(){return Z}});var n=i("320165"),o=i("101199"),l=i("469935"),r=i.n(l),a=i("72430"),d=i("759894"),s=i("414800"),u=i("624508"),c=new u.h({hover_bottom_bar:{eventName:"hover_bottom_bar",params:{enter_from:"",bar_type:"",player_display_mode:"",group_id:""}},compilationEntranceShow:{eventName:"compilation_entrance_show",params:{enter_from:"recommend",group_id:"",author_id:"",compilation_id:"",entrance_cnt:1,is_update:0}},hotEntranceShow:{eventName:"hot_entrance_show",params:{enter_from:"recommend",group_id:"",author_id:"",trending_topic:"",first_tag_name:"",top:0,entrance_cnt:1}},compilationEntranceClick:{eventName:"compilation_entrance_click",params:{enter_from:"recommend",group_id:"",author_id:"",compilation_id:"",entrance_cnt:1,is_update:0}},hotEntranceClick:{eventName:"hot_entrance_click",params:{enter_from:"recommend",group_id:"",author_id:"",trending_topic:"",first_tag_name:"",top:0,entrance_cnt:1}},moreVideoEntranceShow:{eventName:"more_video_entrance_show",params:{enter_from:"recommend",group_id:"",author_id:"",entrance_cnt:1}},moreVideoEntranceClick:{eventName:"more_video_entrance_click",params:{enter_from:"recommend",group_id:"",author_id:"",entrance_cnt:1}},trendingWordsShow:{eventName:"trending_words_show",params:{words_source:"related_search_anchor_v2",enter_from:"",words_content:"",enter_group_id:"",words_position:0,entrance_cnt:1,words_num:0,group_id:"",impr_id:""}},trendingWordsClick:{eventName:"trending_words_click",params:{words_source:"related_search_anchor_v2",enter_from:"",words_content:"",enter_group_id:"",words_position:0,entrance_cnt:1,words_num:0,group_id:"",impr_id:""}},relatedVideoEntranceShow:{eventName:"related_video_entrance_show",params:{enter_from:"recommend",group_id:"",author_id:"",entrance_cnt:1}},relatedVideoEntranceClick:{eventName:"related_video_entrance_click",params:{enter_from:"recommend",group_id:"",author_id:"",entrance_cnt:1}},bottomBarShow:{eventName:"bottom_bar_show",params:{playlet_id:"",compilation_id:"",group_id:"",enter_from:"recommend",enter_from_merge:"",bar_type:"",entrance_cnt:0,is_update:0,item_duration_ms:0,bar_tag_name:"",player_display_mode:""}},bottomBarClick:{eventName:"bottom_bar_click",params:{playlet_id:"",compilation_id:"",group_id:"",enter_from:"recommend",enter_from_merge:"",bar_type:"",entrance_cnt:0,is_update:0,item_duration_ms:0,bar_tag_name:"",action:"open",player_display_mode:""}},relatedVideoClick:{eventName:"related_video_click",params:{enter_from:"",enter_from_merge:"",group_id:"",author_id:0}},compilationNextVideoShow:{eventName:"compilation_next_video_show",params:{enter_from:"",group_id:"",compilation_id:""}},compilationNextVideoHover:{eventName:"compilation_next_video_hover",params:{enter_from:"",group_id:"",compilation_id:""}},compilationNextVideoClick:{eventName:"compilation_next_video_click",params:{enter_from:"",group_id:"",compilation_id:""}},aiChatButtonShow:{eventName:"ai_chat_button_show",params:{enter_from:"",group_id:"",ai_chat_button_position:""}},aiChatButtonClick:{eventName:"ai_chat_button_click",params:{enter_from:"",group_id:"",ai_chat_button_position:""}}}),f=i("913285"),v=i("127321"),m=i("629686"),h=i("734123"),_=i("889429"),p=i("690343"),g=i("601034"),x=i("618759"),y=i("414061"),w=i("254457"),k=i("195446"),A=i("402748");let C=(0,o.forwardRef)((e,t)=>(0,n.jsx)("svg",(0,A._)((0,m._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,n.jsx)("path",{d:"M4.973 3.224A3.04 3.04 0 0 1 8.137.374L8.22.38c.85.062 1.595.469 2.101 1.072.456.54.719 1.24.691 1.992l-.003.074c-.01.19-.041.375-.087.554l-.078.3 1.315-.338.075-.019c1.593-.367 3.229.548 3.657 2.1l.034.123c.178.772.03 1.548-.358 2.184l-.04.065a3.01 3.01 0 0 1-1.715 1.264l-.072.02a2.99 2.99 0 0 1-.563.09l-.313.02.734 1.128.042.065c.832 1.354.48 3.13-.835 4.027l-.064.043a3.05 3.05 0 0 1-2.336.409l-.074-.018a3.006 3.006 0 0 1-1.753-1.214l-.04-.06-.039-.061a3.011 3.011 0 0 1-.222-.44l-.115-.284-.862 1.032c-1.044 1.25-2.909 1.492-4.203.524l-.062-.047a2.95 2.95 0 0 1-1.115-2.059l-.007-.075a2.932 2.932 0 0 1 1.083-2.468l.24-.199-1.267-.487C.414 9.097-.396 7.383.192 5.856a2.994 2.994 0 0 1 1.716-1.71 3.062 3.062 0 0 1 2.723.25l.262.163.081-1.336v.001zm3.116-1.5a1.642 1.642 0 0 0-1.736 1.464v.006l-.316 5.1a.031.031 0 0 1-.035.027l-.008-.002-.111-.043-1.439-.556c.113-.19.191-.41.212-.66l.004-.062a1.634 1.634 0 0 0-.845-1.51l-.056-.028-.07-.033a1.66 1.66 0 0 0-1.01-.103l-.07.016a1.634 1.634 0 0 0-1.125.977c-.326.816.07 1.734.876 2.08l.006.002 4.83 1.872c.022.008.026.033.014.046l-.075.09-.982 1.178a1.56 1.56 0 0 0-.529-.384l-.045-.02-.059-.022a1.688 1.688 0 0 0-1.716.324l-.046.043a1.61 1.61 0 0 0 .126 2.398c.687.555 1.692.47 2.277-.179l.002-.002.002-.002 3.3-3.944a.035.035 0 0 1 .028-.01.03.03 0 0 1 .02.007l.005.007.063.098.832 1.281a1.57 1.57 0 0 0-.532.376l-.033.036a1.621 1.621 0 0 0-.23 1.813 1.663 1.663 0 0 0 2.352.624 1.61 1.61 0 0 0 .532-2.19v-.002l-.003-.003-2.79-4.31-.003-.005a.029.029 0 0 1 .021-.037l.116-.03 1.496-.385c.022.22.092.442.224.658a1.672 1.672 0 0 0 1.678.775l.077-.014c.38-.08.699-.282.926-.553l.198-.3c.17-.326.23-.71.14-1.095l-.012-.05c-.223-.848-1.09-1.361-1.95-1.173h-.006L7.588 6.597c-.01.003-.02 0-.028-.006a.03.03 0 0 1-.011-.025l.009-.138.09-1.497c.22.047.457.053.706-.005.651-.152 1.165-.674 1.268-1.333.059-.384-.022-.75-.203-1.056l-.037-.06a1.645 1.645 0 0 0-1.242-.749l-.05-.004z",fill:"#fff"})})));var E=i("767872");let S=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,A._)((0,m._)({width:14,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("g",{filter:"url(#semi-icons-search_svg__filter0_d_2327_94143)",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 2a4.25 4.25 0 1 0 2.428 7.739l2.042 2.041a.75.75 0 1 0 1.06-1.06L9.74 8.678A4.25 4.25 0 0 0 6.25 2zM3.5 6.25a2.75 2.75 0 1 1 5.5 0 2.75 2.75 0 0 1-5.5 0z",fill:"#fff"})}),(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"semi-icons-search_svg__filter0_d_2327_94143",x:1,y:1,width:12,height:12,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{}),(0,n.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,n.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,n.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"}),(0,n.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2327_94143"}),(0,n.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2327_94143",result:"shape"})]})})]})));var b=i("176449"),N=i("909481");let I=e=>{let{tag:t,awemeInfo:i,feedbarCount:l,isActive:s,player:u,reportExtraParams:f,abTestData:v,hiddenAiSearchEntry:A,onAiSearchTagClick:I,onAiSearchTagHover:j,onMouseLeave:L,hideDesc:P}=e,{searchWord:M,index:T,itemClassName:B,textClassName:R,hintText:O,word:D,wordsNum:W}=t,{word:F,wordId:V}=M||{},U=!(0,_.km)(80)&&t.type===a.WZ.AiSearch&&!A,{awemeId:Z,groupId:z}=i||{},G=(0,o.useMemo)(()=>(0,p.U)(i).impr_id,[i]);(0,o.useEffect)(()=>{(void 0===s||s)&&(U?c.sendLog("aiChatButtonShow",(0,m._)({enter_from:"homepage_hot",ai_chat_button_position:"bottom_bar",words_content:F,enter_group_id:Z,words_position:T,entrance_cnt:l,words_num:W,group_id:V,impr_id:G},f||{},(null==f?void 0:f.search_params)||{})):c.sendLog("trendingWordsShow",(0,m._)({words_source:"related_search_anchor_v2",enter_from:(0,g.yW)(),words_content:F,enter_group_id:Z,words_position:T,entrance_cnt:l,words_num:W,group_id:V,impr_id:G},f||{},(null==f?void 0:f.search_params)||{})))},[F,Z,T,s,V]);let H=(0,o.useMemo)(()=>({source:"related_search_anchor_v2",enter_from:(0,d.vM)(),aweme_id:Z,gid:z}),[Z,z,d.vM]);return(0,n.jsx)("div",{className:E.default.root,children:(0,n.jsxs)(N.Z,{className:r()(B,E.default.searchRelatedTag,E.default.tag,E.default.entranceCardHover),query:F,params:H,onClick:e=>{var t;if(U){c.sendLog("aiChatButtonClick",(0,m._)({enter_from:"homepage_hot",ai_chat_button_position:"bottom_bar",words_content:F,enter_group_id:Z,words_position:T,entrance_cnt:l,words_num:W,group_id:V,impr_id:G},f||{},(null==f?void 0:f.search_params)||{})),null==I||I(e,{query:F,from:k.jE.BottomBar});return}c.sendLog("trendingWordsClick",(0,m._)({words_source:"related_search_anchor_v2",enter_from:(0,g.yW)(),words_content:F,enter_group_id:Z,words_position:T,entrance_cnt:l,words_num:W,group_id:V,impr_id:G},f||{},(null==f?void 0:f.search_params)||{}));let i=null==v?void 0:v.searchOpenCurrentTab;((null==i?void 0:i.save_status)!==1||(0,x.DT)()||(null===(t=window)||void 0===t?void 0:t.location.pathname)==="/")&&y.emit(y.EVENT.videoPause,"RelatedSearchTagItem_clickSearchText_cover"),null==u||u.emit(h.Events.USER_ACTION,{action:"click_related_search"})},onMouseEnter:e=>{null==j||j(e,{from:k.jE.BottomBar})},onMouseLeave:L,isAiSearch:U,children:[(0,n.jsx)("span",{className:r()(E.default.tagBg)}),U?(0,n.jsx)(b.Z,{className:r()(E.default.searchIcon,E.default.aiSearchIcon,E.default.aiDouyinIcon,E.default.iconInner2),src:C,width:16,height:16,viewBox:"0 0 16 16"}):(0,n.jsx)(b.Z,{className:r()(E.default.searchIcon,E.default.newSize),src:S,width:14,height:14,viewBox:"0 0 14 14"}),(0,n.jsxs)("div",{className:r()(E.default.text,R),children:[P?(0,n.jsx)("span",{className:E.default.hintText,children:U?"":O}):null,!P&&O?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:E.default.hintText,children:U?"":O}),(0,n.jsx)("span",{className:r()(E.default.titleWord,E.default.rsBarOpt),children:D})]}):null,P||O?null:(0,n.jsx)("span",{className:r()(E.default.titleWord,E.default.rsBarOpt),children:F})]}),U||P?null:(0,n.jsx)(b.Z,{className:r()(E.default.enterIcon),src:w.Z,width:12,height:12,viewBox:"0 0 12 12"})]})})};i("76375"),i("88856"),i("679308");var j=i("708003"),L=i("966473");i("490629"),i("968336"),i("89063");var P=i("550514"),M=i("452718");a.WZ.Mix,a.WZ.Series,a.WZ.Hot;let T=(e,t)=>{let{seriesInfo:i,mixInfo:n,authorInfo:o,createTime:l,awemeId:r}=t;return e===a.WZ.Series&&i.seriesId?(0,P.Ab)({cursor:i.currentEpisode,seriesId:i.seriesId,count:1}).then(e=>{let{data:[t]}=e;return t}):e===a.WZ.Mix&&n.mixId?(0,M.FF)({cursor:n.currentEpisode,mixId:n.mixId,count:1}).then(e=>{let{data:[t]}=e;return t}):Promise.resolve()};var B=i("655109"),R=i("937173");let O=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,A._)((0,m._)({width:10,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsx)("mask",{id:"hot_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-2,width:10,height:14,children:(0,n.jsx)("path",{d:"M.5-1.05h9.208v8.234A4.516 4.516 0 0 1 5.192 11.7 4.692 4.692 0 0 1 .5 7.008V-1.05z",fill:"#C4C4C4"})}),(0,n.jsxs)("g",{mask:"url(#hot_svg__a)",children:[(0,n.jsx)("path",{d:"M8.393 3.553c.961 1.063 1.315 2.125 1.315 3.188 0 1.416-.067 1.796 0 1.77-1.858.738-5.122-.93-6.02-3.187-.899-2.257.38-4.25 2.353-5.312.078-.042.126.027.126.132 0 1.638 1.265 2.347 2.226 3.41z",fill:"url(#hot_svg__paint0_linear_23665_194053)"}),(0,n.jsx)("path",{d:"M9.545 8.872c.191-.348.557 1.057.164-1.226.354-1.967-1.142-2.745-2.125-2.322-1.645.709-2.48.709-3.542.355-.69-.23-1.638-.709-1.934-1.771-.329 1.416.66 4.065 2.157 4.964 1.497.899 5.09.348 5.28 0z",fill:"url(#hot_svg__paint1_linear_23665_194053)"}),(0,n.jsx)("path",{d:"M1.775 3.339C1.534 3.58.5 4.826.5 6.816c0 1.99 1.063 4.884 4.604 4.884 3.542 0 4.931-1.406 5.313-3.255-3.188 1.77-5.656 0-6.021-.354-.9-.872-2.125-2.412-2.338-4.604-.029-.302-.042-.39-.283-.148z",fill:"url(#hot_svg__paint2_linear_23665_194053)"})]}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"hot_svg__paint0_linear_23665_194053",x1:3.536,y1:".28",x2:7.934,y2:6.743,gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:".021",stopColor:"#FADF32"}),(0,n.jsx)("stop",{offset:".451",stopColor:"#EB9B46"}),(0,n.jsx)("stop",{offset:".782",stopColor:"#EB5854"})]}),(0,n.jsxs)("linearGradient",{id:"hot_svg__paint1_linear_23665_194053",x1:2.616,y1:4.79,x2:10.598,y2:9.517,gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#FFC533"}),(0,n.jsx)("stop",{offset:".436",stopColor:"#F26461"}),(0,n.jsx)("stop",{offset:".809",stopColor:"#FF0544"})]}),(0,n.jsxs)("linearGradient",{id:"hot_svg__paint2_linear_23665_194053",x1:8.195,y1:11.127,x2:".577",y2:4.974,gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:".134",stopColor:"#FA0951"}),(0,n.jsx)("stop",{offset:".354",stopColor:"#FA3E65"}),(0,n.jsx)("stop",{offset:".881",stopColor:"#F2AE49"}),(0,n.jsx)("stop",{offset:".998",stopColor:"#FAC032"})]})]})]}))),D={[a.WZ.Mix]:"compilation",[a.WZ.Series]:"playlet",[a.WZ.Hot]:"trending_topic",[a.WZ.RelatedSearch]:"related_search_anchor_v2"};a.WZ.Mix,b.Z,B.Z,a.WZ.Mix,a.WZ.Series,b.Z,R.Z,a.WZ.Series,a.WZ.Hot,b.Z,a.WZ.Hot;let W=(0,o.forwardRef)((e,t)=>(0,n.jsxs)("svg",(0,A._)((0,m._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,n.jsxs)("g",{filter:"url(#newMix_svg__filter0_d_3478_27938)",fill:"#fff",children:[(0,n.jsx)("path",{d:"M2.74 6.194a.849.849 0 0 1 0-1.49L7.085 2.24a1.862 1.862 0 0 1 1.828 0l4.347 2.463a.849.849 0 0 1 0 1.491L8.914 8.658c-.564.32-1.264.32-1.828 0L2.739 6.194z"}),(0,n.jsx)("path",{d:"M2.083 7.752a.613.613 0 0 1 .822-.204L7.39 10.09c.376.213.842.213 1.218 0l4.486-2.542a.613.613 0 0 1 .822.204.565.565 0 0 1-.212.79l-4.486 2.542a2.483 2.483 0 0 1-2.438 0L2.295 8.542a.565.565 0 0 1-.212-.79z"}),(0,n.jsx)("path",{d:"M2.905 10.144a.614.614 0 0 0-.822.204.565.565 0 0 0 .212.79l4.486 2.542a2.483 2.483 0 0 0 2.438 0l4.486-2.542a.565.565 0 0 0 .212-.79.613.613 0 0 0-.822-.204L8.61 12.686a1.241 1.241 0 0 1-1.218 0l-4.486-2.542z"})]}),(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"newMix_svg__filter0_d_3478_27938",x:1.5,y:1.5,width:14,height:14,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dx:".5",dy:".5"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,n.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,n.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0"}),(0,n.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_3478_27938"}),(0,n.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_3478_27938",result:"shape"})]})})]}))),F={[a.WZ.Mix]:{src:W,width:16,height:16,viewBox:"0 0 16 16"},[a.WZ.Mix]:{src:W,width:16,height:16,viewBox:"0 0 16 16"},[a.WZ.Series]:{src:R.Z,width:14,height:14,viewBox:"0 0 14 14"},[a.WZ.Hot]:{src:O,width:12,height:12,viewBox:"0 0 12 12"}},V=e=>{var t,i;let{item:l,children:a,awemeInfo:d,abTestData:s,onClick:u}=e,f=(0,o.useRef)(null),v={enter_from:(0,g.yW)(),group_id:d.awemeId,compilation_id:(null===(t=d.mixInfo)||void 0===t?void 0:t.mixId)||(null===(i=d.seriesInfo)||void 0===i?void 0:i.seriesId)};return(0,o.useEffect)(()=>{c.sendLog("compilationNextVideoShow",v)},[]),(0,n.jsxs)("div",{className:E.default.tagWithNextContainer,children:[a,(0,n.jsxs)("div",{className:r()(l.itemClassName,E.default.tag,E.default.nextTag,E.default.entranceCardHover),onMouseEnter:()=>{c.sendLog("compilationNextVideoHover",v)},onClick:()=>{(f.current||(f.current=T(l.type,d))).then(e=>{if(!e)throw Error("暂无下一集");u(e)}).catch(e=>{j.F.info((null==e?void 0:e.message)||"暂无下一集"),f.current=null}).finally(()=>{c.sendLog("compilationNextVideoClick",v)})},children:[(0,n.jsx)("span",{className:r()(E.default.tagBg)}),(0,n.jsx)("span",{className:r()(E.default.tagText,l.textClassName),children:"下一集"}),(0,n.jsx)(b.Z,{className:r()(E.default.nextMixIcon),src:w.Z,width:12,height:12,viewBox:"0 0 12 12"})]})]})},U=e=>{let{item:t,awemeInfo:i,feedbarCount:l,isShowUpdateText:s,player:u,reportExtraParams:f,abTestData:v,showMiniTag:_=!1,hiddenMixUpdateText:p=!1,hiddenNextBtn:y=!1,onMouseLeave:w,hideDesc:k}=e,{awemeId:A,mixInfo:C,relatedVideo:S,seriesInfo:N}=i,I=(0,o.useMemo)(()=>{let{totalEpisode:e,currentEpisode:t}=(null==i?void 0:i.mixInfo)||{};return s&&(null==i?void 0:i.mixInfo.mixId)?e===t?"已是最新集":`更新至第${e}集`:null},[s,i,null==i?void 0:i.mixInfo]),j=(0,o.useMemo)(()=>{let{totalEpisode:e,currentEpisode:t}=(null==i?void 0:i.seriesInfo)||{};return s&&(null==i?void 0:i.seriesInfo.seriesId)?e===t?"已是最新集":`更新至第${e}集`:null},[s,i,null==i?void 0:i.seriesInfo]),P=(0,L.x)(()=>{var e,n,o,r,s,u,v,h;if(t.type===a.WZ.Mix&&c.sendLog("compilationEntranceShow",{enter_from:(0,g.yW)(),group_id:A,author_id:null==i?void 0:null===(s=i.authorInfo)||void 0===s?void 0:s.uid,compilation_id:null==C?void 0:C.mixId,entrance_cnt:l,is_update:(null==i?void 0:null===(u=i.mixInfo)||void 0===u?void 0:u.totalEpisode)===(null==i?void 0:null===(v=i.mixInfo)||void 0===v?void 0:v.currentEpisode)?0:1}),t.type===a.WZ.Hot){let{trending_topic:e,first_tag_name:n,top:o}=t.customProps||{};c.sendLog("hotEntranceShow",{enter_from:(0,g.yW)(),group_id:A,author_id:null==i?void 0:null===(h=i.authorInfo)||void 0===h?void 0:h.uid,trending_topic:e,first_tag_name:n,top:o,entrance_cnt:l})}let _=0;_=(null==N?void 0:N.seriesId)?(null==N?void 0:N.totalEpisode)===(null==N?void 0:N.currentEpisode)?0:1:(null==C?void 0:C.totalEpisode)===(null==C?void 0:C.currentEpisode)?0:1,c.sendLog("bottomBarShow",(0,m._)({playlet_id:null==N?void 0:N.seriesId,compilation_id:null==C?void 0:C.mixId,group_id:A,enter_from:(0,g.yW)(),enter_from_merge:(0,d.vM)(),bar_type:D[t.type],entrance_cnt:l,is_update:_,item_duration_ms:(null==i?void 0:null===(e=i.video)||void 0===e?void 0:e.duration)||0,bar_tag_name:null==i?void 0:null===(r=i.webRawData)||void 0===r?void 0:null===(o=r.CTR)||void 0===o?void 0:null===(n=o.recommendScore)||void 0===n?void 0:n.relateAiTag,player_display_mode:(0,d.Ok)()},f||{}))}),M=e=>{var n,o,r,s,v,_,p,x;if(t.onClick({awemeInfo:e}),t.type===a.WZ.Mix&&(c.sendLog("compilationEntranceClick",{enter_from:(0,g.yW)(),group_id:A,author_id:null==i?void 0:null===(v=i.authorInfo)||void 0===v?void 0:v.uid,compilation_id:C.mixId,entrance_cnt:l,is_update:(null==e?void 0:null===(_=e.mixInfo)||void 0===_?void 0:_.totalEpisode)===(null==e?void 0:null===(p=e.mixInfo)||void 0===p?void 0:p.currentEpisode)?0:1}),null==u||u.emit(h.Events.USER_ACTION,{action:"click_compilation"})),t.type===a.WZ.Hot){let{trending_topic:e,first_tag_name:n,top:o}=(null==t?void 0:t.customProps)||{};c.sendLog("hotEntranceClick",{enter_from:(0,g.yW)(),group_id:A,author_id:null==i?void 0:null===(x=i.authorInfo)||void 0===x?void 0:x.uid,trending_topic:e,first_tag_name:n,top:o,entrance_cnt:l}),null==u||u.emit(h.Events.USER_ACTION,{action:"click_hot"})}t.type===a.WZ.Series&&(null==u||u.emit(h.Events.USER_ACTION,{action:"click_series"}));let y=0;y=(null==N?void 0:N.seriesId)?(null==N?void 0:N.totalEpisode)===(null==N?void 0:N.currentEpisode)?0:1:(null==C?void 0:C.totalEpisode)===(null==C?void 0:C.currentEpisode)?0:1,c.sendLog("bottomBarClick",(0,m._)({playlet_id:null==N?void 0:N.seriesId,compilation_id:null==C?void 0:C.mixId,group_id:A,enter_from:(0,g.yW)(),enter_from_merge:(0,d.vM)(),bar_type:D[t.type],entrance_cnt:l,is_update:y,item_duration_ms:(null==e?void 0:null===(n=e.video)||void 0===n?void 0:n.duration)||0,bar_tag_name:null==e?void 0:null===(s=e.webRawData)||void 0===s?void 0:null===(r=s.CTR)||void 0===r?void 0:null===(o=r.recommendScore)||void 0===o?void 0:o.relateAiTag,player_display_mode:(0,d.Ok)()},f||{}))},{isSeries2Mix:T,darkIconUrl:B}=null!=N?N:{},R=(0,n.jsxs)("div",{className:r()(t.itemClassName,E.default.tag,E.default.entranceCardHover),ref:P,onClick:()=>M(i),onMouseLeave:w,children:[(0,n.jsx)("span",{className:r()(E.default.tagBg)}),(0,n.jsx)("span",{className:r()(E.default.tagIcon,{[E.default.mixIcon]:t.type===a.WZ.Mix}),children:T&&B&&t.type===a.WZ.Series?(0,n.jsx)("img",{className:E.default.iconInner2,src:B}):F[t.type]&&(0,n.jsx)(b.Z,(0,m._)({className:E.default.iconInner2},F[t.type]))}),(0,n.jsx)("span",{className:r()(E.default.tagText,t.textClassName,{[E.default.miniTag]:_}),children:t.title}),!p&&!k&&t.type===a.WZ.Mix&&s&&(0,n.jsxs)("div",{className:r()(E.default.updateTextContainer),children:[(0,n.jsx)("div",{className:r()(E.default.divide)}),(0,n.jsx)("div",{className:r()(E.default.updateText),children:I})]}),!p&&!k&&t.type===a.WZ.Series&&s&&(0,n.jsxs)("div",{className:r()(E.default.updateTextContainer),children:[(0,n.jsx)("div",{className:r()(E.default.divide)}),(0,n.jsx)("div",{className:r()(E.default.updateText),children:j})]})]},t.type);return(0,x.tq)()||(0,x._1)()||(0,x.iO)()||"undefined"==typeof window||"/"!==window.location.pathname||(t.type!==a.WZ.Mix||!(i.mixInfo.totalEpisode>i.mixInfo.currentEpisode))&&(t.type!==a.WZ.Series||!(i.seriesInfo.totalEpisode>i.seriesInfo.currentEpisode))?(0,n.jsx)("div",{className:E.default.root,children:R}):(0,n.jsx)("div",{className:E.default.root,children:y?(0,n.jsx)(n.Fragment,{children:R}):(0,n.jsx)(V,{item:t,awemeInfo:i,abTestData:v,onClick:M,children:R})})},Z=e=>{let{tagList:t,awemeInfo:i,reportExtraParams:l,isShowUpdateText:u,isActive:m,player:h,onAiSearchTagHover:_,onAiSearchTagClick:p,abTestData:g,showMiniTag:x,hiddenMixUpdateText:y,hiddenNextBtn:w,hiddenAiSearchEntry:k,hideDesc:A}=e,C=(0,o.useCallback)(e=>{let t=D[e];if(!!t)c.sendLog("hover_bottom_bar",{enter_from:(0,d.mo)(),bar_type:t,player_display_mode:(0,d.Ok)(),group_id:null==i?void 0:i.awemeId})},[]);return(0,n.jsx)(f.k,{componentName:s.y.VideoTag,children:(0,n.jsx)("div",{className:r()("feedbar-new-style","feedbar-new-style-adapter","nps-style",v.default.root,{feedbarHeight36:!0}),children:t.map(e=>e.type===a.WZ.RelatedSearch||e.type===a.WZ.AiSearch?(0,n.jsx)(I,{isActive:m,tag:e,awemeInfo:i,feedbarCount:t.length,player:h,reportExtraParams:l,onAiSearchTagClick:p,onAiSearchTagHover:_,abTestData:g,onMouseLeave:()=>C(e.type),hiddenAiSearchEntry:k,hideDesc:A},e.type):(0,n.jsx)(U,{showMiniTag:x,hiddenMixUpdateText:y,hiddenNextBtn:w,item:e,awemeInfo:i,feedbarCount:t.length,isShowUpdateText:u,player:h,reportExtraParams:l,abTestData:g,onMouseLeave:()=>C(e.type),hideDesc:A},e.type))})})}},45390:function(e,t,i){i.d(t,{K:function(){return a}});var n=i(629686);i(313036);var o=i(320165),l=i(101199);let r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):"function"==typeof l.memo&&(0,l.memo)(e=>null).$$typeof;function a(e){let t=r&&e.$$typeof===r?e:(0,l.memo)(e);return function(e){let{isActive:i=!1,forceDelayUpdate:r=!1}=e,a=(0,l.useDeferredValue)(e),d=!i||r?a:e;return(0,o.jsx)(t,(0,n._)({},d))}}},27163:function(e,t,i){i.d(t,{u:function(){return r}}),i(490629);var n=i(101199),o=i(499059),l=i(645062);let r=e=>{var t,i,r,a;let{awemeId:d,defaultCount:s,selfUid:u,defaultCollectStatus:c}=e,f=o.Le.getConfig(o.gI.CollectStatusCache),[v,m]=(0,n.useState)(null!==(r=null==f?void 0:null===(t=f[d])||void 0===t?void 0:t.count)&&void 0!==r?r:s),[h,_]=(0,n.useState)(null!==(a=null==f?void 0:null===(i=f[d])||void 0===i?void 0:i.collectStatus)&&void 0!==a?a:c);return(0,n.useEffect)(()=>{var e,t,i,n;m(null!==(i=null==f?void 0:null===(e=f[d])||void 0===e?void 0:e.count)&&void 0!==i?i:s),_(null!==(n=null==f?void 0:null===(t=f[d])||void 0===t?void 0:t.collectStatus)&&void 0!==n?n:c)},[c,s,d]),(0,n.useEffect)(()=>{let e=l.a.addCb(e=>{let{selfUid:t,awemeId:i,action:n}=e,l=t===u,r=void 0===t||void 0===u;if((l||r)&&i===d&&("collect"===n||"unCollect"===n)){var a,f,v;let e=null===(a=o.Le.getConfig(o.gI.CollectStatusCache))||void 0===a?void 0:a[d];m(null!==(f=null==e?void 0:e.count)&&void 0!==f?f:s),_(null!==(v=null==e?void 0:e.collectStatus)&&void 0!==v?v:c)}});return()=>{e()}},[u,d,s,c]),{count:Math.max(v,0),collectStatus:h}}},764910:function(e,t,i){i.d(t,{P:function(){return r}}),i(490629);var n=i(101199),o=i(499059),l=i(645062);let r=e=>{var t,i,r;let{awemeId:a,defaultCount:d,selfUid:s,defaultDiggStatus:u}=e,c=null===(t=o.Le.getConfig(o.gI.DiggStatusCache))||void 0===t?void 0:t[a],[f,v]=(0,n.useState)(null!==(i=null==c?void 0:c.count)&&void 0!==i?i:d),[m,h]=(0,n.useState)(null!==(r=null==c?void 0:c.diggStatus)&&void 0!==r?r:u);return(0,n.useEffect)(()=>{var e,t;v(null!==(e=null==c?void 0:c.count)&&void 0!==e?e:d),h(null!==(t=null==c?void 0:c.diggStatus)&&void 0!==t?t:u)},[u,d,a]),(0,n.useEffect)(()=>{let e=l.a.addCb(e=>{let{selfUid:t,awemeId:i,action:n}=e,l=t===s,r=void 0===t||void 0===s;if((l||r)&&i===a&&("digg"===n||"unDigg"===n)){var c,f,m;let e=null===(c=o.Le.getConfig(o.gI.DiggStatusCache))||void 0===c?void 0:c[a];v(null!==(f=null==e?void 0:e.count)&&void 0!==f?f:d),h(null!==(m=null==e?void 0:e.diggStatus)&&void 0!==m?m:u)}});return()=>{e()}},[s,a,d,u]),{count:Math.max(f,0),diggStatus:m}}},607312:function(e,t,i){i.d(t,{AN:function(){return L},u_:function(){return j}});var n=i(101199),o=i(734123),l=i(426038),r=i(638052),a=i(295207),d=i(708003),s=i(499059),u=i(709705),c=i(414061),f=i(759894),v=i(335924),m=i(570831),h=i(601034),_=i(8013),p=i(31992),g=i(55938),x=i(570499),y=i(37285),w=i(755890),k=i(193143),A=i(911159),C=i(365169);let E=e=>("KeyD"===e.code||"ArrowRight"===e.code)&&!1===e.altKey&&!1===e.shiftKey&&!1===e.metaKey&&!1===e.ctrlKey,S=()=>{let e=(0,s.AQ)();return!!e&&new Date(1e3*e).toDateString()===new Date().toDateString()||!1},b=()=>!!(0,u.$o)(l.LocalStorageKeys.IsRatePageShow),N=()=>S()&&!b(),I=!1,j=e=>{let{player:t,isActive:i,isLongPressOn:_,disableLongPress:S,awemeInfo:b,abtestData:j}=e,L=(0,n.useRef)(null),P=(0,n.useRef)(b);P.current=b;let{pipWindow:M,isListenVideoMiniWin:T}=(0,C.Iq)(e=>{let{pipWindow:t,isListenVideoMiniWin:i}=e;return{pipWindow:t,isListenVideoMiniWin:i}}),B=(0,n.useCallback)(e=>{var i,n,o,a,f,v;let{pausePlayControlShortcut:m}=s.Le.getConfig(s.gI.PlayerShortcutConf)||{};if(!I&&!!E(e)&&!!(null==t?void 0:t.isUserActive)&&(null==e?void 0:null===(i=e.target)||void 0===i?void 0:i.nodeName)!=="INPUT"&&(null==e?void 0:null===(n=e.target)||void 0===n?void 0:n.nodeName)!=="TEXTAREA"&&(null==e?void 0:null===(o=e.target)||void 0===o?void 0:o.contentEditable)!=="true"&&(null==t?!void 0:null===(v=t.plugins)||void 0===v?!void 0:null===(f=v.keyboard)||void 0===f?!void 0:null===(a=f.config)||void 0===a?!void 0:!a.disable)&&!m)e.preventDefault(),I=!0,L.current=setTimeout(()=>{if(L.current=null,!S)if(s.Le.getConfig(s.gI.disableSpeed)&&!s.Le.getConfig(s.gI.IsMiniWin))c.emit(c.EVENT.loginBlockKeyBoard,{speed:!0});else{var e;s.Le.setConfig(s.gI.PlayRatioBeforeLongPress,t.playbackRate),t.emit(y.B.ChangePlayRate,{rate:2,notStorage:!0,click_method:"longPress"}),N()&&(d.F.info({text:"2.0x播放中",duration:1e3}),(0,u.qQ)(l.LocalStorageKeys.IsRatePageShow,!0)),r.logInstance.sendLog("holdVideoSpeed",{group_id:null===(e=P.current)||void 0===e?void 0:e.awemeId})}},200)},[t,S]),R=(0,n.useCallback)(e=>{var i,n,l,r,d,u,c,_,C,S,b,N,j;let{pausePlayControlShortcut:M}=s.Le.getConfig(s.gI.PlayerShortcutConf)||{};if(!!E(e)&&!!(null==t?void 0:t.isUserActive)&&(null==e?void 0:null===(i=e.target)||void 0===i?void 0:i.nodeName)!=="INPUT"&&(null==e?void 0:null===(n=e.target)||void 0===n?void 0:n.nodeName)!=="TEXTAREA"&&(null==e?void 0:null===(l=e.target)||void 0===l?void 0:l.contentEditable)!=="true"&&(null==t?!void 0:null===(u=t.plugins)||void 0===u?!void 0:null===(d=u.keyboard)||void 0===d?!void 0:null===(r=d.config)||void 0===r?!void 0:!r.disable)&&!M){if(clearTimeout(L.current),L.current){if(!t)return;let{currentTime:e,paused:i,duration:n}=t,l=e+5,r=!!(null===(_=P.current)||void 0===_?void 0:null===(c=_.chapterInfo)||void 0===c?void 0:c.status);x.Z.sendLog("progressClick",{play_current_time:Math.floor(e||0),enter_from_merge:(0,f.vM)(),tab_name:(0,p.zD)()||(0,v.Rs)("tab_name")||"",group_id:null===(C=P.current)||void 0===C?void 0:C.awemeId,author_id:null===(b=P.current)||void 0===b?void 0:null===(S=b.authorInfo)||void 0===S?void 0:S.uid,is_chapter_bar:r?1:0,chapter_index:(0,m.P)({awemeInfo:P.current,currentTime:l}),position:l||0,enter_from:(0,h.yW)(),click_method:"hot_key",rate:l/n,action:"forward",is_small_window:(0,k.f)()?"1":"0",small_window_scene:(0,k.f)()?A.w_.getState().smallWindowScene:"",vduration:null===(j=P.current)||void 0===j?void 0:null===(N=j.video)||void 0===N?void 0:N.duration,is_ting_window:g.e.activeScene===a.d.ListenVideo?1:0,if_continued_play:s.Le.getConfig(s.gI.PlayRecord)?(0,w.v)(P.current.awemeId)?1:0:"",before_rate:e/n,before_position:e,player_display_mode:(0,f.Ok)()}),t.seek(l,i?"pause":"play"),t.emit(o.Events.USER_ACTION,{action:y.B.DyUserSeek,currentTime:l,prePlayTime:e})}else{let e=s.Le.getConfig(s.gI.PlayRatioBeforeLongPress);t.emit(y.B.ChangePlayRate,{rate:e||1,click_method:"longPress"}),s.Le.setConfig(s.gI.PlayRatioBeforeLongPress,0)}I=!1,L.current=null}},[t,j]);(0,n.useEffect)(()=>_&&i?(document.addEventListener("keydown",B),document.addEventListener("keyup",R),()=>{document.removeEventListener("keydown",B),document.removeEventListener("keyup",R)}):()=>null,[e,i,_,R,B]),(0,n.useEffect)(()=>{if(_&&i&&M)return M.addEventListener("keydown",B),M.addEventListener("keyup",R),()=>{M.removeEventListener("keydown",B),M.removeEventListener("keyup",R)}},[M,i,_,R,B]),(0,n.useEffect)(()=>{if(_&&i&&T){let e=g.e.getPipWindow({scene:a.d.ListenVideo});if(e)return e.addEventListener("keydown",B),e.addEventListener("keyup",R),()=>{e.removeEventListener("keydown",B),e.removeEventListener("keyup",R)}}},[T,i,_,R,B])},L=()=>{let e=s.Le.getConfig(s.gI.PlayRatioBeforeLongPress);e&&(0,_.t_)(l.SessionStorageKeys.PlayerPlaybackratio,e)}},59412:function(e,t,i){i.d(t,{M:function(){return X},Q:function(){return J}});var n=i("629686");i("490629"),i("706056");var o=i("101199"),l=i("734123"),r=i("202613"),a=i("295207"),d=i("855357"),s=i("426112"),u=i("540129"),c=i("687875"),f=i("499059"),v=i("311507"),m=i("759894"),h=i("335924"),_=i("570831"),p=i("335948"),g=i("31992");i("104882");var x=i("601034"),y=i("880327"),w=i("414061"),k=i("618759"),A=i("995270"),C=i("771410"),E=i("37285"),S=i("762844"),b=i("332009"),N=i("577244"),I=i("55938");let j=e=>e.metaKey||e.ctrlKey||e.shiftKey,L=(e,t)=>t&&e.metaKey===t.includes(S.c.Meta)&&e.shiftKey===t.includes(S.c.Shift)&&e.ctrlKey===t.includes(S.c.Ctrl),P=(e,t)=>{if(!e||(null==e?void 0:e.musicMute))return;if(e.muted){e.muted=!1,e.volume="up"===t?.1:0;return}let i="up"===t?e.volume+.05:e.volume-.05;i=Math.max(i=Math.min(i,1),0),e.volume=Number(i.toFixed(3))},M=e=>{C.Z.report("pc_hot_key_click",e)},T=(e,t)=>{var i,n,o,r,d,s,u,c,m,h,_,p,g,C,T,B,R,O,D,W,F,V,U,Z,z,G,H,K,q,Y,Q,$,X,J,ee,et,ei,en,eo,el,er;let ea=null==e?void 0:null===(i=e.target)||void 0===i?void 0:i.tagName;if("INPUT"===ea||"TEXTAREA"===ea||(null==e?void 0:null===(n=e.target)||void 0===n?void 0:n.contentEditable)==="true")return;let{player:ed,shortcut:es={},isKeyWorkCancalLike:eu,isAd:ec,enableCustomKey:ef,pipWindow:ev,abtestData:em}=t;if((null==ef?void 0:ef.length)>0&&!(null==ef?void 0:ef.includes(e.code)))return;let eh=(null==em?void 0:em.rmShortcutKeyList)||[];if("Minus"===e.code&&L(e,[S.c.Shift])&&!(null==eh?void 0:eh.includes("volume"))&&(P(ed,"down"),null==ed||ed.emit(E.B.CustomShortCut,{action:"volumeDown"}),(0,v.hB)(),M({hot_key:"Shift +",function:"volumeDown"})),"Equal"===e.code&&L(e,[S.c.Shift])&&!(null==eh?void 0:eh.includes("volume"))&&(null==ed||ed.emit(E.B.CustomShortCut,{action:"volumeUp"}),P(ed,"up"),(0,v.hB)(),M({hot_key:"Shift -",function:"volumeUp"})),e.code===(null===(o=es.like)||void 0===o?void 0:o.code)&&!j(e)&&(null==ed||ed.emit("shortcutTopic",!0),ed.emit("onStar",{event:e,clickMethod:"hot_key",isKeyWorkCancalLike:eu}),(0,v.hB)("like"),M({hot_key:null===(V=es.like)||void 0===V?void 0:V.code,function:"like"})),e.code===(null===(r=es.recommend)||void 0===r?void 0:r.code)&&!j(e)&&(null==ed||ed.emit("shortcutTopic",!0),null==ed||ed.emit(l.Events.USER_ACTION,{action:"shortcut_recommend"}),(0,v.hB)(),M({hot_key:null===(U=es.recommend)||void 0===U?void 0:U.code,function:"recommend"})),e.code===(null===(d=es.comment)||void 0===d?void 0:d.code)&&!j(e)&&(null==ed||ed.emit("shortcutTopic",!0),ed.emit("showComment",{clickMethod:"hot_key"}),(0,v.hB)("comment"),"video_detail"===(0,x.yW)()&&!(0,y.r)()&&w.emit(w.EVENT.commentFocus),M({hot_key:null===(Z=es.comment)||void 0===Z?void 0:Z.code,function:"comment"})),e.code===(null===(s=es.watchLater)||void 0===s?void 0:s.code)&&!j(e)&&(null==ed||ed.emit("shortcutTopic",!0),ed.emit("onWatchLater",{e,clickMethod:"hot_key"}),(0,v.hB)(),M({hot_key:null===(z=es.watchLater)||void 0===z?void 0:z.code,function:"watchLater"})),e.code===(null==es?void 0:null===(u=es.pip)||void 0===u?void 0:u.code)&&!j(e)){let t=I.e.activeScene===a.d.WebVideo;if((0,k.DT)()&&t||!(0,k.DT)()){ed.emit("switchPIP",{e,clickMethod:"hot_key"});let t=!!e.target;ed.emit("onPipShortcutKeyDown",{action:t?"open":"close"}),(0,v.hB)(),M({hot_key:null===(G=es.pip)||void 0===G?void 0:G.code,function:"pip"})}}if(e.code===(null===(c=es.collect)||void 0===c?void 0:c.code)&&!j(e)&&(null==ed||ed.emit("shortcutTopic",!0),ed.emit("onCollect",{clickMethod:"hot_key"}),(0,v.hB)(),M({hot_key:null===(H=es.collect)||void 0===H?void 0:H.code,function:"collect"})),e.code===(null===(m=es.related)||void 0===m?void 0:m.code)&&!j(e)&&(null==ed||ed.emit("shortcutTopic",!0),ed.emit("onRelated",{e,clickMethod:"hot_key"}),(0,v.hB)(),M({hot_key:null===(K=es.related)||void 0===K?void 0:K.code,function:"related"})),e.code===(null===(h=es.share)||void 0===h?void 0:h.code)&&!j(e)&&(ed.emit("showShareCode",{clickMethod:"hot_key"}),(0,v.hB)(),M({hot_key:null===(q=es.share)||void 0===q?void 0:q.code,function:"share"})),e.code===(null===(_=es.dislike)||void 0===_?void 0:_.code)&&!j(e)&&(ed.emit(E.B.Dislike,{clickMethod:"hot_key"}),(0,v.hB)(),M({hot_key:null===(Y=es.dislike)||void 0===Y?void 0:Y.code,function:"dislike"})),e.code===(null===(p=es.avatar)||void 0===p?void 0:p.code)&&!j(e)&&(null==ed||ed.emit("shortcutTopic",!0),ed.emit("onAvatar"),(0,v.hB)("avatar"),M({hot_key:null===(Q=es.avatar)||void 0===Q?void 0:Q.code,function:"avatar"})),e.code===(null===(g=es.follow)||void 0===g?void 0:g.code)&&!j(e)&&(null==ed||ed.emit("shortcutTopic",!0),ed.emit("onFollow",{clickMethod:"hot_key"}),(0,v.hB)(),M({hot_key:null===($=es.follow)||void 0===$?void 0:$.code,function:"follow"})),e.code===(null===(C=es.fullscreen)||void 0===C?void 0:C.code)&&!j(e)){if((0,A.QD)()&&w.emit(w.EVENT.changeMinWindows,{event:"close",isMiniWin:!1,clickMethod:"hotkey_fullScreen"}),null==ev?void 0:ev.close)ev.close(),ed.getFullscreen(),ed.emit("switch_fullscreen",{fullscreen:!0});else{if(null==ed?void 0:null===(X=ed.openGeneralSearchModalSlide)||void 0===X?void 0:X.call(ed,{from:"fullscreen"}))return;(0,v.hB)(),M({hot_key:null===(J=es.fullscreen)||void 0===J?void 0:J.code,function:"fullscreen"}),(0,y.r)()?(ed.exitFullscreen(),ed.emit("switch_fullscreen",{fullscreen:!1})):f.Le.getConfig(f.gI.disableFullScrren)&&!f.Le.getConfig(f.gI.IsMiniWin)?w.emit(w.EVENT.loginBlockKeyBoard,{fullscreen:!0}):(ed.getFullscreen(),ed.emit("switch_fullscreen",{fullscreen:!0}))}}if(e.code===(null===(T=es.pageFullScreen)||void 0===T?void 0:T.code)&&!j(e)&&(null==ed?void 0:ed.isUserActive)&&(null==ed?void 0:null===(B=ed.getPlugin)||void 0===B?void 0:B.call(ed,"PageFullScreenPlugin"))){if(null==ed?void 0:null===(ee=ed.openGeneralSearchModalSlide)||void 0===ee?void 0:ee.call(ed,{from:"pageFullscreen"}))return;(0,v.hB)(),M({hot_key:null===(et=es.pageFullScreen)||void 0===et?void 0:et.code,function:"pageFullScreen"});let e=!b.s.getPlayerIsPageFullscreen(ed.playerId);b.s.setPageFullscreen({playerId:ed.playerId,isPageFullscreen:e}),w.emit(w.EVENT.pageFullScreen,{clickMethod:"hot_key",fullScreen:e,playerId:ed.playerId})}if(e.code===(null===(R=es.immersivePlayer)||void 0===R?void 0:R.code)&&!j(e)&&(null==ed||ed.emit(E.B.UpdateImmersiveSwitch,{logParams:{enter_method:"hot_key"}}),(0,v.hB)(),M({hot_key:null===(ei=es.immersivePlayer)||void 0===ei?void 0:ei.code,function:"immersivePlayer"})),e.code===(null===(O=es.danmaku)||void 0===O?void 0:O.code)&&!j(e)&&(null==ed||ed.emit(E.B.ChangeDanmaku),(0,v.hB)(),M({hot_key:null===(en=es.danmaku)||void 0===en?void 0:en.code,function:"danmaku"})),e.code===(null===(D=es.autoPlay)||void 0===D?void 0:D.code)&&!j(e)){let e={switchBy:N.l.Shortcut,logParams:{enter_method:"hot_key"}};f.Le.getConfig(f.gI.IsInMixCard)&&f.Le.setConfig(f.gI.AutoPlayChanged,{changed:!0}),null==ed||ed.emit(E.B.UpdateAutoPlaySwitch,e),w.emit(w.EVENT.syncAutoPlaySetting),(0,v.hB)(),M({hot_key:null===(eo=es.autoPlay)||void 0===eo?void 0:eo.code,function:"autoPlay"})}e.code===(null===(W=es.showAdDetail)||void 0===W?void 0:W.code)&&ec&&!j(e)&&(w.emit(w.EVENT.openAdSideCard,{from:"keyboard"}),(0,v.hB)(),M({hot_key:null===(el=es.showAdDetail)||void 0===el?void 0:el.code,function:"showAdDetail"})),e.code===(null===(F=es.listenVideo)||void 0===F?void 0:F.code)&&!ec&&!j(e)&&(ed.emit("onListenVideo",{clickMethod:"hot_key"}),(0,v.hB)(),M({hot_key:null===(er=es.listenVideo)||void 0===er?void 0:er.code,function:"listenVideo"})),"Enter"===e.code&&!j(e)&&(null==ed||ed.emit(E.B.danmakuInputFocus),(0,v.hB)(),M({hot_key:"Enter",function:"danmakuInputFocus"}))};var B=i("607312"),R=i("517038"),O=i("193143"),D=i("570499"),W=i("755890"),F=i("911159"),V=i("579002"),U=i("63601"),Z=i("365169");let{AwemeType:z}=r,G=[z.LiveCard,z.Lvideo,z.Normal,z.WordCupCard,z.XgVideo,z.NewNormal,z.Canvas],{D:H,A:K,ArrowLeft:q,ArrowRight:Y,Space:Q}=c.bf,$=[q,Y,K,H,Q].map(e=>e.code),X=()=>{(0,o.useEffect)(()=>{let e=e=>{let{pausePlayControlShortcut:t,disableKey:i=[]}=f.Le.getConfig(f.gI.PlayerShortcutConf)||{};[...t?[...$]:[],...i].includes(e.code)&&e.stopPropagation()};return document.addEventListener("keydown",e,!0),document.addEventListener("keyup",e,!0),document.addEventListener("keypress",e,!0),()=>{document.removeEventListener("keydown",e,!0),document.removeEventListener("keyup",e,!0),document.removeEventListener("keypress",e,!0)}},[])},J=e=>{let{isActive:t=!1,abtestData:i,isSliderVideo:r,isKeyWorkCancalLike:c,shortcutDisable:x,shortcutInclude:y,shortcutExclude:w,awemeInfo:k,showAdMenu:A=!1,disableShortCut:C=!1,disableAllNativeShortCut:S=!1,isClientMiniWin:b=!1,pipWindow:N,isLogin:j}=e,[L,P]=(0,o.useState)(null==e?void 0:e.player);L!==(null==e?void 0:e.player)&&P(null==e?void 0:e.player);let M=(0,U.g)(),{isListenVideoMiniWin:z}=(0,Z.Iq)(e=>{let{isListenVideoMiniWin:t}=e;return{isListenVideoMiniWin:t}});(0,o.useEffect)(()=>{if(M&&t&&z){let e=I.e.getPipWindow({scene:a.d.ListenVideo});if(e){let t=e=>{L.plugins.keyboard._onBodyKeyDown(e)};return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}}},[z,t,L]),(0,B.u_)({player:L,isActive:t,isLongPressOn:!C&&(null==k?void 0:k.awemeType)!==d.e.Note,disableLongPress:(0,s.Jt)(k)&&(0,s.Gu)(k),awemeInfo:k,abtestData:i}),X();let{isShortcutListShow:Q}=(0,V.y)({player:L,isLogin:j,isActive:t}),$=(0,o.useMemo)(()=>{let e=w;return(null==k?void 0:k.awemeType)===d.e.Article&&(e=e?[...e,"pip","listenVideo"]:["pip","listenVideo"]),u.getShortcut({disable:x,include:y,exclude:e})},[x,y,w,Q,k]);(0,o.useEffect)(()=>{if(C)return()=>null;if(t&&L){(0,v.z5)();let e=e=>{let{pauseCustomShortcut:t,enableCustomKey:n}=f.Le.getConfig(f.gI.PlayerShortcutConf)||{};if(!(t||!L.isUserActive||f.Le.getConfig(f.gI.IsAlreadyExsitReportModal)))T(e,{player:L,shortcut:$,isSliderVideo:r,isKeyWorkCancalLike:c,enableCustomKey:n,abtestData:i,isAd:A,pipWindow:N})},t=t=>{var i,n;(null===(i=t.data)||void 0===i?void 0:i.type)==="KEY_DOWN"&&(null===(n=t.data)||void 0===n?void 0:n.data)&&e(t.data.data)};return document.addEventListener("keydown",e),window.addEventListener("message",t),()=>{document.removeEventListener("keydown",e),window.removeEventListener("message",t)}}},[L,t,i,$,r,c,C,A]),(0,o.useEffect)(()=>{if(L&&G.includes(null==k?void 0:k.awemeType)){var e,t,i,o;if(S&&(null==L?void 0:null===(e=L.plugins)||void 0===e?void 0:e.keyboard))return(0,R.K)(L);if(!C){let e=e=>()=>{var t,i,n;let{currentTime:o,paused:r,duration:d}=L,s="forward"===e?o+5:o-5,{pausePlayControlShortcut:u}=f.Le.getConfig(f.gI.PlayerShortcutConf)||{};if(u)return;let c=!!(null==k?void 0:null===(t=k.chapterInfo)||void 0===t?void 0:t.status);D.Z.sendLog("progressClick",{play_current_time:Math.floor(o||0),position:s||0,enter_from:(0,m.mo)(),click_method:"hot_key",rate:s/d,action:e,is_small_window:(0,O.f)()?"1":"0",small_window_scene:(0,O.f)()?F.w_.getState().smallWindowScene:"",enter_from_merge:(0,m.vM)(),tab_name:(0,g.zD)()||(0,h.Rs)("tab_name")||"",is_chapter_bar:c?1:0,chapter_index:(0,_.P)({awemeInfo:k,currentTime:s}),group_id:null==k?void 0:k.awemeId,author_id:null==k?void 0:null===(i=k.authorInfo)||void 0===i?void 0:i.uid,vduration:null==k?void 0:null===(n=k.video)||void 0===n?void 0:n.duration,if_continued_play:f.Le.getConfig(f.gI.PlayRecord)?(0,W.v)(k.awemeId)?1:0:"",before_rate:o/d,before_position:o,is_ting_window:I.e.activeScene===a.d.ListenVideo?1:0,player_display_mode:(0,m.Ok)()}),L.seek(s,r?"pause":"play"),L.emit(l.Events.USER_ACTION,{action:E.B.DyUserSeek,currentTime:s,prePlayTime:o})},r={left:{keyCode:q.keyCode,action:e("rewind"),disable:!1,noBodyTarget:!1},letterA:{keyCode:K.keyCode,action:e("rewind"),disable:!1,noBodyTarget:!1},letterD:{keyCode:H.keyCode,action:e("forward"),disable:!0,noBodyTarget:!1},right:{keyCode:Y.keyCode,action:e("forward"),disable:!0,noBodyTarget:!1}};if(null==L?void 0:null===(t=L.plugins)||void 0===t?void 0:t.keyboard){let t=(null==L?void 0:null===(o=L.plugins)||void 0===o?void 0:null===(i=o.keyboard)||void 0===i?void 0:i.keyCodeMap)||{},l=(0,p.x)();return!b||l?L.plugins.keyboard.keyCodeMap=(0,n._)({},t,r):L.plugins.keyboard.keyCodeMap=(0,n._)({},t,{left:{keyCode:q.keyCode,action:e("rewind"),disable:!1,noBodyTarget:!1},right:{keyCode:Y.keyCode,action:e("forward"),disable:!1,noBodyTarget:!1}}),()=>{var i,o;(null===(o=L.plugins)||void 0===o?void 0:null===(i=o.keyboard)||void 0===i?void 0:i.keyCodeMap)&&(L.plugins.keyboard.keyCodeMap=(0,n._)({},t,{left:{keyCode:q.keyCode,action:e("rewind"),disable:!1,noBodyTarget:!1},right:{keyCode:Y.keyCode,action:e("forward"),disable:!1,noBodyTarget:!1}}))}}}}},[L,k,S,C,b,i])}},910170:function(e,t,i){i.d(t,{C:function(){return n},t:function(){return o}});var n={BeforeDefinitionChange:"BeforeDefinitionChange",DefinitionChange:"DefinitionChange",DefinitionChangeSuccess:"DefinitionChangeSuccess",DefinitionChangeFail:"DefinitionChangeFail",DefinitionChangeOnlyForSr:"DefinitionChangeOnlyForSr"},o={UpdateSyncText:"update_sync_text"}},201691:function(e,t,i){i.d(t,{_:function(){return w}}),i(490629);var n=i(320165),o=i(101199),l=i(734123),r=i(469935),a=i.n(r),d=i(676738),s=i(280647),u=i(72430),c=i(855357),f=i(967139),v=i(889429),m=i(273372),h=i(161457),_=i(63601),p=i(439827),g=i(693017),x=i(439503),y=i(94109);let w=e=>{var t,i,r,w,k,A;let{isActive:C,awemeInfo:E,className:S,imgPlaceHolderClassName:b,showImg:N=!0,isPlaying:I=!1,controlHeight:j,abtestData:L}=e,P=(0,_.n)(),[M,T]=(0,o.useState)(!0),[B,R]=(0,o.useState)(!1),[O,D]=(0,o.useState)(I),[W,F]=(0,o.useState)(null),V=(0,o.useRef)(0),U=(0,v.vU)();V.current=(null==E?void 0:null===(t=E.video)||void 0===t?void 0:t.width)/(null==E?void 0:null===(i=E.video)||void 0===i?void 0:i.height);let[Z,z]=(0,o.useState)(!1);(0,d.Z)(()=>{z(!0)},[E]);let G=(0,o.useCallback)(()=>{z(!1),W&&V.current&&(W.offsetWidth/V.current>=W.offsetHeight-(null!=j?j:u.fp.Default)?T(!0):T(!1))},[W,j]),H=(0,o.useCallback)(()=>{B||R(!0)},[B]);(0,o.useEffect)(()=>{if(W&&G){let e=m.Z.bind(W,G);return()=>{e&&e()}}},[W,G]),(0,o.useEffect)(()=>{!C&&D(!1)},[C]);let K=(0,p.l)();return(0,o.useEffect)(()=>{var e,t,i;let n=()=>{D(!0)};if(P)return null===(e=P.on)||void 0===e||e.call(P,l.Events.CANPLAY,n),null===(t=P.once)||void 0===t||t.call(P,l.Events.TIME_UPDATE,n),()=>{var e,t;null===(e=P.off)||void 0===e||e.call(P,l.Events.CANPLAY,n),null===(t=P.off)||void 0===t||t.call(P,l.Events.TIME_UPDATE,n)};{let e=e=>{e.once(l.Events.CANPLAY,n)};return null==K||null===(i=K.on)||void 0===i||i.call(K,g.V.PlayerCreated,e),()=>{var t;null==K||null===(t=K.off)||void 0===t||t.call(K,g.V.PlayerCreated,e)}}},[P]),(0,s.Z)(()=>{R(!1),D(!1)},[E]),(0,n.jsxs)("div",{className:a()(S,h.default.imgBackground,h.default.playerShowInfo,{[h.default.isFirefox]:U,hiddenImgbackgroundPlugin:C&&O&&!(0,y.GP)(E),[h.default.displayNone]:(null==E?void 0:E.awemeType)===c.e.Note&&N,inlinePlayerImgbackgroundPlugin:!1},"imgBackground"),ref:F,children:[!B&&N&&(0,n.jsx)("img",{src:(null==E?void 0:null===(r=E.video)||void 0===r?void 0:r.originCover)||(null==E?void 0:null===(A=E.varietyVideo)||void 0===A?void 0:null===(k=A.cover)||void 0===k?void 0:null===(w=k.url_list)||void 0===w?void 0:w[0]),className:a()("backgroundCover",{[h.default.baseWidth]:!M,[h.default.baseHeight]:M,[h.default.isHide]:Z,[h.default.splashAd]:(0,f.p)(E)},h.default.imgPlaceHolder,b),onLoad:G,onError:H}),(0,n.jsx)(x.T3,{className:a()(h.default.backgroundImg,"background",{[h.default.backgroundImgFirefox]:U}),maskClassName:h.default.backgroundMask,awemeInfo:E,abtestData:L,priorityServerBackupBg:!1})]})}},721968:function(e,t,i){i.d(t,{zf:function(){return D},iu:function(){return W},Ot:function(){return U},KM:function(){return B},zQ:function(){return R}});var n=i("480333"),o=i("629686"),l=i("402748");i("490629");var r=i("320165"),a=i("101199"),d=i("890710"),s=i("469935"),u=i.n(s),c=i("734123"),f=i("358986"),v=i("426038"),m=i("855357"),h=i("709705"),_=i("499059"),p=i("995270"),g=i("759894"),x=i("601034"),y=i("202206"),w=i("889429"),k=i("414061"),A=i("875784"),C=i("423780"),E=i("792076"),S=i("624508"),b=new S.h({autoPlayModePanelShow:{eventName:"auto_play_mode_panel_show",params:{group_id:"",enter_from_merge:"",enter_from:""}},autoPlayModePanelClick:{eventName:"auto_play_mode_panel_click",params:{group_id:"",enter_from_merge:"",enter_from:"",auto_play_mode:""}}}),N=i("754386"),I=i("63601"),j=i("176449"),L=i("37285"),P=i("40137"),M=i("365169"),T=i("540129"),B={Nomal:0,0:"Nomal",Reverse:1,1:"Reverse",Cycle:2,2:"Cycle"};let R=["顺序连播","倒序连播","循环播放"],O=["order","reverse","loop"],D=[A.Z,C.Z,E.Z],W=e=>{let{isSetLog:t,awemeInfo:i,plugin:n,defaultModeRef:o,pipWindow:l,isListenVideoMiniWin:r}=e,[d,s]=(0,a.useState)(()=>{var e;let t=(0,h.$o)(v.LocalStorageKeys.PLAYER_INNER_NEXT_AUTOPLAY),i=null===(e=_.Le.getConfig(_.gI.InnerAutoPlay))||void 0===e?void 0:e.modeIndex;if("number"==typeof i)return i;if(Number(t))return 2===Number(t)?1:0;return null===t?0:2});return(0,a.useEffect)(()=>{var e;let a=e=>{var l,a;let d=null==e?void 0:null===(l=e.target)||void 0===l?void 0:l.tagName;if("INPUT"!==d&&"TEXTAREA"!==d&&(null==e?void 0:null===(a=e.target)||void 0===a?void 0:a.contentEditable)!=="true")(null==e?void 0:e.code)===T.SHORTCUT_KEY.autoPlay.code&&!(0,p.QD)()&&!r&&s(e=>(o&&(o.current=!1),"reverse"===O[(e+1)%3]&&(0,h.qQ)(v.LocalStorageKeys.HasUseFlashBack,!0),t&&b.sendLog("autoPlayModePanelClick",{group_id:null==i?void 0:i.awemeId,enter_from:(0,g.mo)(),enter_from_merge:(0,x.yW)(),auto_play_mode:O[e]}),n.stopFlag=0,(e+1)%3))};return document.addEventListener("keydown",a),null==l||null===(e=l.addEventListener)||void 0===e||e.call(l,"keydown",a),()=>{var e;document.removeEventListener("keydown",a),null==l||null===(e=l.removeEventListener)||void 0===e||e.call(l,"keydown",a)}},[l,i,t,n,r]),(0,a.useEffect)(()=>{!o.current&&(0===d?(0,h.qQ)(v.LocalStorageKeys.PLAYER_INNER_NEXT_AUTOPLAY,"1"):1===d?(0,h.qQ)(v.LocalStorageKeys.PLAYER_INNER_NEXT_AUTOPLAY,"2"):(0,h.qQ)(v.LocalStorageKeys.PLAYER_INNER_NEXT_AUTOPLAY,"0")),_.Le.setConfig(_.gI.InnerAutoPlay,{modeIndex:d,mode:O[d]})},[d]),[d,s]},F=e=>{let{playPrevFunc:t,playNextFunc:i,ablePlayPrev:n,ablePlayNext:l,player:d,isActive:s,innerAutoPlayWeight:f,awemeInfo:p,onMouseLeave:A,hide:C=!1,plugin:E,pipWindow:S,isListenVideoMiniWin:I}=e,M=(0,a.useRef)(!0),[B,F]=W({isSetLog:!0,awemeInfo:p,plugin:E,defaultModeRef:M,pipWindow:S,isListenVideoMiniWin:I}),[V,U]=(0,a.useState)(!1),Z=(0,P.H)("auto_play"),z=(0,a.useRef)(null),G=(0,a.useRef)();(0,a.useEffect)(()=>{if(d&&s){let e=e=>{if((null==e?void 0:e.pluginName)==="innerautoplayplugin"){var t;clearTimeout(G.current),U(!0),!V&&b.sendLog("autoPlayModePanelShow",{group_id:null==p?void 0:p.awemeId,enter_from:(0,g.mo)(),enter_from_merge:(0,x.yW)()}),null===(t=z.current)||void 0===t||t.close()}};return d.on("icon_mouseenter",e),()=>{null==d||d.off("icon_mouseenter",e)}}},[d,p,s]);let H=(0,a.useCallback)(()=>{if(f>=0&&0===B&&i&&l&&(null==E?void 0:E.stopFlag)===0)(0,y.i0)(y.CK.Auto),null==i||i({from:"auto"}),_.Le.setConfig(_.gI.VideoPlayMethod,"auto_play_open");else if(f>=0&&1===B&&n&&t&&(null==E?void 0:E.stopFlag)===0)(0,y.i0)(y.CK.Auto),null==t||t({from:"auto"}),_.Le.setConfig(_.gI.VideoPlayMethod,"auto_play_open");else{let e=()=>{d.replay(),d.replayed=!0,_.Le.setConfig(_.gI.VideoPlayMethod,"auto")};(0,w.G6)()?setTimeout(e,50):e()}},[d,l,n,t,i,B,f]);(0,a.useEffect)(()=>{if(d&&s&&(null==p?void 0:p.awemeType)===m.e.Note){let e=()=>{var e;return null==d?void 0:null===(e=d.replay)||void 0===e?void 0:e.call(d)};return d.on(c.Events.ENDED,e),()=>{d.off(c.Events.ENDED,e)}}},[d,s,p]),(0,a.useEffect)(()=>{if(d&&s&&H&&(null==p?void 0:p.awemeType)!==m.e.Note)return d.on(c.Events.ENDED,H),()=>{d.off(c.Events.ENDED,H)}},[d,s,H,p]),(0,a.useEffect)(()=>{if(d&&s){d.replayed=!1;let e=k.listen(k.EVENT.changeInnerAutoPlay,e=>{"reverse"===O[e]&&(0,h.qQ)(v.LocalStorageKeys.HasUseFlashBack,!0),F(e),M.current=!1});return()=>{e()}}},[s,d,B]);let K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};E.stopFlag=0,null==A||A(),U(!1),b.sendLog("autoPlayModePanelClick",(0,o._)({group_id:null==p?void 0:p.awemeId,enter_from:(0,g.mo)(),enter_from_merge:(0,x.yW)(),auto_play_mode:O[e]},t)),"reverse"===O[e]&&(0,h.qQ)(v.LocalStorageKeys.HasUseFlashBack,!0),_.Le.getConfig(_.gI.IsInMixCard)&&_.Le.setConfig(_.gI.AutoPlayChanged,{changed:!0}),F(e),M.current=!1};return(0,a.useEffect)(()=>{let e=e=>{let{index:t,logParams:i}=e;K(t,i)};if(d)return null==d||d.on(L.B.UpdateAutoPlay,e),()=>{null==d||d.off(L.B.UpdateAutoPlay,e)}},[d,K]),(0,r.jsxs)("div",{className:u()("xgplayer-icon",N.default.innerAutoplay,N.default.iconBox),onMouseLeave:()=>{G.current=setTimeout(()=>{U(!1)},300)},onMouseEnter:()=>{clearTimeout(G.current)},ref:Z,children:[V&&(0,r.jsxs)("div",{className:u()(N.default.itemContainer,"inner-auto-box","isDark"),children:[R.map((e,t)=>(0,r.jsxs)("div",{className:u()(N.default.innerItem,{[N.default.selected]:t===B}),onClick:()=>K(t),children:[(0,r.jsx)(j.Z,{className:"noTransform",width:24,height:24,viewBox:"0 0 24 24",src:D[t]}),(0,r.jsx)("span",{children:e})]},e)),!!T.SHORTCUT_KEY.autoPlay.badgeText&&(0,r.jsxs)("div",{className:N.default.label,children:[T.SHORTCUT_KEY.autoPlay.badgeText,"键快捷切换"]})]}),(0,r.jsxs)("div",{className:u()("inner-autoplay-item",N.default.outerContent),children:[(0,r.jsx)(j.Z,{className:"noTransform",width:24,height:24,viewBox:"0 0 24 24",src:D[B]}),(0,r.jsx)("div",{className:"inner-autoplay-name",children:R[B]})]})]})};class V extends c.Plugin{static get pluginName(){return"InnerAutoPlayPlugin"}static get defaultConfig(){return{position:f.POSITIONS.CONTROLS_RIGHT,index:9,className:"xgplayer-inner-autplay"}}beforePlayerInit(){this.renderRoot()}updateConfig(e){this.config=(0,o._)({},this.config,e),this.renderRoot()}afterCreate(){this.bind("mouseenter",this.onMouseenter),this.bind("mouseleave",this.onMouseleave),this.renderRoot()}destroy(){this.unbind("mouseenter",this.onMouseenter),this.unbind(["blur","mouseleave"],this.onMouseleave),d.unmountComponentAtNode(this.root)}renderRoot(){this.root&&d.hydrate((0,r.jsx)(F,(0,l._)((0,o._)({onMouseEnter:this.onMouseenter,onMouseLeave:this.onMouseleave},this.config),{player:this.player,plugin:this})),this.root)}render(){return` `}constructor(...e){super(...e),(0,n._)(this,"stopFlag",0),(0,n._)(this,"onMouseleave",()=>{this.emit("icon_mouseleave",{pluginName:this.pluginName})}),(0,n._)(this,"onMouseenter",()=>{this.emit("icon_mouseenter",{pluginName:this.pluginName})})}}let U=e=>{let{playPrevFunc:t,playNextFunc:i,ablePlayPrev:n,ablePlayNext:r,isActive:d,hide:s,awemeInfo:u}=e,c=(0,I.n)(),{pipWindow:f,isListenVideoMiniWin:v}=(0,M.Iq)(e=>{let{pipWindow:t,isListenVideoMiniWin:i}=e;return{pipWindow:t,isListenVideoMiniWin:i}});return(0,a.useEffect)(()=>{if(c&&d)return c.registerPlugin(V,(0,l._)((0,o._)({},e),{player:c,innerAutoPlayWeight:0})),()=>{c.getPlugin("InnerAutoPlayPlugin")&&c.unRegisterPlugin("InnerAutoPlayPlugin",!0)}},[c,d,s]),(0,a.useEffect)(()=>{var t;let i=null==c?void 0:null===(t=c.getPlugin)||void 0===t?void 0:t.call(c,"InnerAutoPlayPlugin");c&&d&&i&&i.updateConfig((0,l._)((0,o._)({},e),{pipWindow:f,isListenVideoMiniWin:v}))},[c,d,i,t,r,n,s,f,v]),(0,a.useEffect)(()=>{var e;let t=null==c?void 0:null===(e=c.getPlugin)||void 0===e?void 0:e.call(c,"InnerAutoPlayPlugin");c&&d&&t&&(t.stopFlag=0)},[u]),(0,a.useEffect)(()=>{if(c&&d){var e;let t=null==c?void 0:null===(e=c.getPlugin)||void 0===e?void 0:e.call(c,"InnerAutoPlayPlugin");if(t){let e=k.listen(k.EVENT.videoStopPlayNext,e=>{if(!1===c.isUserActive)return;let{openSideCard:i}=e||{};i?t.stopFlag+=1:t.updateConfig({innerAutoPlayWeight:t.config.innerAutoPlayWeight>-1?t.config.innerAutoPlayWeight-1:-1})}),i=k.listen(k.EVENT.videoRemoveStopPlayNext,e=>{if(!1===c.isUserActive)return;let{openSideCard:i}=e||{};i?t.stopFlag=Math.max(t.stopFlag-1,0):t.updateConfig({innerAutoPlayWeight:t.config.innerAutoPlayWeight<0?t.config.innerAutoPlayWeight+1:0})});return()=>{null==e||e(),null==i||i(),t.updateConfig({innerAutoPlayWeight:0})}}}},[c,d,s]),null}},191825:function(e,t,i){i.d(t,{D:function(){return x},I:function(){return y}});var n=i(629686),o=i(320165),l=i(101199),r=i(469935),a=i.n(r),d=i(414061),s=i(499059),u=i(202206),c=i(604430),f=i(189207),v=i(205030),m=i(913285);i(309976);var h=i(63601),_=i(310383),p=i(316213),g=i(365169);let x=e=>{let{playPrevFunc:t,playNextFunc:i,disablePrev:n,disableNext:r,className:m,style:_,playSwitchRef:g,mouseHandler:x,playSwitchCb:y}=e,w=(0,h.n)(),k=(0,l.useRef)(null),A=(0,l.useRef)(null),C=(0,l.useCallback)(e=>{if(!n){if(t&&w){var i;null===(i=w.emit)||void 0===i||i.call(w,"playSwitchPrevBefore",!1),d.emit(d.EVENT.reportPlayPrev,{clickFrom:"click_button"}),null==y||y(),t()}}},[w,t,n]),E=(0,l.useCallback)(e=>{if(!r){if(i&&w){var t;null===(t=w.emit)||void 0===t||t.call(w,"playSwitchNextBefore",!1),d.emit(d.EVENT.reportPlayNext,{clickFrom:"click_button"}),null==y||y(),i()}}},[w,i,r]);return(0,l.useEffect)(()=>{if(k.current&&A.current){let e=e=>{(0,s.Vv)(v.CJ.click),(0,u.i0)(u.CK.User),C(e)},t=e=>{(0,s.Vv)(v.CJ.click),(0,u.i0)(u.CK.User),E(e)};return k.current.addEventListener("click",e),A.current.addEventListener("click",t),()=>{k.current&&A.current&&(k.current.removeEventListener("click",e),A.current.removeEventListener("click",t))}}},[C,E]),(0,o.jsx)("div",{ref:g,onMouseMove:x,onClick:x,className:a()("xgplayer-playswitch",m),"data-state":"normal",style:_,children:(0,o.jsx)("div",{className:"xgplayer-icon",children:(0,o.jsxs)("div",{className:"xgplayer-playswitch-tab",children:[(0,o.jsx)("div",{"data-e2e":"video-switch-prev-arrow",className:a()("xgplayer-playswitch-prev",{disabled:n}),ref:k,children:(0,o.jsx)(p.z,{svg:(0,o.jsx)(c.Z,{}),needRenderInSSR:!0})}),(0,o.jsx)("div",{"data-e2e":"video-switch-next-arrow",className:a()("xgplayer-playswitch-next",{disabled:r}),ref:A,children:(0,o.jsx)(p.z,{svg:(0,o.jsx)(f.Z,{}),needRenderInSSR:!0})})]})})})},y=e=>{let{needShow:t=!1}=e,i=(0,_.N)(),{removeSlideListButton:l}=(0,g.Iq)(e=>{let{removeSlideListButton:t}=e;return{removeSlideListButton:t}});return t?(0,o.jsx)(m.k,{componentName:"PlaySwitch",Slardar:i,children:(0,o.jsx)(x,(0,n._)({},e))}):l?null:(0,o.jsx)(m.k,{componentName:"PlaySwitch",Slardar:i,children:(0,o.jsx)(x,(0,n._)({},e))})}},843452:function(e,t,i){i.d(t,{r:function(){return c}});var n=i(629686),o=i(320165);i(101199);var l=i(469935),r=i.n(l),a=i(556307),d=i(310383),s=i(913285);let u=e=>{let{children:t,style:i={},className:n}=e;return(0,o.jsx)("div",{className:r()(a.default.customPluginBottomWrapNew,null==n?void 0:n.bottom,"player-position-box-bottom"),style:i,children:t})},c=e=>{let t=(0,d.N)();return(0,o.jsx)(s.k,{componentName:"PositionBoxBottom",Slardar:t,children:(0,o.jsx)(u,(0,n._)({},e))})}},388414:function(e,t,i){let n;i.d(t,{n:function(){return k}});var o=i(629686);i(490629);var l=i(320165),r=i(101199),a=i(469935),d=i.n(a),s=i(734123),u=i(72430),c=i(573031),f=i(414061),v=i(273372),m=i(889429),h=i(556307),_=i(63601),p=i(310383),g=i(913285),x=i(365169);let y={isHideChangeGlobal:!1,newMiniAvatarGlobal:!1,newMiniFontSizeGlobal:!1,newMiniSpacingGlobal:!1,newMiniIconGlobal:!1,initializated:!1},w=e=>{let[t,i]=(0,r.useState)(!1),{children:a,awemeInfo:p,style:g={},className:w,isMiniWin:k=!1,abtestData:A,from:C,immediatelyResize:E=!1}=e,[S,b]=(0,r.useState)(null==y?void 0:y.newMiniIconGlobal),[N,I]=(0,r.useState)(null==y?void 0:y.newMiniAvatarGlobal),[j,L]=(0,r.useState)(null==y?void 0:y.newMiniFontSizeGlobal),[P,M]=(0,r.useState)(null==y?void 0:y.newMiniSpacingGlobal),[T,B]=(0,r.useState)(null==y?void 0:y.newMiniIconGlobal),R=(0,_.n)(),[O,D]=(0,r.useState)({}),W=(0,r.useRef)(),{isWebMiniWin:F}=(0,x.Iq)(e=>{let{isWebMiniWin:t}=e;return{isWebMiniWin:t}}),V=e=>{var t,i,n;let{contentRect:o}=(null==e?void 0:e[0])||{},l=(null==o?void 0:o.height)||(null==R?void 0:null===(t=R.root)||void 0===t?void 0:t.offsetHeight)||(null===(n=W.current)||void 0===n?void 0:null===(i=n.parentNode)||void 0===i?void 0:i.offsetHeight);if(!l)return;let{MaxHeight:a,MiniAvatar:d,MiniText:s,MiniPadding:v,MiniIocn:m,OldHideChangeVideo:h}=u.nl,_=l>a?l/2/425:1;c.H.baseOpt(A)?(1!==_&&D({transform:`scale(${_})`}),f.emit(f.EVENT.InteractionWidthChange,{width:66*_,awemeId:null==p?void 0:p.awemeId})):D({transformOrigin:"right bottom",transform:`scale(${_})`});let g=72,x=l{b(x),I(w),L(k),M(C),B(E)}),y={isHideChangeGlobal:x,newMiniAvatarGlobal:w,newMiniFontSizeGlobal:k,newMiniSpacingGlobal:C,newMiniIconGlobal:E,initializated:!0}};return(0,r.useLayoutEffect)(()=>{var e;let t=(null==R?void 0:R.root)||(null===(e=W.current)||void 0===e?void 0:e.parentNode);if((E||!(null==y?void 0:y.initializated)&&R)&&V(t),t&&!k){let e=v.Z.bind(t,V);return()=>{e&&(null==e||e())}}},[R,k,null==A?void 0:A.feedFlowEntrance,C,E]),(0,r.useEffect)(()=>{if(void 0===n&&(n=(0,m.vU)()),n&&R)return R.on(s.Events.FULLSCREEN_CHANGE,i),()=>{R.off(s.Events.FULLSCREEN_CHANGE,i)}},[R]),(0,l.jsx)("div",{className:d()(h.default.customPluginRightWrap,null==w?void 0:w.right,"positionBox",{[h.default.isFireFox]:n&&!t&&(null==p?void 0:p.awemeType)!==68,[h.default.customPluginRightWrapMini]:F,[h.default.rightWrap]:c.H.baseOpt(A)&&((0,m.i7)()||(0,m.un)()),hideChangeVideo:S,newMiniAvatar:N,newMiniFontSize:j,newMiniSpacing:P,newMiniIcon:T}),style:(0,o._)({},g,O),ref:W,children:a})},k=e=>{let t=(0,p.N)();return(0,l.jsx)(g.k,{componentName:"PositionBoxRight",Slardar:t,children:(0,l.jsx)(w,(0,o._)({},e))})}},899429:function(e,t,i){i.d(t,{r:function(){return j},y:function(){return L}});var n=i("629686");i("679308"),i("490629");var o=i("320165"),l=i("101199"),r=i("855436"),a=i("469935"),d=i.n(a),s=i("53651"),u=i.n(s),c=i("638052"),f=i("593124"),v=i("759894"),m=i("414061"),h=i("857631"),_=i("537985"),p=i("624508"),g=new p.h({abstractClick:{eventName:"search_result_click",params:{token_type:"video",search_type:"general",is_aladdin:0,enter_from:"general_search",button_type:"click_abstract",impr_id:""}},abstractMove:{eventName:"search_result_click",params:{token_type:"video",search_type:"general",is_aladdin:0,enter_from:"general_search",button_type:"click_abstract_move",impr_id:""}}}),x=i("402748");let y=(0,l.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,x._)((0,n._)({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,o.jsx)("circle",{cx:10,cy:10,r:10,transform:"matrix(-1 0 0 1 20 0)",fill:"#fff",fillOpacity:".34"}),(0,o.jsx)("circle",{cx:10,cy:10,r:9.75,transform:"matrix(-1 0 0 1 20 0)",stroke:"#fff",strokeOpacity:".16",strokeWidth:".5"}),(0,o.jsx)("path",{d:"M11.14 6.162a.857.857 0 0 1 1.212 1.212L9.847 9.879l2.505 2.505a.857.857 0 0 1-1.212 1.213l-3.104-3.105-.007-.007a.857.857 0 0 1 0-1.212l3.111-3.111z",fill:"#fff",fillOpacity:".75"})]}))),w=(0,l.forwardRef)((e,t)=>(0,o.jsxs)("svg",(0,x._)((0,n._)({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,o.jsx)("circle",{cx:10,cy:10,r:10,fill:"#fff",fillOpacity:".34"}),(0,o.jsx)("circle",{cx:10,cy:10,r:9.75,stroke:"#fff",strokeOpacity:".16",strokeWidth:".5"}),(0,o.jsx)("path",{d:"M9.241 6.162A.857.857 0 1 0 8.03 7.374l2.505 2.505-2.505 2.505a.857.857 0 0 0 1.212 1.213l3.104-3.105a.857.857 0 0 0 .007-1.22l-3.11-3.11z",fill:"#fff",fillOpacity:".75"})]}))),k=(0,l.forwardRef)((e,t)=>(0,o.jsx)("svg",(0,x._)((0,n._)({width:16,height:16,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,o.jsx)("path",{d:"M4 8c0-1.598.096-2.742.206-3.529.125-.885.924-1.324 1.738-.956.655.296 1.572.76 2.82 1.485a31.73 31.73 0 0 1 2.865 1.85c.821.605.821 1.695 0 2.3A31.743 31.743 0 0 1 8.765 11c-1.25.726-2.166 1.19-2.82 1.485-.815.368-1.614-.071-1.739-.956C4.096 10.742 4 9.598 4 8z"})})));var A=i("235586"),C=i("45972"),E=i("273372"),S=i("63601");let b=(0,r.ZP)(()=>i.e("56710").then(i.bind(i,942645)),{ssr:!1}),N=(e,t)=>{let{videoAbstract:i}=t||{};if(!i||!i.sections)return -1;let{sections:n}=i;return u()(n,t=>t.jumpTime<=e&&t.endTime>=e)},I=e=>{let{text:t,active:i,onClick:r,index:a,logParams:s}=e,u=(0,l.useRef)(!1);return(0,l.useEffect)(()=>{if(!u.current)u.current=!0,c.logInstance.sendLog("videoAbstractShow",(0,n._)({enter_from:(0,v.vM)(),abstract_rank:a},null==s?void 0:s.search_params))},[s,a]),(0,o.jsxs)("div",{className:d()(_.default.horizontalItem,{[_.default.activeItem]:i}),onClick:r,children:[i?(0,o.jsx)(b,{data:h,hidden:!1,loop:!0,autoplay:!0,className:d()("mr-2",_.default.lottie)}):(0,o.jsx)(k,{className:"mr-2"}),(0,o.jsx)("p",{className:"line-clamp-1",children:t})]})},j=e=>{let{awemeInfo:t,player:i,isActive:r,logParams:a,isInnerFeed:s,isModal:u,openSpecificTab:h}=e,[p,x]=(0,l.useState)(-1),k=(0,l.useRef)(null);k.current=i;let{scrollRef:b,btnGroupState:j,onLocalItemClick:L,onLeftButtonClick:P,onRightButtonClick:M}=function(e){let{awemeInfo:t}=e,i=(0,l.useRef)(null),n=(0,S.n)(),[o,r]=(0,l.useState)({shouldButtonGroupShow:!1,shouldLeftButtonDisabled:!1,shouldRightButtonDisabled:!1}),a=(0,l.useCallback)(()=>{if(!i.current)return;let{scrollLeft:e,clientWidth:t,scrollWidth:n}=i.current;r(()=>({shouldButtonGroupShow:n>t,shouldLeftButtonDisabled:e<=0,shouldRightButtonDisabled:Math.ceil(e+t)>=n}))},[]),d=(0,l.useCallback)(e=>{if(!e||!i.current)return;let t=e.offsetLeft>=i.current.scrollLeft,n=e.offsetLeft+e.clientWidth-i.current.scrollLeft{if(i.current&&(o.shouldButtonGroupShow||i.current.scrollWidth>i.current.clientWidth)){let t=e.offsetLeft,n=t+e.clientWidth,o=i.current.scrollLeft,l=o+i.current.clientWidth-90;n>l?(0,A.y)({left:n-l+26,behavior:"smooth"},i.current):t{if(!i.current||o.shouldRightButtonDisabled)return;let e=null,{childNodes:t,scrollWidth:n}=i.current;for(let i=0;i{if(!i.current||o.shouldLeftButtonDisabled)return;let e=null,{childNodes:t}=i.current;for(let i=t.length-1;i>0;i--){let n=t[i],o=t[i-1];d(n)&&!d(o)&&(e=o)}e&&(0,A.X)({left:e.offsetLeft+e.clientWidth-i.current.clientWidth+60,behavior:"smooth"},i.current)},[o,d]);return(0,l.useEffect)(()=>{let e=i.current;if(!e)return;a();let t=()=>{(0,C.U)(a)};return e.addEventListener("scroll",t),()=>{e.removeEventListener("scroll",t)}},[t,a]),(0,l.useEffect)(()=>{if(n){let e=E.Z.bind(n.root,a);return()=>{null==e||e()}}},[n,a]),{scrollRef:i,btnGroupState:o,onLocalItemClick:s,onRightButtonClick:u,onLeftButtonClick:c}}({awemeInfo:t}),T=(0,l.useMemo)(()=>u||s,[u,s]),B=(0,l.useCallback)((e,t)=>{if(p!==e)x(e),e>=0&&t&&L(t)},[p,L]),R=(0,l.useCallback)((e,o)=>{if(i){var l;null===(l=i.play)||void 0===l||l.call(i),T&&(null==h||h(f.L.AbstractList)),T||g.sendLog("abstractClick",(0,n._)({},(null==a?void 0:a.search_params)||{})),T&&c.logInstance.sendLog("videoAbstractClick",(0,n._)({enter_from:(0,v.vM)(),abstract_rank:o,button_type:"click_abstract"},null==a?void 0:a.search_params)),i.currentTime=t.videoAbstract.sections[o].jumpTime/1e3,B(o,e.currentTarget)}},[B,i,t,T]);(0,l.useEffect)(()=>{let e=null;if(r&&(null==i?void 0:i.isUserActive)){let i=()=>{let n=N(1e3*k.current.currentTime,t);m.emit(m.EVENT.UpdateActiveAbstract,{index:n}),e=setTimeout(i,1e3)};return i(),()=>{clearTimeout(e)}}},[r,t,null==i?void 0:i.isUserActive]),(0,l.useEffect)(()=>{if(r){let e=m.listen(m.EVENT.UpdateActiveAbstract,e=>{var t,i,n;let{index:o}=e;if(null===(t=k.current)||void 0===t?void 0:t.isUserActive){let e=null===(n=b.current)||void 0===n?void 0:null===(i=n.childNodes)||void 0===i?void 0:i[o];B(o,e)}});return()=>{null==e||e()}}},[B,r]);let O=(0,l.useCallback)(e=>()=>{T&&c.logInstance.sendLog("videoAbstractClick",(0,n._)({enter_from:(0,v.vM)(),button_type:"click_abstract_move"},null==a?void 0:a.search_params)),T||g.sendLog("abstractMove",(0,n._)({},(null==a?void 0:a.search_params)||{})),"left"===e?P():M()},[a,P,M,T]);return(0,l.useMemo)(()=>{var e;return Array.isArray(null==t?void 0:null===(e=t.videoAbstract)||void 0===e?void 0:e.sections)&&t.videoAbstract.sections.length>0},[t])?(0,o.jsxs)("div",{className:_.default.container,children:[(0,o.jsx)("div",{className:_.default.scrollContainer,ref:b,children:t.videoAbstract.sections.map((e,t)=>(0,o.jsx)(I,{index:t,text:e.playerDisplayText,active:t===p,onClick:e=>R(e,t),logParams:a},e.playerDisplayText))}),j.shouldButtonGroupShow&&(0,o.jsxs)("div",{className:d()(_.default.buttonGroup),children:[(0,o.jsx)(y,{className:d()(_.default.button,{[_.default.disabled]:j.shouldLeftButtonDisabled}),width:20,height:20,viewBox:"0 0 20 20",onClick:O("left")}),(0,o.jsx)(w,{className:d()(_.default.button,{[_.default.disabled]:j.shouldRightButtonDisabled}),width:20,height:20,viewBox:"0 0 20 20",onClick:O("right")})]})]}):(0,o.jsx)(o.Fragment,{})},L=e=>{let{showVideoInfo:t}=e;return t?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)("div",{className:_.default.wrapper,children:(0,o.jsx)(j,(0,n._)({},e))})}},351105:function(e,t,i){i.d(t,{P:function(){return y}});var n=i(629686),o=i(402748);i(932651),i(706056);var l=i(320165),r=i(101199),a=i(885112),d=i(650047),s=i(72430),u=i(723349),c=i(94109),f=i(122090),v=i(63601),m=i(310383),h=i(913285),_=i(814129),p=i(137375),g=i(307323);let x=e=>{let{isActive:t,awemeInfo:i,abtestData:l,scene:m,enablePip:h}=e,x=(0,v.n)(),y=(0,r.useRef)(i||null);return(0,r.useEffect)(()=>{var e,r,v,w,k,A,C,E,S,b,N;if(x&&i&&y.current&&(null==i?void 0:i.awemeId)!==(null===(e=y.current)||void 0===e?void 0:e.awemeId)){!t&&x.pause();let e=Object.assign((0,g.k)({awemeInfo:i,abtestData:l}),(0,u.QF)({awemeInfo:i,abtestData:l}));m===s.lT.CreatorCenter&&(e.ignores=["poster","definition","mobile","fullscreen"]),(0,_.Zf)({config:e,awemeInfo:i,abtestData:l}),(0,p.LX)({config:e,awemeInfo:i,abtestData:l}),(0,c.Ni)(i)&&(e.secretKey=null==i?void 0:null===(S=i.video)||void 0===S?void 0:null===(E=S.bitRateList)||void 0===E?void 0:null===(C=E[0])||void 0===C?void 0:C.playerAccessKey),e.pip&&(e.pip.showIcon=h),(null==e?void 0:null===(r=e.plugins)||void 0===r?void 0:r.includes(a.default))?(x.unRegisterPlugin(d.default.pluginName,!0),!(null==x?void 0:null===(b=x.plugins)||void 0===b?void 0:b.dashplugin)&&x.registerPlugin(a.default)):(null==e?void 0:null===(v=e.plugins)||void 0===v?void 0:v.includes(d.default))?(x.unRegisterPlugin(a.default.pluginName,!0),!(null==x?void 0:null===(N=x.plugins)||void 0===N?void 0:N.mp4encryptplayer)&&x.registerPlugin(d.default)):(x.unRegisterPlugin(a.default.pluginName,!0),x.unRegisterPlugin(d.default.pluginName,!0)),null===(w=x.playNext)||void 0===w||w.call(x,(0,n._)((0,o._)((0,n._)({},e),{autoplay:t}),null==e?void 0:e.mp4encryptplayer)),null===(A=x.getPlugin)||void 0===A||null===(k=A.call(x,"PlayClaritySettingPlugin"))||void 0===k||k.updateConfig({awemeInfo:i}),x.crossOrigin=(0,f.S)(i)?"use-credentials":"anonymous"}y.current=i},[x,t,i.awemeId,l,h]),null},y=e=>{let t=(0,m.N)();return(0,l.jsx)(h.k,{componentName:"VideoSrcChange",Slardar:t,children:(0,l.jsx)(x,(0,n._)({},e))})}},577244:function(e,t,i){i.d(t,{l:function(){return n}});var n={Shortcut:0,0:"Shortcut"}},900203:function(e,t,i){i.d(t,{SD:function(){return V},Yd:function(){return W}});var n=i("480333"),o=i("629686");i("490629");var l=i("320165"),r=i("101199"),a=i("358986"),d=i("469935"),s=i.n(d),u=i("734123"),c=i("391146"),f=i("242875"),v=i("749113"),m=i("414061"),h=i("889429"),_=i("649310"),p=i("48795"),g=i("966473"),x=i("601034"),y=i("759894"),w=i("147597"),k=i("978841"),A=i("624508"),C=new A.h({openPureToastShow:{eventName:"open_pure_toast_show",params:{enter_from_merge:"",enter_from:""}}}),E=i("316213");let S=()=>{C.sendLog("openPureToastShow",{enter_from_merge:(0,x.yW)(),enter_from:(0,y.vM)()})},b=r.forwardRef(e=>{let{onSwitch:t,isShowTip:i,setIsShowTip:n}=e,o=(0,g.x)(S.bind(null));return(0,l.jsxs)("div",{ref:o,className:s()(k.default.tips,{[k.default.show]:i}),children:[(0,l.jsx)(E.z,{className:s()(k.default.close,"noTransform"),svg:(0,l.jsx)(w.Z,{}),onClick:()=>n(!1)}),(0,l.jsx)("div",{className:k.default.ImmersiveTipTitle,children:(0,l.jsx)("span",{children:"隐藏视频标题"})}),(0,l.jsx)("p",{className:k.default.desc,children:"开启清屏,可隐藏视频标题、作者昵称"}),(0,l.jsx)(p.Button,{theme:"solid",className:k.default.btn,onClick:()=>{null==t||t(),n(!1)},children:"立即开启"})]})});var N=i("913285");i("35918");var I=i("63601"),j=i("310383"),L=i("37285"),P=i("44599"),M=i("40137"),T=i("365169"),B=i("540129"),R=i("78190");function O(e){let{isOn:t}=e;return(0,l.jsxs)("div",{className:s()("xgTips"),children:[t&&(0,l.jsx)("span",{children:v.a.t("cancel_clear",{},"取消清屏")}),!t&&(0,l.jsx)("span",{children:v.a.t("clear",{},"清屏")}),!!B.SHORTCUT_KEY.immersivePlayer.badgeText&&(0,l.jsx)("span",{className:"shortcutKey",children:B.SHORTCUT_KEY.immersivePlayer.badgeText})]})}function D(e){let{isOn:t,onSwitch:i,hide:n,player:o,updateImmersiveSwitch:a}=e,d=(0,M.H)("pure_mode"),[u,c]=(0,r.useState)(!1),{isMobile:_,isiPad:p}=(0,f.X)();return(0,r.useEffect)(()=>{(n||t)&&c(!1)},[n,t]),(0,r.useEffect)(()=>{let e=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c(e)};return o&&o.on("changeImmersiveSwitchTip",e),()=>{o&&o.off("changeImmersiveSwitchTip",e)}},[o]),(0,r.useEffect)(()=>{m.emit(m.EVENT.ImmersiveSwitchMount);let e=m.listen(m.EVENT.closeOtherTip,e=>{"ImmersiveSwitchTip"!==e&&c(!1)});return()=>e()},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"xgplayer-icon",ref:d,children:[u&&(0,l.jsx)(b,{isShowTip:u,setIsShowTip:c,onSwitch:()=>{a({isOn:!t,logParams:{enter_method:"toast",click_method:"toast"}})}}),(0,l.jsxs)("div",{className:"xgplayer-setting-label",onClick:i,children:[(0,l.jsx)("button",{"aria-checked":"true",className:s()("xg-switch",{"xg-switch-checked":t}),"aria-labelledby":"xg-switch-pip",type:"button",children:(0,l.jsx)("span",{className:"xg-switch-inner"})}),(0,l.jsx)("span",{className:`xgplayer-setting-title ${(0,h.G6)()?"safari-xgplayer-setting-title":""}`,children:v.a.t("clear",{},"清屏")})]})]}),!_&&!p&&!u&&(0,l.jsx)(O,{isOn:t})]})}class W extends u.Plugin{static get pluginName(){return"ImmersiveSwitchSettingPlugin"}static get defaultConfig(){return{position:a.POSITIONS.CONTROLS_RIGHT,index:8,className:"xgplayer-immersive-switch-setting"}}afterCreate(){var e;if(!this.config.disable)this.renderRoot(),this.updateTargetsVisiblity(),null===(e=this.player)||void 0===e||e.on(L.B.UpdateImmersiveSwitch,this.updateImmersiveSwitch),this.bind("mouseenter",this.onMouseenter),this.bind("mouseleave",this.onMouseLeave)}destroy(){var e;this.unbind("mouseenter",this.onMouseenter),this.unbind("mouseleave",this.onMouseLeave),(0,P.v)(this),null===(e=this.player)||void 0===e||e.off(L.B.UpdateImmersiveSwitch,this.updateImmersiveSwitch)}hideTargets(){let e=this.root.closest(".basePlayerContainer");e&&(u.Util.addClass(e,R.oY),u.Util.addClass(e,R.PN),u.Util.addClass(e,R.oP),u.Util.addClass(e,R.nl))}showTargets(){let e=this.root.closest(".basePlayerContainer");e&&(u.Util.removeClass(e,R.oY),u.Util.removeClass(e,R.PN),u.Util.removeClass(e,R.oP),u.Util.removeClass(e,R.nl))}update(e){this.config=(0,o._)({},this.config,e)}updateTargetsVisiblity(){this.config.isOn&&this.hideTargets(),this.config.isOn||this.showTargets()}renderRoot(){if(this.player){var e;this.player.isCleanScreen=!!(null===(e=this.config)||void 0===e?void 0:e.isOn)}let t=(0,l.jsx)(D,{isOn:!!this.config.isOn,onSwitch:()=>{this.updateImmersiveSwitch({isOn:!this.config.isOn,logParams:{enter_method:"click_bar",click_method:"button"}})},updateImmersiveSwitch:this.updateImmersiveSwitch,hide:this.config.hide,player:this.player});(0,P.s)(this,t)}render(){return` `}constructor(...e){super(...e),(0,n._)(this,"onMouseenter",()=>{this.emit("icon_mouseenter",{pluginName:this.pluginName})}),(0,n._)(this,"onMouseLeave",()=>{this.emit("icon_mouseleave",{pluginName:this.pluginName})}),(0,n._)(this,"updateImmersiveSwitch",e=>{var t,i,n,o,l;let r=null!==(i=null==e?void 0:e.isOn)&&void 0!==i?i:!this.config.isOn,a=null!==(n=null==e?void 0:e.logParams)&&void 0!==n?n:{};if(null===(t=this.player)||void 0===t||t.emit(u.Events.USER_ACTION,{action:"clean_screen",pluginName:"ImmersiveSwitchSettingPlugin",status:r?"open":"close"}),this.config.showTip=null!==(o=null==e?void 0:e.showTip)&&void 0!==o&&o,m.emit(m.EVENT.ImmersiveSwitch,{isOn:r}),this.config.isOn!==r){this.config.isOn=r;let t={isOn:r,logParams:a,isInnerReset:e.isInnerReset};null===(l=this.player)||void 0===l||l.emit(L.B.ImmersiveSwitchChange,t),this.renderRoot(),[...this.root.getElementsByTagName("button")].forEach(e=>e.blur())}this.updateTargetsVisiblity()})}}let F=e=>{var t;let{isActive:i,awemeInfo:n,isOnByOuter:o=!1,isInnerFeed:l,isOutFeed:a,abtestData:d,hide:s,scene:u}=e,f=(0,I.n)(),v=(0,c.Z)(null==n?void 0:n.awemeId),m=(0,r.useRef)(!1),{isFullScreen:h,isCssFullScreen:p,isClientMiniWin:g}=null!==(t=(0,r.useContext)(_.C))&&void 0!==t?t:{};(0,r.useRef)(l).current=l;let{isWebMiniWin:x}=(0,T.Iq)(e=>{let{isWebMiniWin:t}=e;return{isWebMiniWin:t}}),y=(0,r.useMemo)(()=>x||g,[x,g]);return(0,r.useEffect)(()=>{if(f)return 2===f.config.reuse&&f.getPlugin(W.pluginName)?()=>{}:(f.registerPlugin(W,{isOn:o,isInnerFeed:l,abtestData:d,hide:s}),()=>{f.getPlugin(W.pluginName)&&2!==f.config.reuse&&f.unRegisterPlugin(W.pluginName)})},[f,l,d,s]),(0,r.useEffect)(()=>{if(f&&i&&x){let e=f.getPlugin(W.pluginName);null==e||e.updateImmersiveSwitch({isOn:!1})}},[f,i,x]),(0,r.useEffect)(()=>{var e,t,n;let o=null==f?void 0:null===(e=f.getPlugin)||void 0===e?void 0:e.call(f,W.pluginName);f&&i&&o&&(y?null==o||null===(t=o.hide)||void 0===t||t.call(o):null==o||null===(n=o.show)||void 0===n||n.call(o))},[f,i,y]),(0,r.useEffect)(()=>{if(f&&i){let e=f.getPlugin(W.pluginName);null==e||e.updateImmersiveSwitch({isOn:!1})}},[f,i]),(0,r.useEffect)(()=>{if(f&&i&&(null==n?void 0:n.awemeId)!==v){f.emit("changeImmersiveSwitchTip",!1);let e=f.getPlugin(W.pluginName);null==e||e.updateImmersiveSwitch({isOn:!1,isInnerReset:!0})}},[f,i,null==n?void 0:n.awemeId,v,d]),(0,r.useEffect)(()=>{f&&!i&&(m.current=!1),f&&i&&!a&&(m.current=!0)},[f,i,a]),null},V=e=>{let t=(0,j.N)();return(0,l.jsx)(N.k,{componentName:"ImmersiveSwitchPlugin",Slardar:t,children:(0,l.jsx)(F,(0,o._)({},e))})}},78190:function(e,t,i){i.d(t,{PN:function(){return o},m4:function(){return a},nl:function(){return r},oP:function(){return l},oY:function(){return n}});let n="immersive-player-switch-on",o="immersive-player-switch-on-hide-video-info",l="immersive-player-switch-on-hide-bottom-brand-ad",r="immersive-player-switch-on-hide-recommend-tag",a="immersive-player-switch-on-hide-interaction-area"},570499:function(e,t,i){var n=i(624508);t.Z=new n.h({progressPreview:{eventName:"progress_preview",params:{enter_from:"",enter_method:"",video_time:0,enter_from_merge:"",tab_name:"",group_id:"",chapter_index:0,is_chapter_bar:0,play_current_time:0}},progressClick:{eventName:"progress_click",params:{position:0,enter_from:"",enter_from_merge:"",tab_name:"",group_id:"",author_id:"",click_method:"hot_key",rate:-1,action:"",is_small_window:"0",small_window_scene:"",chapter_index:0,is_chapter_bar:0,vduration:0,before_rate:0,if_continued_play:"",before_position:0,player_display_mode:"",play_current_time:0}},chapterContentShow:{eventName:"chapter_content_show",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_num:0,is_with_video_summary:0,panel_has_chapter_summary:0,is_author:0}},chapterContentSlide:{eventName:"chapter_content_slide",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_num:0,is_with_video_summary:0,panel_has_chapter_summary:0,is_author:0}},chapterContentClick:{eventName:"chapter_content_click",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_num:0,is_with_video_summary:0,panel_has_chapter_summary:0,is_author:0,chapter_index_click:0,is_knowledge_point:0,chapter_knowledge_point:0,knowledge_index_click:0,button_name:""}},chapterContentExit:{eventName:"chapter_content_exit",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_num:0,is_with_video_summary:0,panel_has_chapter_summary:0,is_author:0,duration:0}},showChapterProgressBar:{eventName:"show_chapter_progress_bar",params:{enter_from_merge:"",enter_from:"",group_id:"",author_id:"",chapter_cnt:0,is_ting_window:0,player_display_mode:""}}})},687019:function(e,t,i){i.d(t,{Y:function(){return u},c:function(){return c}}),i(490629),i(527553);var n=i(350856),o=i.n(n),l=i(101199),r=i(499059),a=i(573031);let d=e=>e<=1440?22:e>=1920?26:.015277777777777777*e,s=()=>{let[e,t]=(0,l.useState)(()=>window.innerWidth);return(0,l.useEffect)(()=>{let e=o()(()=>{t(window.innerWidth)},100,{trailing:!0});return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e},u=(e,t)=>{var i;let n=(null==t?void 0:t.root)||(null===(i=window.player)||void 0===i?void 0:i.root);return Math.floor(((n&&parseInt(window.getComputedStyle(n,null).height,10)||800)-45-16)/e)},c=e=>{let t=s(),i=d(t),[n,o]=(0,l.useState)(()=>{let e=r.Le.getConfig(r.gI.AbtestData),t=r.Le.getConfig(r.gI.VideoRect);return a.H.baseOpt(e)&&(null==t?void 0:t.heightOrigin)?null==t?void 0:t.heightOrigin:500}),u=Math.floor((n-45-16)/i),c=t>=1920?1:2;return(0,l.useEffect)(()=>{let t=r.Le.getConfig(r.gI.AbtestData),i=r.Le.getConfig(r.gI.VideoRect);if(a.H.baseOpt(t)&&(null==i?void 0:i.heightOrigin)){o(null==i?void 0:i.heightOrigin);return}let n=window.setTimeout(()=>{var t;let i=(null==e?void 0:e.root)||(null===(t=window.player)||void 0===t?void 0:t.root);o(i&&parseInt(window.getComputedStyle(i,null).height,10)||800)},200);return()=>{window.clearTimeout(n)}},[]),{lineHeight:i,maxLine:u,videoLineCamp:c}}},10099:function(e,t,i){i.d(t,{A:function(){return o}});var n=i(386206);let o=e=>{let{count:t,displayWord:i}=e;return 0===Number(t)?i:(0,n.qe)(Number(t))}},27964:function(e,t,i){var n=i(624508);t.Z=new n.h({hover_related_video_icon:{eventName:"hover_related_video_icon",params:{enter_from:""}},h265DownInfo:{eventName:"h265_down_info",params:{type:""}},relatedVideoClick:{eventName:"related_video_click",params:{enter_from:"",enter_from_merge:"",group_id:"",author_id:0}},bottomBarShow:{eventName:"bottom_bar_show",params:{playlet_id:"",compilation_id:"",group_id:"",enter_from:"recommend",enter_from_merge:"",bar_type:"",entrance_cnt:0,is_update:0,item_duration_ms:0,bar_tag_name:"",player_display_mode:""}},bottomBarClick:{eventName:"bottom_bar_click",params:{playlet_id:"",compilation_id:"",group_id:"",enter_from:"recommend",enter_from_merge:"",bar_type:"",entrance_cnt:0,is_update:0,item_duration_ms:0,bar_tag_name:"",action:"open",player_display_mode:""}},videoSwitchUrl:{eventName:"video_switch_url",params:{aweme_id:"",vduration:0,current_position:0,vtype:"",buffer:0,is_visible:0,host:""}},refreshNoMatchVid:{eventName:"refresh_no_match_vid",params:{vid:""}}})},875784:function(e,t,i){var n=i(629686),o=i(402748),l=i(320165),r=i(101199);let a=(0,r.forwardRef)((e,t)=>(0,l.jsxs)("svg",(0,o._)((0,n._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,l.jsx)("rect",{x:5,y:6,width:8,height:2,rx:1,fill:"#fff",fillOpacity:".9"}),(0,l.jsx)("path",{d:"M5 12a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1z",fill:"#fff",fillOpacity:".9"}),(0,l.jsx)("rect",{x:5,y:16,width:7,height:2,rx:1,fill:"#fff",fillOpacity:".9"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.293 17.793a1 1 0 0 0 1.414 0l2.586-2.586c.63-.63.184-1.707-.707-1.707H18V7a1 1 0 1 0-2 0v6.5h-1.586c-.89 0-1.337 1.077-.707 1.707l2.586 2.586z",fill:"#fff",fillOpacity:".9"})]})));t.Z=a},423780:function(e,t,i){var n=i(629686),o=i(402748),l=i(320165),r=i(101199);let a=(0,r.forwardRef)((e,t)=>(0,l.jsxs)("svg",(0,o._)((0,n._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,l.jsx)("rect",{x:5,y:6,width:7,height:2,rx:1,fill:"#fff",fillOpacity:".9"}),(0,l.jsx)("path",{d:"M5 12a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1z",fill:"#fff",fillOpacity:".9"}),(0,l.jsx)("rect",{x:5,y:16,width:8.125,height:2,rx:1,fill:"#fff",fillOpacity:".9"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.707 6.207a1 1 0 0 0-1.414 0l-2.586 2.586c-.63.63-.184 1.707.707 1.707H16V17a1 1 0 1 0 2 0v-6.5h1.586c.89 0 1.337-1.077.707-1.707l-2.586-2.586z",fill:"#fff",fillOpacity:".9"})]})));t.Z=a},792076:function(e,t,i){var n=i(629686),o=i(402748),l=i(320165),r=i(101199);let a=(0,r.forwardRef)((e,t)=>(0,l.jsx)("svg",(0,o._)((0,n._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.476 6.22a1 1 0 0 0 0 1.561l2.4 1.92A1 1 0 0 0 9.5 8.918V8H14a4 4 0 0 1 4 4v1a1 1 0 1 0 2 0v-1a6 6 0 0 0-6-6H9.5v-.92a1 1 0 0 0-1.625-.78L5.476 6.22zm12.548 10l-2.4-1.92a1 1 0 0 0-1.624.78V16h-4a4 4 0 0 1-4-4v-1a1 1 0 1 0-2 0v1a6 6 0 0 0 6 6h4v.92a1 1 0 0 0 1.625.78l2.399-1.919a1 1 0 0 0 0-1.562z",fill:"#fff",fillOpacity:".9"})})));t.Z=a},151686:function(e,t,i){var n=i(629686),o=i(402748),l=i(320165),r=i(101199);let a=(0,r.forwardRef)((e,t)=>(0,l.jsxs)("svg",(0,o._)((0,n._)({width:18,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,l.jsx)("g",{filter:"url(#doc_svg__filter0_d_3897_350639)",children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.6 3.2a2.4 2.4 0 0 0-2.4 2.4v8.522a2.4 2.4 0 0 0 2.4 2.4h5.879a2.4 2.4 0 0 0 2.4-2.4V5.6a2.4 2.4 0 0 0-2.4-2.4H5.6zm.006 3.26a.6.6 0 0 1 .6-.6h4.667a.6.6 0 0 1 0 1.2H6.206a.6.6 0 0 1-.6-.6zm.6 2.2a.6.6 0 0 0 0 1.2h3a.6.6 0 0 0 0-1.2h-3z",fill:"#fff"})}),(0,l.jsx)("defs",{children:(0,l.jsxs)("filter",{id:"doc_svg__filter0_d_3897_350639",x:0,y:0,width:17.079,height:19.722,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,l.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,l.jsx)("feOffset",{}),(0,l.jsx)("feGaussianBlur",{stdDeviation:1.6}),(0,l.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,l.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),(0,l.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_3897_350639"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_3897_350639",result:"shape"})]})})]})));t.Z=a},960103:function(e,t,i){var n=i(629686),o=i(402748),l=i(320165),r=i(101199);let a=(0,r.forwardRef)((e,t)=>(0,l.jsxs)("svg",(0,o._)((0,n._)({width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,l.jsxs)("g",{filter:"url(#livephoto_svg__filter0_d_5004_10518)",fill:"#fff",clipPath:"url(#livephoto_svg__clip0_5004_10518)",children:[(0,l.jsx)("path",{d:"M6.438 11.25a.438.438 0 1 0-.876 0 .438.438 0 0 0 .875 0zM8.415 10.687a.437.437 0 1 0-.812.327.437.437 0 0 0 .812-.327zM4.162 10.448a.438.438 0 1 0-.342.805.438.438 0 0 0 .342-.805zM10.022 9.403a.438.438 0 1 0-.619.619.438.438 0 0 0 .619-.619zM2.597 9.403a.438.438 0 1 0-.619.619.438.438 0 0 0 .619-.619zM11.253 8.18a.438.438 0 1 0-.805-.342.438.438 0 0 0 .805.342zM1.552 7.838a.438.438 0 1 0-.805.342.438.438 0 0 0 .805-.342zM11.688 6a.438.438 0 1 0-.876 0 .438.438 0 0 0 .876 0zM1.188 6a.438.438 0 1 0-.876 0 .438.438 0 0 0 .875 0zM11.256 3.827a.437.437 0 1 0-.811.328.437.437 0 0 0 .811-.328zM1.32 3.588a.438.438 0 1 0-.341.806.438.438 0 0 0 .342-.806zM10.022 1.978a.438.438 0 1 0-.619.62.438.438 0 0 0 .619-.62zM2.597 1.978a.438.438 0 1 0-.619.62.438.438 0 0 0 .619-.62zM8.18.747a.437.437 0 1 0-.342.805.437.437 0 0 0 .342-.805zM4.397.986a.438.438 0 1 0-.812.328.438.438 0 0 0 .812-.328zM6.438.75a.438.438 0 1 0-.876 0 .438.438 0 0 0 .875 0z"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.14 6a1.86 1.86 0 1 1 3.72 0 1.86 1.86 0 0 1-3.72 0zM6 5.234a.766.766 0 1 0 0 1.532.766.766 0 0 0 0-1.532z"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.063 6a3.938 3.938 0 1 1 7.875 0 3.938 3.938 0 0 1-7.876 0zM6 2.937a3.063 3.063 0 1 0 0 6.126 3.063 3.063 0 0 0 0-6.126z"})]}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("filter",{id:"livephoto_svg__filter0_d_5004_10518",x:"-.688",y:"-.688",width:13.375,height:13.375,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,l.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,l.jsx)("feOffset",{}),(0,l.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,l.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,l.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"}),(0,l.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_5004_10518"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_5004_10518",result:"shape"})]}),(0,l.jsx)("clipPath",{id:"livephoto_svg__clip0_5004_10518",children:(0,l.jsx)("path",{fill:"#fff",d:"M0 0h12v12H0z"})})]})]})));t.Z=a},655109:function(e,t,i){var n=i(629686),o=i(402748),l=i(320165),r=i(101199);let a=(0,r.forwardRef)((e,t)=>(0,l.jsxs)("svg",(0,o._)((0,n._)({width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,l.jsx)("path",{d:"M.678 3.845a.778.778 0 0 1 0-1.367L4.662.22a1.707 1.707 0 0 1 1.676 0l3.984 2.258a.778.778 0 0 1 0 1.367L6.338 6.103a1.707 1.707 0 0 1-1.676 0L.678 3.845z",fill:"#fff"}),(0,l.jsx)("path",{d:"M.076 5.273a.562.562 0 0 1 .753-.188l4.112 2.331c.345.195.773.195 1.118 0l4.112-2.33a.562.562 0 0 1 .753.187.518.518 0 0 1-.195.724l-4.112 2.33c-.69.39-1.545.39-2.234 0L.27 5.997a.518.518 0 0 1-.195-.724z",fill:"#fff"}),(0,l.jsx)("path",{d:"M.83 7.465a.562.562 0 0 0-.754.187.518.518 0 0 0 .195.724l4.112 2.331c.69.39 1.545.39 2.234 0l4.112-2.33a.518.518 0 0 0 .195-.725.562.562 0 0 0-.753-.187l-4.112 2.33a1.138 1.138 0 0 1-1.118 0L.83 7.466z",fill:"#fff"})]})));t.Z=a},937173:function(e,t,i){var n=i(629686),o=i(402748),l=i(320165),r=i(101199);let a=(0,r.forwardRef)((e,t)=>(0,l.jsxs)("svg",(0,o._)((0,n._)({width:14,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,l.jsx)("g",{filter:"url(#series_svg__filter0_d_1599_82712)",children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.09 2.49l9.505 5.515A5.2 5.2 0 0 0 6.457 2h-3.58c-.344 0-.643.2-.787.49zm9.165 6.719L9.077 7.945l-6.95 4.033a.877.877 0 0 0 .75.422h3.58a5.201 5.201 0 0 0 4.798-3.191zM2 10.65l3.066-1.78V5.618L2 3.838v6.813z",fill:"#fff"})}),(0,l.jsx)("defs",{children:(0,l.jsxs)("filter",{id:"series_svg__filter0_d_1599_82712",x:1,y:1,width:11.657,height:12.4,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,l.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,l.jsx)("feOffset",{}),(0,l.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,l.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,l.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0"}),(0,l.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1599_82712"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1599_82712",result:"shape"})]})})]})));t.Z=a},857631:function(e){e.exports=JSON.parse('{"v":"5.6.10","fr":25,"ip":0,"op":24,"w":48,"h":48,"nm":"live_search","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,26.781,0],"ix":2},"a":{"a":0,"k":[0.625,2.781,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,8.531],[0.625,15]],"c":false}],"e":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,-8.969],[0.625,15]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":12,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,-8.969],[0.625,15]],"c":false}],"e":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,8.531],[0.625,15]],"c":false}]},{"t":24}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"形状 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":24,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[24,26.781,0],"ix":2},"a":{"a":0,"k":[0.625,2.781,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":-6,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,-8.969],[0.625,15]],"c":false}],"e":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,8.531],[0.625,15]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":6,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,8.531],[0.625,15]],"c":false}],"e":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,-8.969],[0.625,15]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":18,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,-8.969],[0.625,15]],"c":false}],"e":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,8.531],[0.625,15]],"c":false}]},{"t":30}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"形状 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-6,"op":25,"st":-6,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[12,26.781,0],"ix":2},"a":{"a":0,"k":[0.625,2.781,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,-8.969],[0.625,15]],"c":false}],"e":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,8.531],[0.625,15]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":12,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,8.531],[0.625,15]],"c":false}],"e":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.625,-8.969],[0.625,15]],"c":false}]},{"t":24}],"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"形状 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":24,"st":0,"bm":0}],"markers":[]}')}}]);