(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[34],{1281:function(e,t,r){"use strict";r.r(t);r(21),r(17),r(20),r(39),r(12),r(49);var i=r(2),a=r.n(i),n=r(5),o=r.n(n),l=(r(11),r(7),r(16),r(15),r(90),r(10),r(30),r(387),r(34)),s=r(3),c=r(0),d=r.n(c),p=r(1436),u=r(315),f=r(236),m=r(27),b=r(32),h=r(1440),g=r(1),y=function(){return Object(g.jsxs)("svg",{width:"61",height:"14",viewBox:"0 0 61 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-e2e":"assets-tiktok_logo_no_motif-svg",children:[Object(g.jsx)("path",{d:"M0 0.0302734H8.89722L8.08174 2.57888H5.77377V11.9995H2.8965V2.57888L0.00384685 2.58273L0 0.0302734Z",fill:"black","data-e2e":"assets-tiktok_logo_no_motif-path"}),Object(g.jsx)("path",{d:"M23.4766 0.0307617H32.5815L31.766 2.57937H29.2542V12H26.3731V2.57937L23.4804 2.58322L23.4766 0.0307617Z",fill:"black","data-e2e":"assets-tiktok_logo_no_motif-path-2"}),Object(g.jsx)("path",{d:"M9.44336 3.83838H12.2937V12.0001H9.45874L9.44336 3.83838Z",fill:"black","data-e2e":"assets-tiktok_logo_no_motif-path-3"}),Object(g.jsx)("path",{d:"M13.4277 0H16.278V5.57459L19.1014 2.79885H22.5018L18.9283 6.26757L22.9288 12H19.79L17.1204 8.02695L16.2742 8.84697V12H13.4238V0H13.4277Z",fill:"black","data-e2e":"assets-tiktok_logo_no_motif-path-4"}),Object(g.jsx)("path",{d:"M43.623 0H46.4734V5.57459L49.2968 2.79885H52.6972L49.1237 6.26757L53.1242 12H49.9892L47.3196 8.02695L46.4734 8.84697V12H43.623V0Z",fill:"black","data-e2e":"assets-tiktok_logo_no_motif-path-5"}),Object(g.jsx)("path",{d:"M10.8664 2.90666C11.6588 2.90666 12.3012 2.26374 12.3012 1.47066C12.3012 0.677585 11.6588 0.034668 10.8664 0.034668C10.074 0.034668 9.43164 0.677585 9.43164 1.47066C9.43164 2.26374 10.074 2.90666 10.8664 2.90666Z",fill:"black","data-e2e":"assets-tiktok_logo_no_motif-path-6"}),Object(g.jsx)("path",{d:"M32.216 7.11447C32.216 4.54662 34.197 2.44075 36.7165 2.2444C36.5896 2.23285 36.4165 2.229 36.2896 2.229C33.5931 2.229 31.4082 4.41572 31.4082 7.11447C31.4082 9.81322 33.5931 11.9999 36.2896 11.9999C36.4165 11.9999 36.5896 11.9922 36.7165 11.9845C34.2008 11.7882 32.216 9.68232 32.216 7.11447Z",fill:"#25F4EE","data-e2e":"assets-tiktok_logo_no_motif-path-7"}),Object(g.jsx)("path",{d:"M37.8234 2.229C37.6926 2.229 37.5195 2.2367 37.3926 2.2444C39.9083 2.44075 41.8893 4.54662 41.8893 7.11447C41.8893 9.68232 39.9083 11.7882 37.3926 11.9845C37.5195 11.9961 37.6926 11.9999 37.8234 11.9999C40.5199 11.9999 42.7048 9.81322 42.7048 7.11447C42.7048 4.41572 40.5199 2.229 37.8234 2.229Z",fill:"#FE2C55","data-e2e":"assets-tiktok_logo_no_motif-path-8"}),Object(g.jsx)("path",{d:"M37.0552 9.48983C35.7435 9.48983 34.6818 8.42727 34.6818 7.11447C34.6818 5.80167 35.7435 4.73911 37.0552 4.73911C38.3669 4.73911 39.4285 5.80167 39.4285 7.11447C39.4285 8.42727 38.363 9.48983 37.0552 9.48983ZM37.0552 2.229C34.3587 2.229 32.1738 4.41572 32.1738 7.11447C32.1738 9.81322 34.3587 11.9999 37.0552 11.9999C39.7517 11.9999 41.9365 9.81322 41.9365 7.11447C41.9365 4.41572 39.7517 2.229 37.0552 2.229Z",fill:"black","data-e2e":"assets-tiktok_logo_no_motif-path-9"})]})},j=r(1441);var x=Object(s.styled)("div",{target:"et5xzmi3"})({name:"1editg",styles:"display:flex;justify-content:space-between;align-items:center;flex-direction:row;padding-inline-start:24px;padding-inline-end:24px;@media (max-width: 343px){padding-inline-start:16px;padding-inline-end:16px;}"}),v=Object(s.styled)("div",{target:"et5xzmi2"})({name:"1e17bzi",styles:"display:flex;align-items:flex-start;flex-direction:column"}),O=Object(s.styled)("div",{target:"et5xzmi1"})({name:"1ml9tbj",styles:"padding-bottom:2px"}),w=Object(s.styled)("a",{target:"et5xzmi0"})({name:"opde7s",styles:"color:inherit"}),T=function(e){var t=e.isMobileView,r=e.target,i=e.strategy,a=e.id,n=e.referrer,o=e.refer,l=e.gd_label,s=e.pid,c=e.buttonHref,d=e.buttonTeaTarget,p=e.fallbackUrlParams,u=e.jumpStartHandler,f=e.jumpFailHandler,T=e.onClick;return Object(g.jsxs)(x,{"data-e2e":"common-cardFooter-BottomContent",children:[Object(g.jsxs)(v,{"data-e2e":"common-cardFooter-LogoWithPrivacyPolicy",children:[Object(g.jsx)(O,{"data-e2e":"common-cardFooter-LogoWrapper",children:Object(g.jsx)(y,{"data-e2e":"common-cardFooter-TikTokLogoNoMotif"})}),Object(g.jsxs)(b.m,{inline:!0,color:"TextTertiary",type:"P5-Regular","data-e2e":"common-cardFooter-TUXText",children:["".concat(m.b.t("View")," "),Object(g.jsx)(w,{href:"https://www.tiktok.com/legal/privacy-policy",target:"_blank","data-e2e":"common-cardFooter-PrivacyPolicyLink",children:m.b.t("embed_profile_card_desc_privacy_policy")})]})]}),Object(g.jsx)(h.a,{refer:o,referrer_url:n,target:r,gd_label:l,id:a,useSmartWrapper:t&&i,pid:s,teaTarget:d,linkOnClickHandler:T,jumpStartHandler:u,jumpHook:function(e){return Object(j.a)(e)},jumpFailHandler:function(){f()},fallbackURLParams:p,redirectLink:c,extensionStyle:{textDecoration:"none !important"},"data-e2e":"common-cardFooter-SmartWrapperExtension",children:Object(g.jsx)(b.c,{variant:"primary",size:"medium",label:m.b.t("embed_profile_card_btn"),"data-e2e":"common-cardFooter-TUXButton"})},a)]})},k=r(1108),_=(r(22),r(148),r(136)),C=r(28),E=r(310),P=r(1447),S=r(1448),L=r.n(S),I=r(1468),R=r(86),V=r(1455);var H=L()()(P.a),U=function(e){var t,r,i=e.children,a=e.userInfo,n=e.isMobileView,o=e.strategy,l=e.referrer,s=e.teaConfig,c=e.globalQueryParams,d=null!==(t=a.uniqueId)&&void 0!==t?t:"";return Object(g.jsx)(h.a,{target:_.b.USER_WRAPPER,refer:C.j.Creator,referrer_url:l,redirectLink:Object(E.e)({uniqueId:d,globalQueryParams:c}),gd_label:C.a.User,id:null!==(r=a.id)&&void 0!==r?r:"",useSmartWrapper:n&&o,pid:C.h.Creator,teaTarget:s.target,linkOnClickHandler:function(){Object(f.g)(R.a.EVENTS.TAP,s)},jumpStartHandler:function(){Object(f.g)(R.a.EVENTS.TAP,s),Object(f.f)(C.c.Creator)},jumpFailHandler:function(){return Object(f.e)(C.c.Creator)},jumpHook:function(e){return Object(j.a)(e)},fallbackURLParams:{uniqueId:d,type:C.c.Creator},"data-e2e":"creator-profile-userInfo-SmartWrapperExtension",children:i},a.id)},W=Object(s.connect)((function(e){var t=e.isMobileView,r=e.strategy,i=e.referrer,a=e.teaConfig,n=Object(s.useConnect)().state,o=n.source.get(n.router.link).userInfo,l=void 0===o?{id:""}:o,c=l.avatarThumbUrl,d=l.followerCount,p=l.followingCount,f=l.heartCount,h=l.signature,y=l.uniqueId,j=l.verified,x=l.stateControlledMedia,v=n.theme.globalParams,O=R.a.TARGETS.PLAYLIST_HEADER;return Object(g.jsxs)(B,{"data-e2e":"creator-profile-userInfo-UserInfoWrapper",children:[Object(g.jsxs)(F,{"data-e2e":"creator-profile-userInfo-UserTitleWrapper",children:[Object(g.jsx)("div",{"data-e2e":"creator-profile-userInfo-div",children:Object(g.jsx)(U,{isMobileView:t,userInfo:l,strategy:r,referrer:i,teaConfig:a(O),globalQueryParams:v(O),"data-e2e":"creator-profile-userInfo-UserSmartWrapper",children:Object(g.jsx)(z,{src:c,alt:"","data-e2e":"creator-profile-userInfo-Avatar"})})}),Object(g.jsxs)(A,{"data-e2e":"creator-profile-userInfo-UserContentWrapper",children:[Object(g.jsx)(G,{"data-e2e":"creator-profile-userInfo-UsernameContent",children:Object(g.jsx)(U,{isMobileView:t,userInfo:l,strategy:r,referrer:i,teaConfig:a(O),globalQueryParams:v(O),"data-e2e":"creator-profile-userInfo-UserSmartWrapper",children:Object(g.jsxs)(b.m,{inline:!0,color:"TextPrimary",type:"H7","data-e2e":"creator-profile-userInfo-TUXText",children:[y," ",j&&Object(g.jsx)(I.a,{width:12,height:12,style:{display:"inline"},"data-e2e":"creator-profile-userInfo-VerifiedBadgeColor"})]})})}),x&&Object(g.jsx)("div",{style:{marginTop:"9px"},"data-e2e":"creator-profile-userInfo-div",children:Object(g.jsx)(V.a,{scmUrl:x.Url,scmText:x.Text,"data-e2e":"creator-profile-userInfo-ScmLabel"})}),Object(g.jsxs)(M,{"data-e2e":"creator-profile-userInfo-NumberWrapper",children:[Object(g.jsxs)(N,{"data-e2e":"creator-profile-userInfo-NumberContainer",children:[Object(g.jsx)(U,{isMobileView:t,userInfo:l,strategy:r,referrer:i,teaConfig:a(O),globalQueryParams:v(O),"data-e2e":"creator-profile-userInfo-UserSmartWrapper",children:Object(g.jsx)(b.m,{inline:!0,color:"TextPrimary",type:"P3-Semibold","data-e2e":"creator-profile-userInfo-TUXText",children:p?Object(u.a)(p):"--"})}),Object(g.jsx)(b.m,{inline:!0,color:"TextTertiary",type:"P5-Regular","data-e2e":"creator-profile-userInfo-TUXText-17",children:Object(g.jsx)("span",{"data-e2e":"creator-profile-userInfo-span",children:m.b.t("Following")})})]}),Object(g.jsxs)(N,{"data-e2e":"creator-profile-userInfo-NumberContainer",children:[Object(g.jsx)(U,{isMobileView:t,userInfo:l,strategy:r,referrer:i,teaConfig:a(O),globalQueryParams:v(O),"data-e2e":"creator-profile-userInfo-UserSmartWrapper",children:Object(g.jsx)(b.m,{inline:!0,color:"TextPrimary",type:"P3-Semibold","data-e2e":"creator-profile-userInfo-TUXText",children:d?Object(u.a)(d):"--"})}),Object(g.jsx)(b.m,{inline:!0,color:"TextTertiary",type:"P5-Regular","data-e2e":"creator-profile-userInfo-TUXText-22",children:Object(g.jsx)("span",{"data-e2e":"creator-profile-userInfo-span",children:m.b.t("Followers")})})]}),Object(g.jsxs)(N,{"data-e2e":"creator-profile-userInfo-NumberContainer",children:[Object(g.jsx)(U,{isMobileView:t,userInfo:l,strategy:r,referrer:i,teaConfig:a(O),globalQueryParams:v(O),"data-e2e":"creator-profile-userInfo-UserSmartWrapper",children:Object(g.jsx)(b.m,{inline:!0,color:"TextPrimary",type:"P3-Semibold","data-e2e":"creator-profile-userInfo-TUXText",children:f?Object(u.a)(f):"--"})}),Object(g.jsx)(b.m,{inline:!0,color:"TextTertiary",type:"P5-Regular","data-e2e":"creator-profile-userInfo-TUXText-27",children:Object(g.jsx)("span",{"data-e2e":"creator-profile-userInfo-span",children:m.b.t("Likes")})})]})]})]})]}),Object(g.jsx)(D,{"data-e2e":"creator-profile-userInfo-UserSignature",children:Object(g.jsx)(U,{isMobileView:t,userInfo:l,strategy:r,referrer:i,teaConfig:a(O),globalQueryParams:v(O),"data-e2e":"creator-profile-userInfo-UserSmartWrapper",children:Object(g.jsx)(b.m,{inline:!0,color:"TextSecondary",type:"P4-Regular","data-e2e":"creator-profile-userInfo-TUXText",children:Object(g.jsx)(H,{text:h,maxLine:"2",ellipsis:"... ".concat(m.b.t("embed_profile_card_see_more")),trimRight:!0,basedOn:"letters","data-e2e":"creator-profile-userInfo-ResponsiveEllipsis"})})})})]})})),A=Object(s.styled)("div",{target:"e1t4yuci7"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"}),M=Object(s.styled)("span",{target:"e1t4yuci6"})({name:"1bhqvxw",styles:"display:flex;align-items:center;margin-top:12px;a:hover,a:visited,a:link,a:active{color:inherit;}"}),N=Object(s.styled)("div",{target:"e1t4yuci5"})({name:"1yp1dsk",styles:"display:flex;text-decoration:none;flex-direction:column;align-items:baseline;margin-inline-end:24px;@media (max-width: 450px){margin-inline-end:12px;}"}),D=Object(s.styled)("span",{target:"e1t4yuci4"})({name:"185tbk7",styles:"text-align:start;white-space:pre-line;margin-top:6px;text-overflow:ellipsis;max-height:44px;display:block;overflow:hidden;flex:1;min-width:0;.LinesEllipsis-ellipsis{font-weight:bold;}a:hover,a:visited,a:link,a:active{text-decoration:none;}"}),z=Object(s.styled)("img",{target:"e1t4yuci3"})({name:"d6gv80",styles:"background-color:#f8f8f8;background-image:linear-gradient(90deg, rgb(22 24 35 / 0%) 0%, rgb(22 24 35 / 4%) 50%, rgb(22 24 35 / 0%) 100%);background-size:200% 100%;background-repeat:no-repeat;border-radius:100%;flex:0 0 96px;width:96px;height:96px;margin-inline-end:32px;@media (max-width: 414px){flex:0 0 80px;width:80px;height:80px;margin-inline-end:16px;}@media (max-width: 368px){flex:0 0 48px;width:48px;height:48px;margin-inline-end:12px;}"}),B=Object(s.styled)("div",{target:"e1t4yuci2"})({name:"1nym73d",styles:"position:relative;flex:0 0 auto;margin-bottom:12px;box-sizing:border-box;margin-inline-end:24px;padding-inline-start:24px;margin-top:24px;max-width:100%;min-width:288px;@media (max-width: 414px){margin-inline-end:16px;padding-inline-start:16px;margin-top:16px;}a:hover,a:visited,a:link,a:active{color:inherit;}"}),F=Object(s.styled)("div",{target:"e1t4yuci1"})("display:flex;flex-direction:row;align-items:",(function(e){return e.top?"flex-start":"center"}),";@media (max-width: 356px){align-items:start;}"),G=Object(s.styled)("span",{target:"e1t4yuci0"})({name:"enucrm",styles:"text-align:start;flex:1;overflow:hidden;text-overflow:ellipsis"}),q=function(e){var t,r=e.children,i=e.id,a=e.endpoint,n=e.isMobileView,o=e.strategy,l=e.referrer,c=e.teaConfig,d=e.playlistType,p=e.fallbackURLParams,m=Object(s.useConnect)().state,b=Object(u.h)(d,m.theme.globalParams,null!==(t=null!=a?a:i)&&void 0!==t?t:""),y=b.gdLabel,x=b.href,v=b.target,O=b.refer,w=b.pid,T=Object(u.i)(d),k=Object(u.g)(d);return Object(g.jsx)(h.a,{refer:O,referrer_url:l,redirectLink:x(c.target),target:v,gd_label:y,id:i,jumpStartHandler:function(){Object(f.g)(T.EVENTS.TAP,c),Object(f.f)(k)},jumpHook:function(e){return Object(j.a)(e)},useSmartWrapper:n&&o,pid:w,teaTarget:c.target,fallbackURLParams:p,linkOnClickHandler:function(){return Object(f.g)(T.EVENTS.TAP,c)},"data-e2e":"playlist-playlistInfo-SmartWrapperExtension",children:r},i)};q.defaultProps={fallbackURLParams:void 0};var X=Object(s.connect)(q),Z=r(304),Q=r(1469),Y=r.n(Q),$=r(1470),J=r.n($);var K=function(e){e.stopPropagation()},ee=Object(s.styled)("div",{target:"e7bdfsk8"})({name:"1urif3j",styles:"position:absolute;z-index:2;height:100%;width:172px;display:flex;align-items:center"}),te=Object(s.styled)("div",{target:"e7bdfsk7"})({name:"19e7eq7",styles:"font-size:1.4rem;line-height:2rem;color:#fff;max-width:224px;text-align:center"}),re=Object(s.styled)("img",{target:"e7bdfsk6"})({name:"1jnkqrx",styles:"margin-right:6px;height:14px"}),ie=Object(s.styled)("img",{target:"e7bdfsk5"})({name:"o06uo5",styles:"pointer-events:none;margin-right:6px;height:18px"}),ae=Object(s.styled)("div",{target:"e7bdfsk4"})({name:"loqmlh",styles:"display:flex;justify-content:center;align-items:center;html[dir='rtl'] &{flex-direction:row-reverse;}"}),ne=Object(s.styled)("div",{target:"e7bdfsk3"})({name:"1dw7ik1",styles:"line-height:1.5rem"}),oe=Object(s.styled)("div",{target:"e7bdfsk2"})({name:"104whxr",styles:"position:absolute;display:flex;width:inherit;height:20px;color:white;z-index:2;bottom:8px;padding-left:14px;padding-right:14px;margin-bottom:10px;justify-content:space-between"}),le=Object(s.styled)("div",{target:"e7bdfsk1"})({name:"18j7wtn",styles:"height:228px;width:172px;margin-bottom:8px;@media (max-width: 374px){height:160px;width:120px;}"}),se=Object(s.styled)("video",{target:"e7bdfsk0"})({name:"7jn255",styles:"position:relative;object-fit:cover;width:172px;height:228px;border-radius:4px;background-color:#f8f8f8;@media (max-width: 374px){height:160px;width:100%;}"}),ce=function(e){var t=e.index,r=e.video,i=e.isMobileView,a=e.autoPlay,n=e.elRefs,l=e.handleMouseVideo,s=r.playAddr,d=r.playCount,p=r.warnInfoList,f=void 0===p?[]:p,h=r.coverUrl,y=Object(c.useState)(!1),j=o()(y,2),x=j[0],v=j[1],O=Object(c.useState)(!1),w=o()(O,2),T=w[0],k=w[1],_=i?"click":"hover",C=function(e,t){k("enter"===t)},E=f.length>0;return Object(g.jsxs)(le,{"data-e2e":"common-Video-VideoWrapper",children:[!x&&T&&Object(g.jsx)(ee,{"data-e2e":"common-Video-LoadingWrapper",children:Object(g.jsx)(b.g,{center:!0,"data-e2e":"common-Video-TUXLoading"})}),Object(g.jsxs)(oe,{"data-e2e":"common-Video-PlayButtonWrapper",children:[Object(g.jsxs)(ae,{"data-e2e":"common-Video-PlayButtonContainer",children:[Object(g.jsx)(re,{src:J.a,alt:"play-button","data-e2e":"common-Video-Image"}),Object(g.jsx)(ne,{"data-e2e":"common-Video-Count",children:Object(u.a)(d)})]}),E&&Object(g.jsx)(Z.b,{content:Object(g.jsx)(te,{"data-e2e":"common-Video-TooltipText",children:m.b.t("potentially_dangerous_action_tooltip")}),placement:"top",bgColor:"#4B4B4B",bodyPadding:"12px",mode:_,onClick:K,"data-e2e":"common-Video-Popover",children:Object(g.jsx)(ie,{src:Y.a,alt:"warning-exclamation","data-e2e":"common-Video-ImageWarning"})})]}),Object(g.jsx)(se,{"data-warning":E?"video-warning":"",autoPlay:a,ref:n[t],muted:!0,"webkit-playsinline":"true",playsInline:!0,loop:!0,src:s,poster:h,preload:"metadata",onMouseEnter:function(e){return C(0,"enter")},onMouseLeave:function(e){return C(0,"leave")},onMouseOver:function(e){return l(e,"play",t,f)},className:"video-player",onLoadedData:function(){return v(!0)},"data-e2e":"common-Video-Video"})]})},de=r(1471),pe=r.n(de);var ue=Object(s.styled)("div",{target:"e1ngxj132"})({name:"1pvekmi",styles:"display:flex;justify-content:center;align-items:center;flex-direction:column;width:inherit;height:inherit;overflow:hidden"}),fe=Object(s.styled)("img",{target:"e1ngxj131"})({name:"1il4q6t",styles:"width:4.8rem;height:4.8rem;object-fit:cover;margin-bottom:12px"}),me=Object(s.styled)("p",{target:"e1ngxj130"})({name:"kbcoh3",styles:"font-size:1.4rem;line-height:2.2rem;color:rgb(22 24 35 / 34%);text-align:center"}),be=function(e){var t=function(e,t){switch(e){case C.i.HashTag:return t<10?"embed_hashtag_card_caret":"embed_hashtag_card_see_more";case C.i.Music:return t<10?"embed_music_card_caret":"embed_music_card_see_more";case C.i.Creator:return t<10?"embed_profile_card_caret":"embed_profile_card_see_more";default:return""}}(e.playlistType,e.videoLength);return Object(g.jsxs)(ue,{"data-e2e":"common-ViewMoreCard-CardContainer",children:[Object(g.jsx)(fe,{src:pe.a,alt:m.b.t(t),"data-e2e":"common-ViewMoreCard-CardImg"}),Object(g.jsx)(me,{"data-e2e":"common-ViewMoreCard-Text",children:m.b.t(t)})]})};var he=Object(s.styled)("div",{target:"euzsirz2"})({name:"1kgu1c0",styles:"display:flex;position:relative;flex:0 0 auto;margin-bottom:12px;box-sizing:border-box;white-space:nowrap;overflow:auto;@media (max-width: 374px){height:172px;width:100%;}a:hover,a:visited,a:link,a:active{color:rgb(22 24 35 / 34%);}"}),ge=Object(s.styled)("div",{target:"euzsirz1"})({name:"1oaeivz",styles:"margin-right:8px"}),ye=Object(s.styled)("a",{target:"euzsirz0"})({name:"zdoqg3",styles:"height:228px;width:172px;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:16px;text-decoration:none!important;@media (max-width: 374px){height:160px;width:120px;}"}),je=Object(s.connect)((function(e){var t,r=e.items,i=e.isMobileView,a=e.userInfo,n=e.strategy,l=e.referrer,p=e.jumpStartHandler,m=e.videoListOnScroll,b=e.videoCardOnClick,y=e.gd_label,x=e.embedType,v=e.teaConfig,O=e.playlistType,w=e.uniqueId,T=e.playlistId,k=e.playlistEndpoint,P=i?"12px":"24px",S=Object(c.useState)(0),L=o()(S,2),I=L[0],R=L[1],V=Object(c.useState)([]),H=o()(V,2),W=H[0],A=H[1],M=r.length,N=Object(u.i)(O),D=!1,z=Object(s.useConnect)().state,B=z.source.get(z.router.link),F=z.theme.globalParams;Object(c.useEffect)((function(){A((function(e){return Array(M).fill(M).map((function(t,r){return e[r]||d.a.createRef()}))}))}),[M]),Object(c.useEffect)((function(){var e={rootMargin:"0px",threshold:[1]};if(W.length&&i){var t=function(e){e.forEach((function(e){"video-warning"!==e.target.dataset.warning&&(e.isIntersecting?e.target.play():e.target.pause())}))};W.forEach((function(r){var i=r.current;new IntersectionObserver(t,e).observe(i)}))}}));var G=function(e,t,r,i){i.length>0||"play"===t&&(W[I].current.pause(),R(r),e.target.play())},q=null,Z=x===C.c.Creator?C.j.Creator:Object(u.j)(O),Q=x===C.c.Creator?C.h.Creator:Object(u.d)(O),Y=N.TARGETS.CARD_LAST_BUTTON;return Object(g.jsxs)(he,{className:"videoList",style:{paddingLeft:P},onScroll:function(){D||m(),D=!0,null!==q&&clearTimeout(q),q=setTimeout((function(){D=!1}),500)},"data-e2e":"common-videoList-VideoListContainer",children:[r.map((function(e,t){var r,a,o,s,c,d=e.id,u=e.warnInfoList,m=void 0===u?[]:u,v=e.authorUniqueId,O=w||v,T=N.TARGETS.VIDEO_CARD,k=Object(E.f)({uniqueId:null!=O?O:"",videoId:null!=d?d:"",globalQueryParams:F(T),optionalParams:{referer_video_id:null!=d?d:""}}),C=(null!==(r=null===(a=e.warnInfoList)||void 0===a?void 0:a.length)&&void 0!==r?r:0)>0;return Object(g.jsx)(ge,{"data-e2e":"common-videoList-VideoContainer",children:Object(g.jsx)(h.a,{refer:Z,referrer_url:l,redirectLink:k,target:_.b.VIDEO_WRAPPER,teaTarget:T,gd_label:y,id:null!==(o=e.id)&&void 0!==o?o:"",customSchemeParams:{click_item_id:null!==(s=e.id)&&void 0!==s?s:""},useSmartWrapper:i&&n,pid:Q,linkOnClickHandler:function(){b(t,null!=d?d:"",m.length>0?1:0)},extensionStyle:{textDecoration:"none",cursor:"pointer",zIndex:1},jumpStartHandler:p,jumpHook:function(e){return Object(j.a)(e)},jumpFailHandler:function(){return Object(f.e)(x)},fallbackURLParams:{uniqueId:null!=O?O:"",videoId:null!==(c=e.id)&&void 0!==c?c:"",type:x},"data-e2e":"common-videoList-SmartWrapperExtension",children:Object(g.jsx)(ce,{index:t,video:e,elRefs:W,isMobileView:i,handleMouseVideo:G,autoPlay:t===I&&!C,"data-e2e":"common-videoList-UserVideo"})},d)},d)})),x===C.c.Creator&&a&&Object(g.jsx)(U,{isMobileView:i,userInfo:a,strategy:n,referrer:l,teaConfig:v(N.TARGETS.CARD_LAST_BUTTON),globalQueryParams:F(Y),"data-e2e":"common-videoList-UserSmartWrapper",children:Object(g.jsx)(ye,{"data-e2e":"common-videoList-RedirectCard",children:Object(g.jsx)(be,{videoLength:r.length,playlistType:C.i.Creator,"data-e2e":"common-videoList-ViewMoreCard"})})}),O&&(O===C.i.HashTag||O===C.i.Music)&&Object(g.jsx)(X,{isMobileView:i,id:null!=T?T:"",endpoint:null!==(t=null!=k?k:T)&&void 0!==t?t:"",strategy:n,referrer:l,teaConfig:v(N.TARGETS.CARD_LAST_BUTTON),playlistType:O,fallbackURLParams:Object(u.b)(O,B),"data-e2e":"common-videoList-PlaylistSmartWrapper",children:Object(g.jsx)(ye,{"data-e2e":"common-videoList-RedirectCard",children:Object(g.jsx)(be,{videoLength:r.length,playlistType:O,"data-e2e":"common-videoList-ViewMoreCard"})})})]})})),xe=(r(150),r(48),r(1472)),ve=r.n(xe);var Oe=L()()(P.a),we=Object(s.connect)((function(e){var t,r=e.isMobileView,i=e.strategy,a=e.referrer,n=e.teaConfig,o=e.playlistId,l=e.playlistType,c=Object(u.i)(l),d=Object(s.useConnect)().state,p=d.source.get(d.router.link),f=Object(u.b)(l,p),h=p.embedInfo;if(l!==C.i.Creator){var y,j,x,v,O="",w="",T=[];switch(l){case C.i.Curated:O=m.b.t("ttembeds_createown_card_subheader"),w=m.b.t("ttembeds_basic_url_disclaimer");break;case C.i.HashTag:O="#".concat(o);var k=Number(null!==(t=null==h?void 0:h.videoCount)&&void 0!==t?t:0),_=m.b.t("share_numPosts",{num:k,number:Object(u.a)(k)});k&&T.push(_);break;case C.i.Music:O=o,T.push(null==h?void 0:h.artist),T.push("".concat(Object(u.a)((null==h?void 0:h.videoCount)||0)," ").concat(m.b.t("ttembeds_choosetype_video")));break;case C.i.Trending:O="Trending Videos"}return Object(g.jsx)(ke,{className:"card-header","data-e2e":"playlist-playlistHeader-PlaylistHeaderWrapper",children:Object(g.jsxs)(_e,{"data-e2e":"playlist-playlistHeader-PlaylistHeaderInfo",children:[Object(g.jsx)(X,{isMobileView:r,id:(null===(y=p.embedInfo)||void 0===y?void 0:y.id)||"",endpoint:p.playlistEndpoint||p.playlistId||"",strategy:i,referrer:a,teaConfig:n(c.TARGETS.PLAYLIST_HEADER),playlistType:l,fallbackURLParams:f,"data-e2e":"playlist-playlistHeader-PlaylistSmartWrapper",children:null!=h&&h.coverUrl?Object(g.jsx)(Ce,{src:h.coverUrl,alt:"header cover","data-e2e":"playlist-playlistHeader-Cover"}):Object(g.jsx)(Ce,{src:ve.a,alt:"header cover","data-e2e":"playlist-playlistHeader-Cover-4"})}),Object(g.jsxs)(Ee,{"data-e2e":"playlist-playlistHeader-TitleWrapper",children:[Object(g.jsx)(X,{isMobileView:r,id:(null===(j=p.embedInfo)||void 0===j?void 0:j.id)||"",endpoint:p.playlistEndpoint||p.playlistId||"",strategy:i,referrer:a,teaConfig:n(c.TARGETS.PLAYLIST_HEADER),playlistType:l,fallbackURLParams:f,"data-e2e":"playlist-playlistHeader-PlaylistSmartWrapper",children:Object(g.jsx)(b.m,{inline:!0,color:"TextPrimary",type:"P1-Semibold","data-e2e":"playlist-playlistHeader-TUXText",children:Object(g.jsx)(Pe,{"data-e2e":"playlist-playlistHeader-ContentWrapper",children:O})})}),""!==w&&Object(g.jsx)(Te,{"data-e2e":"playlist-playlistHeader-DisclaimerWrapper",children:Object(g.jsx)(X,{isMobileView:r,id:(null===(x=p.embedInfo)||void 0===x?void 0:x.id)||"",endpoint:p.playlistEndpoint||p.playlistId||"",strategy:i,referrer:a,teaConfig:n(c.TARGETS.PLAYLIST_HEADER),playlistType:l,fallbackURLParams:f,"data-e2e":"playlist-playlistHeader-PlaylistSmartWrapper",children:Object(g.jsx)(b.m,{inline:!0,color:"TextTertiary",type:"P5-Regular","data-e2e":"playlist-playlistHeader-TUXText",children:w})})}),T.map((function(e,t){var o;return Object(g.jsx)("div",{className:"header-content-wrapper","data-e2e":"playlist-playlistHeader-div",children:Object(g.jsx)(X,{isMobileView:r,id:(null===(o=p.embedInfo)||void 0===o?void 0:o.id)||"",endpoint:p.playlistEndpoint||p.playlistId||"",strategy:i,referrer:a,teaConfig:n(c.TARGETS.PLAYLIST_HEADER),playlistType:l,fallbackURLParams:f,"data-e2e":"playlist-playlistHeader-PlaylistSmartWrapper",children:Object(g.jsx)(b.m,{inline:!0,color:"TextSecondary",type:"P4-Regular","data-e2e":"playlist-playlistHeader-TUXText",children:Object(g.jsx)(Pe,{"data-e2e":"playlist-playlistHeader-ContentWrapper",children:e})},t)})},t)})),(null==h?void 0:h.description)&&Object(g.jsx)(Se,{className:"description-wrapper","data-e2e":"playlist-playlistHeader-DescriptionWrapper",children:Object(g.jsx)(X,{isMobileView:r,id:(null===(v=p.embedInfo)||void 0===v?void 0:v.id)||"",endpoint:p.playlistEndpoint||p.playlistId||"",strategy:i,referrer:a,teaConfig:n(c.TARGETS.PLAYLIST_HEADER),playlistType:l,fallbackURLParams:f,"data-e2e":"playlist-playlistHeader-PlaylistSmartWrapper",children:Object(g.jsx)(b.m,{inline:!0,color:"TextSecondary",type:"P4-Regular","data-e2e":"playlist-playlistHeader-TUXText",children:Object(g.jsx)(Oe,{text:h.description,maxLine:"2",ellipsis:"... ".concat(m.b.t("embed_profile_card_see_more")),basedOn:"letters","data-e2e":"playlist-playlistHeader-ResponsiveEllipsis"})})})})]})]})})}return Object(g.jsx)(W,{isMobileView:r,strategy:i,referrer:a,teaConfig:n,"data-e2e":"playlist-playlistHeader-UserInfo"})})),Te=Object(s.styled)("div",{target:"ek7p4cl6"})({name:"1gyjjz8",styles:"a:hover,a:visited,a:link,a:active{text-decoration:none!important;}"}),ke=Object(s.styled)("div",{target:"ek7p4cl5"})({name:"1nym73d",styles:"position:relative;flex:0 0 auto;margin-bottom:12px;box-sizing:border-box;margin-inline-end:24px;padding-inline-start:24px;margin-top:24px;max-width:100%;min-width:288px;@media (max-width: 414px){margin-inline-end:16px;padding-inline-start:16px;margin-top:16px;}a:hover,a:visited,a:link,a:active{color:inherit;}"}),_e=Object(s.styled)("div",{target:"ek7p4cl4"})({name:"ho1qnd",styles:"display:flex;flex-direction:row"}),Ce=Object(s.styled)("img",{target:"ek7p4cl3"})({name:"te4h8v",styles:"min-width:96px;min-height:96px;width:96px;height:96px;object-fit:cover;margin-inline-end:20px;display:block"}),Ee=Object(s.styled)("div",{target:"ek7p4cl2"})({name:"yc9upt",styles:"display:flex;flex-direction:column;a:hover,a:visited,a:link,a:active{color:inherit;}"}),Pe=Object(s.styled)("div",{target:"ek7p4cl1"})({name:"hmxggj",styles:"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px;@media (max-width: 414px){max-width:200px;}@media (max-width: 300px){max-width:150px;}a:hover,a:visited,a:link,a:active{color:inherit;}"}),Se=Object(s.styled)("div",{target:"ek7p4cl0"})({name:"12hr87k",styles:".LinesEllipsis-ellipsis{font-weight:bold;font-size:13.5;}"});function Le(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function Ie(e){for(var t=1;t0&&Object(g.jsx)(je,{items:x,isMobileView:m,teaConfig:F,embedType:A,strategy:h,referrer:S,jumpStartHandler:function(){return Object(f.g)(M.EVENTS.TAP,F(M.TARGETS.VIDEO_CARD))},videoListOnScroll:function(){return Object(f.g)(M.EVENTS.TAP,F(M.TARGETS.SCROLL))},videoCardOnClick:function(e,t,r){Object(f.g)(M.EVENTS.TAP,Ie(Ie({},F(M.TARGETS.VIDEO_CARD)),{},{video_position:e,video_id:t,is_video_warning:r}))},gd_label:W.Video,playlistType:v,playlistId:null==E?void 0:E.id,playlistEndpoint:null!==(r=null!=w?w:O)&&void 0!==r?r:"",userInfo:_,uniqueId:null==_?void 0:_.uniqueId,"data-e2e":"playlist-playlistCard-VideoList"}),Object(g.jsx)(T,{isMobileView:m,target:V,strategy:h,id:null!==(i=null==E?void 0:E.id)&&void 0!==i?i:"",referrer:S,refer:H,gd_label:I,buttonHref:R(M.TARGETS.DISCOVER_BUTTON),jumpStartHandler:function(){G(),Object(f.f)(A)},onClick:G,pid:U,buttonTeaTarget:M.TARGETS.DISCOVER_BUTTON,jumpFailHandler:function(){return Object(f.e)(A)},fallbackUrlParams:N,"data-e2e":"playlist-playlistCard-CardFooter"})]})})})}));var Re=Object(s.styled)("div",{target:"e1i34kcw1"})({name:"zl1inp",styles:"display:flex;justify-content:center"}),Ve=Object(s.styled)("div",{target:"e1i34kcw0"})({name:"ekq38o",styles:"max-width:100%;width:780px;border:1px solid rgb(22 24 35 / 12%);border-radius:8px;box-sizing:border-box;padding-bottom:12px;overflow:hidden"})},1440:function(e,t,r){"use strict";var i=r(2),a=r.n(i),n=(r(12),r(21),r(17),r(20),r(39),r(49),r(3)),o=(r(0),r(1511)),l=r(136),s=r(1);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function d(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],r=Object(i.a)();if(r&&Object(i.b)()&&!t){var a=JSON.stringify({signalSource:window.name,link:e});window.parent.postMessage(a,"*")}else{var n=document.createElement("a");n.href=e,n.target=r?"_top":"_blank",n.click()}}},1447:function(e,t,r){"use strict";r(218);var i=r(68),a=r.n(i),n=r(69),o=r.n(n),l=r(194),s=r.n(l),c=r(232),d=r.n(c),p=r(233),u=r.n(p),f=r(88),m=r.n(f),b=r(8),h=r.n(b),g=(r(18),r(21),r(14),r(12),r(13),r(38),r(123),r(16),r(35),r(22),r(30),r(696),r(10),r(25),r(0)),y=r.n(g);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,i=m()(e);if(t){var a=m()(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return u()(this,r)}}function x(){return(x=Object.assign||function(e){for(var t=1;t".concat(e,"")})).join("");var r=this.putEllipsis(this.calcIndexes()),i=r>-1,a={clamped:i,text:i?this.units.slice(0,r).join(""):e.text};this.setState(a,e.onReflow.bind(this,a))}},{key:"calcIndexes",value:function(){var e=[0],t=this.canvas.firstElementChild;if(!t)return e;for(var r=0,i=1,a=t.offsetTop;(t=t.nextElementSibling)&&(t.offsetTop>a&&(i++,e.push(r),a=t.offsetTop),r++,!(i>this.maxLine)););return e}},{key:"putEllipsis",value:function(e){if(e.length<=this.maxLine)return-1;var t=e[this.maxLine],r=this.units.slice(0,t),i=this.canvas.children[t].offsetTop;this.canvas.innerHTML=r.map((function(e,t){return"".concat(e,"")})).join("")+"".concat(this.props.ellipsis,"");for(var a=this.canvas.lastElementChild,n=w(a,2);n&&(a.offsetTop>i||a.offsetHeight>n.offsetHeight||a.offsetTop>n.offsetTop);)this.canvas.removeChild(n),n=w(a,2),r.pop();return r.length}},{key:"isClamped",value:function(){return this.clamped}},{key:"render",value:function(){var e=this,t=this.state,r=t.text,i=t.clamped,a=this.props,n=a.component,o=a.ellipsis,l=a.trimRight,s=a.className,c=function(e,t){if(null==e)return{};var r,i,a={},n=Object.keys(e);for(i=0;i=0||(a[r]=e[r]);return a}(a,["component","ellipsis","trimRight","className"]);return y.a.createElement(n,x({className:"LinesEllipsis ".concat(i?"LinesEllipsis--clamped":""," ").concat(s),ref:function(t){return e.target=t}},function(e,t){if(!e||"object"!==h()(e))return e;var r={};return Object.keys(e).forEach((function(i){t.indexOf(i)>-1||(r[i]=e[i])})),r}(c,k)),i&&l?r.replace(/[\s\uFEFF\xA0]+$/,""):r,y.a.createElement("wbr",null),i&&y.a.createElement("span",{className:"LinesEllipsis-ellipsis"},o))}}]),r}(y.a.Component);_.defaultProps=T,t.a=_},1448:function(e,t,r){(function(t){var i=r(8);function a(e){return e&&"object"===i(e)&&"default"in e?e:{default:e}}r(18),r(181),r(21),r(14),r(13),r(25),r(30),r(7),r(26),r(103);var n=a(r(0));function o(){return(o=Object.assign||function(e){for(var t=1;t=t||r<0||u&&e-d>=n}function y(){var e=f();if(g(e))return j(e);l=setTimeout(y,function(e){var r=t-(e-c);return u?U(r,n-(e-d)):r}(e))}function j(e){return l=void 0,m&&i?b(e):(i=a=void 0,o)}function x(){var e=f(),r=g(e);if(i=arguments,a=this,c=e,r){if(void 0===l)return h(c);if(u)return clearTimeout(l),l=setTimeout(y,t),b(c)}return void 0===l&&(l=setTimeout(y,t)),o}return t=V(t)||0,s(r)&&(p=!!r.leading,n=(u="maxWait"in r)?H(V(r.maxWait)||0,t):n,m="trailing"in r?!!r.trailing:m),x.cancel=function(){void 0!==l&&clearTimeout(l),d=0,i=c=a=l=void 0},x.flush=function(){return void 0===l?o:j(f())},x},A="undefined"!=typeof window;e.exports=function(e,t){return void 0===e&&(e=150),function(r){var i=function(i){var a,s;function c(r){var a;return(a=i.call(this,r)||this).state={winWidth:A?window.innerWidth:0},a.onResize=W(a.onResize.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(a)),e,t),a}s=i,(a=c).prototype=Object.create(s.prototype),a.prototype.constructor=a,l(a,s);var d=c.prototype;return d.componentDidMount=function(){window.addEventListener("resize",this.onResize)},d.componentWillUnmount=function(){window.removeEventListener("resize",this.onResize),this.onResize.cancel()},d.onResize=function(){this.setState({winWidth:window.innerWidth})},d.render=function(){var e=this.props,t=e.innerRef,i=function(e,t){if(null==e)return{};var r,i,a={},n=Object.keys(e);for(i=0;i=0||(a[r]=e[r]);return a}(e,["innerRef"]);return n.default.createElement(r,o({ref:t},i,this.state))},c}(n.default.Component);return i.displayName="Responsive("+(r.displayName||r.name)+")",i.defaultProps={innerRef:function(){}},i}}}).call(this,r(101))},1455:function(e,t,r){"use strict";var i=r(3),a=r(0),n=r(74),o=r(75);function l(e){return a.createElement("svg",Object(n.a)({fill:"currentColor"},e,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",className:e.className}),a.createElement("path",{d:"M2 24a22 22 0 1 1 44 0 22 22 0 0 1-44 0Zm25.3-8.8a3.3 3.3 0 1 0-6.6 0 3.3 3.3 0 0 0 6.6 0Zm-4.4 6.6c-.6 0-1.1.5-1.1 1.1V35c0 .6.5 1.1 1.1 1.1h2.2c.6 0 1.1-.5 1.1-1.1V22.9c0-.6-.5-1.1-1.1-1.1h-2.2Z"}))}Object(o.a)(l);var s=r(32),c=r(114),d=r(1);var p=Object(i.styled)("div",{target:"e10i65ja0"})({name:"bkxkhj",styles:"display:flex;flex-direction:row;justify-content:center;align-items:center;padding:1px 4px;gap:2px;height:18px;background:rgba(22 24 35 / 6%);border-radius:2px"});t.a=function(e){var t=e.scmText,r=e.scmUrl;return Object(d.jsx)(p,{"data-e2e":"common-scmWarning-ScmLabelWrapper",children:Object(d.jsx)(c.a,{target:"_blank",link:r,href:r,"data-e2e":"common-scmWarning-Link",children:Object(d.jsx)(s.o,{label:t,icon:Object(d.jsx)(l,{"data-e2e":"common-scmWarning-IconInfoCircleFill"}),iconPosition:"before",variant:"primary",size:"P5","data-e2e":"common-scmWarning-TUXTextButton"})})})}},1468:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r(148);var i=r(0),a=r.n(i);function n(e){var t=e.width,r=void 0===t?"1em":t,i=e.height,n=void 0===i?"1em":i,o=(e.fill,e.style),l=e.className;return a.a.createElement("svg",{className:l,style:o,width:r,height:n,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("circle",{cx:"24",cy:"24",r:"24",fill:"#20D5EC"}),a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.1213 15.8787C38.2929 17.0503 38.2929 18.9497 37.1213 20.1213L23.6213 33.6213C22.4497 34.7929 20.5503 34.7929 19.3787 33.6213L10.8787 25.1213C9.70711 23.9497 9.70711 22.0503 10.8787 20.8787C12.0503 19.7071 13.9497 19.7071 15.1213 20.8787L21.5 27.2574L32.8787 15.8787C34.0503 14.7071 35.9497 14.7071 37.1213 15.8787Z",fill:"white"}))}},1469:function(e,t,r){e.exports=r.p+"images/exclamationCircle-1c74f6f7941ff526d69976cc68e9c851.png"},1470:function(e,t,r){e.exports=r.p+"images/playButton-e9bf7461aa077c84a9b77816c47dc3c4.png"},1471:function(e,t,r){e.exports=r.p+"images/fullProfile-7e8cead262d90a2c7a720b579e6f15cf.png"},1472:function(e,t,r){e.exports=r.p+"images/default_logo-2a7dd4df692cbdce678dc67ce88c46ef.svg"},382:function(e,t,r){"use strict";function i(){var e=navigator.userAgent;return/android/i.test(e)?"android":/iPhone|iPad|iPod|iOS/i.test(e)?"ios":/\(Macintosh; Intel /.test(e)?"mac":/Win\d{2}|Windows/.test(e)?"windows":"unknown"}function a(){return"android"===i()}r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return n}));var n=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];try{return window.self!==window.top}catch(t){return e}}}}]);