"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5172],{5545:(e,t,i)=>{i.d(t,{P:()=>d});var n=i(35626),o=i.n(n);const l="object"==typeof HTMLElement?function(e){return e instanceof HTMLElement}:function(e){return e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName},r=[],a=[];let s;function c(e,t){var i;let n;const{defaultView:o}=e.ownerDocument;let l=t;return(null==o?void 0:o.getComputedStyle)?(l=t.replace(/([A-Z])/g,"-$1").toLowerCase(),o.getComputedStyle(e,null).getPropertyValue(l)):e.currentStyle?(l=t.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()})),n=null===(i=e.currentStyle)||void 0===i?void 0:i[l],n):""}const d={bind:function(e,t){if(l(e))if("undefined"!=typeof ResizeObserver){const i=new ResizeObserver(t);i.observe(e),a.push({el:e,observer:i})}else{const i={el:e,callback:t,style:{width:c(e,"width"),height:c(e,"height")}};r.push(i),s||(s&&clearInterval(s),s=setInterval((function(){var e;for(const t of r){const i=t.el,n={width:c(i,"width"),height:c(i,"height")};o()(n,t.style)||(t.style={width:n.width,height:n.height},null===(e=t.callback)||void 0===e||e.call(t))}}),200))}},remove:function(e,t){if("undefined"==typeof ResizeObserver){for(let i=0;i{i.d(t,{$:()=>w});var n,o,l=i(24643),r=i(40099),a=i(93608);!function(e){e.None="0",e.Manual="1",e.Auto="2"}(n||(n={})),function(e){e.WebFyp="web_fyp",e.BrowserMode="browser",e.VideoDetail="video_detail",e.WebMobileFyp="web_mobile_fyp",e.MiniPlayer="mini_player"}(o||(o={}));var s=i(25616),c=i(88920),d=i(33805),p=i(62186),u=i(72153);const f=(0,p.default)("a",{target:"evbdqjo0"})({textWrap:"nowrap",textDecoration:"none",":hover":{textDecoration:"none"}},"label:AigcLink;"),g=(0,p.default)("p",{target:"evbdqjo1"})((({theme:e,theme:{colors:t}})=>[(0,u.zy)({theme:e,fontFamily:"TikTokFont",typography:"P3",color:"ConstTextInverse"}),{display:"inline-block",alignSelf:"flex-start",marginTop:"-4px",marginBottom:"8px",fontSize:"12px",fontWeight:500},{padding:"1px 3px",background:t.ConstBGMat,borderRadius:"2px",fontWeight:600,textShadow:"0 0 16px rgba(0, 0, 0, .34)"}]),"label:AigcTagMobile;"),h=(0,p.default)("p",{target:"evbdqjo2"})((({theme:e})=>[(0,u.zy)({theme:e,fontFamily:"TikTokFont",typography:"P3",color:"ConstTextInverse"}),{color:"#FFF",display:"inline-block",alignSelf:"flex-start",fontSize:"10px",fontWeight:500,padding:"1.5px 4px",background:"rgba(255, 255, 255, 0.34)",borderRadius:"4px",textShadow:"0 0 16px rgba(0, 0, 0, .34)"}]),"label:AigcTagMiniPlayer;");var b=i(48615),m=i(49057),x=i(75282);const v=0,y=1,_=2,k={[y]:{teaLabelType:"1",i18nKey:"syntheticMedia_feed_bottomBanner_AIGCLabel"},[_]:{teaLabelType:"2",i18nKey:"AIGC_FYP_descSection_label"},[v]:{teaLabelType:"0",i18nKey:""}},w=(0,r.memo)((function({item:e,playMode:t,isMiniPlayer:i=!1}){var n,o,p;const u=(0,s.s)(),v=Number(null!==(n=e.aigcLabelType)&&void 0!==n?n:0),y=k[v].i18nKey,_=k[v].teaLabelType,w=(0,c.q)(),T=0!==v&&w,{language:S="",region:C=""}=null!==(o=(0,m.W)((()=>["language","region"]),[]))&&void 0!==o?o:{},{isMobile:B}=null!==(p=(0,b.U)((()=>["isMobile"]),[]))&&void 0!==p?p:{},M=(0,r.useMemo)((()=>B?"web_mobile_fyp":i?"mini_player":2===t?"browser":4===t?"video_detail":"web_fyp"),[t,B]),j=(0,r.useMemo)((()=>({aigc_label_type:_,enter_from:M,country_code:C})),[M,_,C]),P=(0,d.sN)(M,S),L=(0,r.useCallback)((()=>{var e;e=j,a.f.sendEvent("click_creator_label_aigc",e)}),[j]),O=(0,r.useCallback)((e=>B?(0,l.jsx)(g,{children:e}):i?(0,l.jsxs)(h,{children:[" ",e]}):(0,l.jsx)(x.ZN,{shouldOptProfile:!0,playMode:t,isTag:!0,children:e})),[B,i,t]);return(0,r.useEffect)((()=>{var e;T&&(e=j,a.f.sendEvent("view_creator_label_aigc",e))}),[T,j]),T?(0,l.jsx)(f,{target:"_blank",href:P,onClick:L,children:O(u(y))}):null}))},75282:(e,t,i)=>{i.d(t,{M8:()=>d,OT:()=>c,VD:()=>p,ZN:()=>f,mz:()=>s,nt:()=>u});var n=i(62186),o=i(72153);const l={0:"4px",2:"8px",4:"12px"},r={0:"0px",2:"-2px",4:"-6px"},a={0:"2px",2:"8px",4:"8px"},s=(0,n.default)("div",{target:"e1sksq2r0"})({display:"flex",columnGap:"6px",rowGap:"2px",flexWrap:"wrap",marginLeft:"-2px"},"label:DivAnchorTagWrapper;"),c=(0,n.default)("div",{target:"e1sksq2r1"})((({theme:{colors:e}})=>({height:"41px",display:"flex",alignItems:"center",":hover":{background:e.BGView}})),"label:DivToolTipWrapper;"),d=(0,n.default)("span",{target:"e1sksq2r2"})((({theme:{colors:e}})=>({borderLeft:"0.5px solid green",height:"12px",marginLeft:"4px",marginRight:"4px",alignSelf:"center",borderColor:e.LineSecondary})),"label:SpanDivider;"),p=(0,n.default)("span",{target:"e1sksq2r3"})({width:"19px",display:"flex",alignItems:"center"},"label:SpanNum;"),u=(0,n.default)("p",{target:"e1sksq2r4"})((({isInTooltip:e,theme:{direction:t}})=>[{fontSize:"13px",fontWeight:400,"&:hover":{textDecoration:"underline"}},o.PR,e&&{fontSize:"14px",whiteSpace:"normal"},(0,o.mp)({direction:t,marginStart:"8px"})]),"label:PAnchorTagName;"),f=(0,n.default)("div",{target:"e1sksq2r5"})((({isTag:e,isInTooltip:t,shouldOptProfile:i,playMode:n=0,theme:{colors:o}})=>[{height:"24px",marginTop:l[n],marginBottom:r[n],minWidth:0},i&&[{height:"22px",padding:"1px 6px 1px 4px",background:t?"":o.BGView,display:"inline-flex",borderRadius:"4px",alignItems:"center",color:o.TextPrimary,marginTop:a[n]},t&&{marginTop:0,marginBottom:0},e&&{color:o.TextTertiaryAlt}]]),"label:DivAnchorTag;")},8513:(e,t,i)=>{i.d(t,{k:()=>x});var n=i(24643),o=i(40099),l=i(25616),r=i(58305),a=i(5545),s=i(88920),c=i(45297),d=i(62186),p=i(72153);const u=(0,d.default)("div",{target:"e1mzilcj0"})((({paddingBottom:e})=>({display:"flex",width:"100%",overflow:"hidden",position:"relative",paddingBottom:e})),"label:DivWrapper;"),f=(0,d.default)("div",{target:"e1mzilcj1"})((({shouldShow3Dot:e,shouldDesOnlyShow2Lines:t,isUnfold:i,lineClamp:n,lineHeight:o,marginTop:l,theme:{colors:r}})=>[{width:"100%",overflow:"hidden",textOverflow:"ellipsis",display:e?"-webkit-box":"box",WebkitLineClamp:n,WebkitBoxOrient:"vertical",span:{display:"inline"},"*":{fill:r.Primary2},":before":{content:'""',height:`calc(100% - ${o}px)`,float:"right",width:0,marginTop:`${l}px`}},!i&&t&&{br:{display:"none"}}]),"label:DivText;"),g=(0,d.default)("button",{target:"e1mzilcj2"})((({theme:e})=>[(0,p.zy)({theme:e,typography:"P2",fontWeight:"semiBold",color:"TextPrimary"}),{border:"none",outline:"none",background:"none",cursor:"pointer"}]),"label:ButtonExpand;"),h=(0,d.default)(g,{target:"e1mzilcj3"})((({bottomBtnLeftOffset:e,isRightSide:t,theme:{direction:i},shouldAdjustLeftBtn:n})=>[(0,p.mp)({direction:i,end:t?e:"",start:t?"":e}),{position:"absolute",bottom:n?16:0}]),"label:StyledButtonBottom;"),b=(0,d.default)("div",{target:"e1mzilcj4"})((({moreBtnBottom:e,isMobileUiOptimize:t,btnShow:i,lineHeight:n,theme:{direction:o}})=>[{float:"rtl"===o?"left":"right",clear:"both",cursor:"pointer",display:i?"flex":"none",alignItems:"center",lineHeight:`${n}px`},t&&{position:"relative",bottom:e}]),"label:DivBtnWrapper;"),m=(0,d.default)("div",{target:"e1mzilcj5"})((({isUnfold:e,maxHeight:t})=>e?{overflowY:"auto",maxHeight:t,scrollbarWidth:"none","::-webkit-scrollbar":{width:4}}:{}),"label:DivOverflowContainer;"),x=(0,o.memo)((({children:e,lineClamp:t=2,overflowLineNum:i=0,onlyKey:d="",maxLine:p=999,btnOnClick:x,lineHeight:v=21,fontSize:y,showExpandButton:_=!0,btnStyle:k,expandBtnText:w,isMobile:T=!1,forceRightSide:S=!1,isCtaClick:C=!1,ctaTrigger:B,showTranslation:M})=>{const{isMobileUiOptimize:j}=(0,s.Eo)(),P=(0,l.s)(),L=(0,o.useRef)(null),O=(0,o.useRef)(null),[z,D]=(0,o.useState)(!1),[A,W]=(0,o.useState)(!1),[E,I]=(0,o.useState)(!1),[F,H]=(0,o.useState)(t),[R,N]=(0,o.useState)("unset"),[U,q]=(0,o.useState)(!1),G=(0,o.useMemo)((()=>y?(v-y)/2:0),[y,v]),V=P(A?"pc_web_less_btn":"pc_web_more_btn");let K=v*i+"px";j&&(K="42vh");const $=null!=w?w:V,Z={shouldShow3Dot:!T&&E};let Y=T?"26px":"55px";A||(Y="unset");const J=T?"0":"-4px";let Q="3px";T||(Q=Z.shouldShow3Dot?"1px":"6px");const X=(0,o.useCallback)((()=>{setTimeout((()=>{var e,i,n,o,l,r,a;if(null==L?void 0:L.current)if(A)N("unset"),(null!==(l=null===(o=O.current)||void 0===o?void 0:o.scrollHeight)&&void 0!==l?l:0)>(null!==(a=null===(r=O.current)||void 0===r?void 0:r.clientHeight)&&void 0!==a?a:0)&&q(!0);else{const o=null!==(e=L.current.scrollHeight)&&void 0!==e?e:0,l=null!==(i=L.current.clientHeight)&&void 0!==i?i:0,r=null!==(n=L.current.offsetHeight)&&void 0!==n?n:0;q(!1);const a=o-l>15||o>=v*t+15||r>=v*t+15;D(a),a&&N(t*v+2+"px")}}),0)}),[A,v,t]),ee=(0,o.useCallback)((e=>{C&&B&&(e.stopPropagation(),e.preventDefault(),B())}),[C,B]),te=(0,o.useCallback)((e=>{(0,r.Gu)(e),H((e=>e===t?p:t)),C||W((e=>!e)),x&&x(A)}),[x,A,t,p,C]);return(0,o.useEffect)((()=>(L.current&&a.P.bind(L.current,X),()=>{L.current&&a.P.remove(L.current,X)})),[X]),(0,o.useEffect)((()=>{X()}),[M,X]),(0,o.useEffect)((()=>{W(!1),H(t),D(!1),X()}),[d]),(0,o.useEffect)((()=>{(0,r.nr)()||I(!0)}),[]),(0,n.jsxs)(u,{paddingBottom:Y,children:[(0,n.jsxs)(f,Object.assign({isUnfold:A,ref:L,lineClamp:F,lineHeight:v,marginTop:G,style:{maxHeight:R}},Z,{shouldDesOnlyShow2Lines:!T,children:[(0,n.jsx)(b,{btnShow:z,lineHeight:v,isMobileUiOptimize:j,moreBtnBottom:Q,children:_&&!A&&(0,n.jsx)(g,{style:k,type:"button",onClick:te,children:$})}),i>0?(0,n.jsx)(m,{lineClamp:t,ref:O,isUnfold:A,maxHeight:K,isMobileUiOptimize:j,className:A&&j&&U?c.dj:"",onClick:ee,children:e}):e]})),A&&(0,n.jsx)(h,{style:k,type:"button",onClick:te,isRightSide:T&&j||S,shouldAdjustLeftBtn:!T,bottomBtnLeftOffset:J,children:$})]})}))},22485:(e,t,i)=>{i.d(t,{P:()=>x});var n=i(24643),o=i(40099),l=i(47172),r=i(93608);var a=i(82535),s=i(25616),c=i(72688),d=i(49057),p=i(34131),u=i(31355),f=i(48615),g=i(75282),h=i(62186),b=i(72153);const m=(0,h.default)("p",{target:"ejymp3n0"})((({theme:e,theme:{colors:t},isMobile:i,isMiniPlayer:n})=>i?[(0,b.zy)({theme:e,fontFamily:"TikTokFont",typography:"P3"}),{display:"inline-block",alignSelf:"flex-start",marginTop:"-4px",marginBottom:"8px",fontSize:"15px",fontWeight:400},{padding:"1px 5px",background:"rgba(255, 255, 255, 0.34)",borderRadius:"2px",fontWeight:600,textShadow:"0 0 16px rgba(0, 0, 0, .34)"}]:n?[(0,b.zy)({theme:e,fontFamily:"TikTokFont",typography:"P3"}),{color:"#FFF",display:"inline-block",alignSelf:"flex-start",fontSize:"10px",fontWeight:500,padding:"1.5px 4px",background:"rgba(255, 255, 255, 0.34)",borderRadius:"4px",textShadow:"0 0 16px rgba(0, 0, 0, .34)"}]:[(0,b.zy)({theme:e,fontFamily:"TikTokFont",typography:"P2"}),{display:"inline-block",alignSelf:"flex-start",marginTop:"8px",marginBottom:"unset",fontSize:"16px",padding:"1px 4px",background:t.BGPlaceholderDefault,borderRadius:"2px",color:t.TextTertiaryAlt,fontWeight:600}]),"label:PPaidPartnership;"),x=(0,o.memo)((function({item:e,style:t,target:i="_self",isSharing:h=!1,playMode:b,isMiniPlayer:x=!1}){var v,y,_;const k=(0,s.s)(),{region:w=""}=null!==(v=(0,d.W)((()=>["region"]),[]))&&void 0!==v?v:{},{id:T,authorId:S,BAInfo:C,adLabelVersion:B,brandOrganicType:M=0,isECVideo:j}=e,P=C&&!h,L=2===B,O=Number(M)>0,{isMobile:z}=null!==(y=(0,f.U)((()=>["isMobile"]),[]))&&void 0!==y?y:{},D=(0,o.useCallback)((()=>{var e;e={group_id:null!=T?T:"",author_id:null!=S?S:"",partnership_tag:null!=C?C:""},r.f.sendEvent("click_partnership_tag",e),a.q.handleEnterUser({to_user_name:null!=C?C:"",enter_method:"click_partnership_tag"})}),[T,S,C]),A=!z&&!x,W=(0,l.useLocation)(),E=(0,p.F)({to:{pathname:(0,c.fJR)({uniqueId:null!==(_=null==e?void 0:e.BAInfo)&&void 0!==_?_:""})},location:W}),I=(0,o.useMemo)((()=>{if(L&&j){if("US"===w)return"bc_disclosure_tag_ecommerce_us";if("GB"===w)return"bc_disclosure_tag_ecommerce_uk"}return L?"bc_new_disclosure":"tcm_closedLoop_commercialContent_brandOrganic_videoTag"}),[L,j,w]),F=(0,o.useCallback)((e=>A?(0,n.jsx)(g.ZN,{shouldOptProfile:A,playMode:b,isTag:!0,children:e}):(0,n.jsx)(m,{isMobile:z,isMiniPlayer:x,style:t,children:e})),[z,x,b,A,t]);if(L&&j&&"US"!==w&&"GB"!==w)return null;if(L&&P){const e=`${k(I)} @${C}`;return(0,n.jsx)(u.N_,{target:i,rel:"opener",to:E,onClick:D,style:{textDecoration:"none",color:"inherit"},children:F(e)})}return L&&!P||O?F(k(I)):null}))},77976:(e,t,i)=>{i.d(t,{w:()=>s});var n=i(58632),o=i(24643),l=i(40099),r=i(93608);const a=l.memo;function s(e){return a((function(t){const{etClick:i,etImpression:a}=t,s=(0,n.__rest)(t,["etClick","etImpression"]);let c=(0,l.useRef)(null),d=!1;"ref"in t&&(d=!0,c=t.ref);const p=(0,l.useRef)();if((0,l.useEffect)((()=>{if(!a)return;const{etName:e,etParams:t,etValidate:i=!0,threshold:n,unobserveAfterIntersect:o,skip:l}=a;if(l)return;const s=n=>{var l;n[0].isIntersecting&&(r.f.sendEvent(e,t,!0,i),o&&(null===(l=p.current)||void 0===l||l.unobserve(n[0].target)))};try{const e={rootMargin:"0px",threshold:n};p.current=new IntersectionObserver(s,e),c.current&&p.current&&p.current.observe(c.current)}catch(e){console.error(e)}return()=>{var e;null===(e=p.current)||void 0===e||e.disconnect()}}),[a]),!i)return(0,o.jsx)(e,Object.assign({ref:d||a?c:void 0},t));const u=s,{etName:f,etParams:g,etValidate:h=!0}=i,b=()=>r.f.sendEvent(f,g,!0,h);if(delete u.etClick,"onClick"in s){const e=s.onClick;u.onClick=t=>(0,n.__awaiter)(this,void 0,void 0,(function*(){e(t),yield b()}))}else u.onClick=()=>(0,n.__awaiter)(this,void 0,void 0,(function*(){return yield b()}));return(0,o.jsx)(e,Object.assign({ref:d||a?c:void 0},u))}))}}}]);