PageSourceSearch

https://music.cobrand.com/_next/static/chunks/pages/videos-0cfa840daa00f940.js

js cobrand.com collected 2026-10-02 04:39:41 UTC 19,828 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[928],{7246:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var s=l(6029),n=l(8461),i=l(81783),a=l(55729),r=l(82558),o=l(5329),d=l(49956);let c=()=>{let{scrollContainerRef:e}=(0,o.C)(),[t,l]=(0,a.useState)(!1),c=()=>{var t;(null==e||null==(t=e.current)?void 0:t.scrollTop)&&e.current.scrollTop>300?l(!0):l(!1)};return((0,a.useEffect)(()=>{let t=null==e?void 0:e.current;return null==t||t.addEventListener("scroll",c),()=>null==t?void 0:t.removeEventListener("scroll",c)},[e]),t)?(0,s.jsx)(n.N,{children:(0,s.jsx)(i.P.div,{className:"sticky bottom-4 z-10 flex w-full cursor-pointer justify-center",onClick:()=>(()=>{var t;null==e||null==(t=e.current)||t.scrollTo({top:0,behavior:"smooth"})})(),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:(0,s.jsxs)("div",{className:"flex flex-row items-center space-x-0.5 rounded-[100px] bg-black/80 px-[10px] py-1 backdrop-blur-[6px] dark:bg-white/20",children:[(0,s.jsx)(d.E,{typography:d.o.Caption1,bold:!0,className:"text-neutral-overlay",children:"Back To Top"}),(0,s.jsx)(r.I,{type:r.A.Arrow,className:"-rotate-90 fill-white",size:12})]})})}):null}},56482:(e,t,l)=>{"use strict";l.d(t,{A:()=>y});var s=l(6029),n=l(75828),i=l.n(n),a=l(55729),r=l(40583),o=l(12836),d=l(8542),c=l(83409),u=l(63752),p=l(87994),x=l(42335),h=l(82558),g=l(85693),m=l(78349),f=l(10783),v=l(49956);let y=(0,a.forwardRef)((e,t)=>{var l,n,y,j,b;let{artists:N,selectedArtists:w,organizationId:C,maxNumSelectable:S,onArtistsChange:A,titleClassName:_,unselectedText:k="Select Profile",triggerClassName:T="min-w-[180px]",triggerIconType:I=h.A.SortDown,align:E=f.bq.Start,side:z=f.vr.Bottom}=e,[B,P]=(0,a.useState)(!1),[O,D]=(0,a.useState)(""),[L,F]=(0,a.useState)(),R=(0,a.useRef)(null),U=(L?N.filter(e=>e.artist_type===L):N).filter(e=>{if(!O)return!0;let t=e.name.toLowerCase(),l=O.toLowerCase();return t.includes(l)}),G=w.length,q=S||N.length,M=(0,s.jsxs)("div",{ref:t,className:"shadow-raised flex max-h-[600px] w-[440px] flex-col overflow-hidden rounded-xl border border-slate-200 bg-white",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 p-4",children:[(0,s.jsx)(g.p,{className:"w-full",placeholder:"Search profiles",value:O,onChange:e=>D(e.target.value),iconType:h.A.Search,showClearButton:!0}),(0,s.jsx)(m.A,{organizationId:C,buttonType:c.VQ.Secondary,buttonText:"New",ref:R,popoverAlign:f.bq.Center})]}),(0,s.jsxs)(u.e,{className:"px-4",children:[(0,s.jsx)(x.A,{type:x.R.Primary,title:"All Profiles",isSelected:void 0===L,onClick:()=>F(void 0)}),(0,s.jsx)(x.A,{type:x.R.Primary,title:"Artist Profiles",isSelected:L===r.P.ARTIST,onClick:()=>F(r.P.ARTIST)}),(0,s.jsx)(x.A,{type:x.R.Primary,title:"Brand Profiles",isSelected:L===r.P.BRAND,onClick:()=>F(r.P.BRAND)})]}),(0,s.jsx)("div",{className:"border-b border-slate-200 p-4",children:!S||S>1?(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"cursor-pointer",onClick:()=>{if((null==w?void 0:w.length)>0){null==A||A([]);return}(!S||S&&S>=(null==N?void 0:N.length))&&(null==A||A(N))},children:(0,s.jsx)(p.S,{checked:(null==w?void 0:w.length)>0,indeterminate:(null==w?void 0:w.length)>0&&(null==w?void 0:w.length)<N.length,size:20,onChange:()=>null})}),(0,s.jsx)(v.E,{className:"text-slate-500",typography:v.o.Footnote,bold:!0,children:"".concat(G,"/").concat(q," Selected")})]}):null}),(0,s.jsx)("div",{className:"flex-grow overflow-y-auto p-2",children:U.map((e,t)=>{var l,n;let a=null==w?void 0:w.find(t=>{var l,s;return e.brand&&(null==(l=t.brand)?void 0:l.id)===e.brand.id||e.artist&&(null==(s=t.artist)?void 0:s.id)===e.artist.id});return(0,s.jsxs)("div",{className:"group/artist flex cursor-pointer items-center gap-3 rounded-xl px-3 py-2 transition hover:bg-slate-100 active:bg-slate-200",onClick:()=>(e=>{let t=null==w?void 0:w.findIndex(t=>{var l,s;return e.brand&&(null==(l=t.brand)?void 0:l.id)===e.brand.id||e.artist&&(null==(s=t.artist)?void 0:s.id)===e.artist.id});if(t<0){if(S&&(null==w?void 0:w.length)>=S)return;let t=[...w,e];null==A||A(t)}else{let e=[...w];e.splice(t,1),null==A||A(e)}})(e),children:[!S||S>1?(0,s.jsx)(p.S,{checked:!!a,onChange:()=>null,size:20}):null,(0,s.jsx)(d.e,{src:e.image_url,size:36,backupIconType:h.A.Account}),(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(v.E,{typography:v.o.Footnote,bold:!0,className:i()("transition",{"text-slate-800":a,"text-slate-500 group-hover/artist:text-slate-800":!a}),children:e.name}
1),(0,s.jsx)(v.E,{typography:v.o.Caption1,className:"text-slate-400",children:(0,o.D)(e.artist_type)})]})]},(null==(l=e.artist)?void 0:l.id)||(null==(n=e.brand)?void 0:n.id))})})]});return(0,s.jsx)(f.AM,{isOpen:B,content:M,align:E,side:z,onOutsideClick:()=>P(!1),additionalRefsForClickOutside:[R],children:(0,s.jsxs)("div",{className:i()("group flex h-[34px] cursor-pointer items-center justify-between gap-1 rounded-[10px] border px-3 py-2 transition",T,{"active:button-textbased-tertiary-pressed hover:button-textbased-tertiary-hover":!B,"button-textbased-tertiary-default border-transparent":!B,"border-primary-600 surface-static-neutral-primary-soft fill-primary-600":B}),onClick:()=>P(e=>!e),children:[(null==w?void 0:w.length)<=0&&(0,s.jsx)(v.E,{className:i()(_,"whitespace-nowrap text-slate-500"),typography:v.o.Footnote,bold:!0,children:k}),(null==w?void 0:w.length)===1&&(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("div",{className:i()("h-5 w-5 shrink-0 overflow-hidden rounded-full border-2 transition",{"border-slate-100 group-hover:border-slate-200":!B,"border-white":B}),children:(null==(l=w[0])?void 0:l.image_url)?(0,s.jsx)("img",{src:null==(n=w[0])?void 0:n.image_url,className:"h-full w-full rounded-full",alt:""}):(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center rounded-full bg-slate-100",children:(0,s.jsx)(h.I,{type:h.A.Account,size:11,className:"fill-slate-300"})})}),(0,s.jsx)(v.E,{className:"whitespace-nowrap text-slate-800",typography:v.o.Footnote,bold:!0,children:null==(y=w[0])?void 0:y.name})]}),(null==w?void 0:w.length)>1&&(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsxs)("div",{className:"flex flex-row-reverse items-center",children:[(null==w?void 0:w.length)>3&&(0,s.jsx)("div",{className:i()("-ml-2 flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded-full border-2 bg-slate-300 transition",{"border-slate-100 group-hover:border-slate-200":!B,"border-white":B}),children:(0,s.jsx)(h.I,{className:"fill-slate-500",type:h.A.More,size:12})}),null==w||null==(b=w.slice(0,3))||null==(j=b.reverse())?void 0:j.map((e,t)=>{var l,n;return(0,s.jsx)("div",{className:i()("h-5 w-5 shrink-0 overflow-hidden rounded-full border-2 transition",{"border-slate-100 group-hover:border-slate-200":!B,"border-white":B,"-ml-[10px]":0===t,"-ml-2":1===t}),children:(null==e?void 0:e.image_url)?(0,s.jsx)("img",{src:e.image_url,className:"h-full w-full rounded-full",alt:""}):(0,s.jsx)("div",{className:"flex h-full w-full items-center justify-center rounded-full bg-slate-100",children:(0,s.jsx)(h.I,{type:h.A.Account,size:11,className:"fill-slate-300"})})},(null==(l=e.artist)?void 0:l.id)||(null==(n=e.brand)?void 0:n.id))})]}),(0,s.jsx)(v.E,{className:"whitespace-nowrap text-slate-800",typography:v.o.Footnote,bold:!0,children:"".concat(G,"/").concat(q," Artists")})]}),(0,s.jsx)(h.I,{className:i()("transition",{"fill-slate-600":!B,"fill-primary-600 rotate-180":B}),type:I,size:16})]})})})},65931:(e,t,l)=>{"use strict";l.d(t,{c:()=>a});var s=l(95099),n=l(84203),i=l(19117);let a=e=>{let t=(0,i.MI)({needsAuthentication:!0,includeHost:!1});return(0,s.q)({queryKey:["INFINITE_LIST_SONGS",e],queryFn:l=>{let{pageParam:s}=l;return t("".concat(n.JY,"/song_analytics/list_songs"),{method:"POST",body:JSON.stringify({...e,cursor:s})})},getNextPageParam:e=>(null==e?void 0:e.links.has_next)?e.links.next:void 0,initialPageParam:void 0,enabled:!!e.organization_id})}},67682:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/videos",function(){return l(84391)}])},84391:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>$});var s=l(6029),n=l(88231),i=l(72152),a=l(42042),r=l(25880),o=l(45063),d=l(40974),c=l(56482),u=l(7246),p=l(63752),x=l(47534),h=l(14983),g=l(33076),m=l(80535),f=l(12492),v=l(47312),y=l(82558),j=l(92680),b=l(9255),N=l(5329),w=l(39949),C=l(48290),S=l(96677),A=l(85889),_=l(26553),k=l(24447),T=l(49956),I=l(28295),E=l(17858),z=l(34958),B=l(40583),P=l(61409),O=l(63804),D=l(20300),L=l(37713),F=l(78971),R=l(55729),U=l(10607),G=l(80589),q=l(14982),M=l(74981),J=l(89361),K=l(81839);let V=e=>{let{content:t,organizationId:l,showInfringementBadge:n=!1,onClick:i,onBoostClick:a}=e,r=(0,D.sU)(t);return(0,s.jsx)(M.O,{video:r,onClick:i,additionalButtonsPosition:"start",additionalButtons:a&&r.platform===o.O.TikTok?(0,s.jsx)(J.$,{iconType:y.A.Boost,tooltipTitle:"Boost Content",className:"w-full",onClick:e=>{e.stopPropagation(),a()}}):void 0,footer:(0,s.jsxs)("div",{className:"-mb-2 flex flex-col items-start -space-y-3",children:[n&&t.infringement?(0,s.jsx)(j.Ay,{}):null,(0,s.jsx)(K.A,{video:r,segmentId:void 0,organizationId:l})]})})};var W=function(e){return e[e.Grid=0]="Grid",e[e.List=1]="List",e}(W||{});let Y=[{title:"Grid",iconType:y.A.Grid},{title:"List",iconType:y.A.TextBulletList}],X=w.b.map(e=>"id"===e.key?{...e,title:"Videos"}:e),Z=()=>{var e;let{commercialMusicCopyrightInfringement:t}=(0,L.D0)(),l=!!t,{activeOrganizationId:n}=(0,G.A)(),{setBreadcrumbs:w}=(0,U.Cq)(),{isAtBottom:M}=(0,N.C)(),J=(0,F.sf)(),K=(0,R.useRef)(!1);(0,R.useEffect)(()=>{w([{title:"Content Analytics"}])},[w]),(0,R.useEffect)(()=>{n&&!K.current&&(K.current=!0,null==J||J.capture("content_analytics_tab_clicked",{organization_id:n}))},[n,J]);let[W,Z]=(0,R.useState)(0),[Q,$]=(0,R.useState)("play_count"),[H,ee]=(0,R.useState)(i.m.Desc),[et,el]=(0,R.useState)(),[es,en]=(0,R.useState)([]),[ei,ea]=(0,R.useState)(),[er,eo]=(0,R.useState)(),[ed,ec]=(0,R.useState)(void 0),[eu,ep]=(0,R.useState)(!1),[ex,eh]=(0,R.useState)(!1),[eg,em]=(0,R.useState)([]),[ef,ev]=(0,R.useState)(!1),[ey,ej]=(0,R.useState)(),[eb,eN]=(0,R.useState)(0),[ew,eC]=(0,R.useState)(!1),{artists:eS,selectedArtists:eA,setSelectedArtists:e_}=(0,z.j8)({organizationId:n,artistType:B.P.ARTIST}),ek=eS.filter(e=>!!e.artist),eT=null==eA?void 0:eA.map(e=>{var t;return null==(t=e.artist)?void 0:t.id}).filter(e=>!!e),eI=eT.join(",");(0,R.useEffect)(()=>{em([])},[eI]);let eE={organization_id:n,segment_ids:eg.map(e=>e.segment.id),artist_ids:eT,regions:es,platform:null!=et?et:"ALL",start_date:ei?ei.format(a.a7):null,end_date:er?er.format(a.a7):null,order_by:Q,order_direction:H,posts_author_filter:ed,only_in_trend:eu,only_infringing:ex,page_size:24},{data:ez,isLoading:eB,hasNextPage:eP,fetchNextPage:eO,isFetchingNextPage:eD}=(0,E.nn)(eE);(0,R.useEffect)(()=>{M&&eP&&!eD&&eO()},[M,eP,eD,eO]);let eL=null!=(e=null==ez?void 0:ez.pages.flatMap(e=>{var t;return null!=(t=null==e?void 0:e.items)?t:[]}))?e:[];(0,R.useEffect)(()=>{ef&&eb>=eL.length-1&&eP&&!eD&&eO()},[ef,eb,eL.length,eP,eD,eO]);let eF=!!(et||es.length||eA.length||eg.length||ei||er||ed||eu||ex);return(0,s.jsxs)(s.Fragment,{children:[ef&&ey&&(0,s.jsx)(r.V,{video:(0,D.sU)(ey),organizationId:n,showTrendBadgeWithoutSegment:!0,onClose:()=>{ev(!1),ej(void 0)},onClickNext:()=>{let e=eb+1;e<eL.length&&(ej(eL[e]),eN(e))},onClickBack:()=>{let e=eb-1;ej(eL[e]),eN(e)},isNextButtonDisabled:eb>=eL.length-1&&(!eP||eD),isBackButtonDisabled:0===eb,onBoostClick:ey.platform===o.O.TikTok?()=>{eC(!0)}:void 0,contentBanner:l&&ey.infringement?(0,s.jsx)(_.NE,{type:_.le.Neutral,size:_._g.Small,iconType:y.A.WarningFilled,description:j.u_}):void 0}),ew&&ey&&(0,s.jsx)(q.A,{video:(0,D.sU)(ey),onClose:()=>eC(!1)}),(0,s.jsxs)("div",{className:"relative w-full px-8 pb-8",children:[(0,s.jsxs)("div",{className:"space-y-2 pt-8",children:[(0,s.jsx)(T.E,{typography:T.o.Title1,bold:!0,children:"Content Analytics"}),(0,s.jsx)(T.E,{typography:T.o.Footnote,className:"text-slate-500",children:"Search and discover social creates using sounds associated with your artist profiles' songs."})]}),(0,s.jsxs)("div",{className:"sticky z-20 w-full space-y-4 bg-white/90 pb-6 pt-6 backdrop-blur-md",style:{to
1p:"var(--navbar-height, 74px)"},children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,s.jsx)(c.A,{artists:ek,selectedArtists:eA,onArtistsChange:e_,organizationId:n,unselectedText:"All Profiles",titleClassName:"!text-slate-800",triggerClassName:"",triggerIconType:y.A.Sort}),(0,s.jsx)(S.A,{organizationId:n,selectedSongs:eg,onSongsChange:em,artistIds:eT}),(0,s.jsx)(p.e,{children:(0,s.jsx)(C.I,{tabs:O.g2,index:O.UZ.indexOf(et),onTabChange:e=>el(O.UZ[e])})}),(0,s.jsx)(A.J,{headers:X,sortKey:Q,onSortByChange:(e,t)=>{$(e),t&&ee(e=>e===i.m.Desc?i.m.Asc:i.m.Desc)}})]}),(0,s.jsx)(p.e,{children:(0,s.jsx)(C.I,{tabs:Y,index:W,onTabChange:e=>Z(e)})})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2",children:[l&&(0,s.jsx)(x.A,{label:"Detected Infringement",checked:ex,onChange:eh,tooltip:{title:j.mw,description:j.u_}}),(0,s.jsx)(x.A,{label:"Detected Trends",checked:eu,onChange:ep}),(0,s.jsx)(m.e,{items:[{title:"Artist Only",value:P.qf.ARTIST_ONLY},{title:"UGC Only",value:P.qf.UGC_ONLY}],selectedItem:ed,selectedItemPrefix:"",unselectedText:"Post Type",onChange:e=>{ec(e||void 0)},triggerType:g.m.Badge}),(0,s.jsx)(d.$,{selectedCountryCodes:es,onChange:en,unselectedText:"Worldwide"}),(0,s.jsx)(f.U,{startDate:ei,endDate:er,onDateChange:(e,t)=>
1{ea(e),eo(t)},allowNullDates:!0,allowStartDateOnly:!1,triggerType:g.m.Badge,emptyTriggerTitle:"All Time"})]})]}),eB||0!==eL.length||eF?(0,s.jsxs)(s.Fragment,{children:[0===W&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(b.N,{children:[!eB&&eL.map((e,t)=>(0,s.jsx)(V,{content:e,organizationId:n,showInfringementBadge:l,onClick:()=>{ej(e),eN(t),ev(!0)},onBoostClick:()=>{ej(e),eN(t),eC(!0)}},e.id)),(eB||eD)&&Array(24).fill(0).map((e,t)=>(0,s.jsx)(I.x,{},t))]}),!eB&&0===eL.length&&(0,s.jsx)("div",{className:"flex w-full items-center justify-center py-10",children:(0,s.jsx)(T.E,{bold:!0,className:"text-slate-400",typography:T.o.Subheadline,children:"No results found"})})]}),1===W&&(0,s.jsx)(k.XI,{headers:X,data:eL,isLoading:eB||eD,pageSize:24,resetTableData:()=>null,sort:Q,sortDirection:H,onRowClick:e=>{let t=eL.findIndex(t=>t.id===e.id);ej(eL[t]),eN(t),ev(!0)},onSortChange:(e,t)=>{$(e),ee(t)},renderActionCell:(e,t)=>(0,s.jsx)(h.A,{row:e,organizationId:n,onBoostClick:()=>{let t=eL.findIndex(t=>t.id===e.id);ej(eL[t]),eN(t),eC(!0)},setIsActive:t}),metadata:{organizationId:n,infringementEnabled:l}})]}):(0,s.jsx)(v.A,{type:v.S.Gray,iconType:y.A.Video,title:"No content detected yet",subtitle:"When detected social content using sounds associated with your artist profiles, they'll appear here. Try adjusting your filters or check back later as more data becomes available.",className:"py-20"}),(0,s.jsx)(u.A,{})]})]})},Q=()=>(0,s.jsx)(Z,{});Q.getLayout=function(e){return(0,s.jsx)(n.A,{title:"Content Analytics",noPadding:!0,children:e})};let $=Q},96677:(e,t,l)=>{"use strict";l.d(t,{A:()=>C});var s=l(6029),n=l(75828),i=l.n(n),a=l(55729),r=l(63372),o=l(74286),d=l(65931),c=l(72152),u=l(5648),p=l(18966),x=l(97431),h=l(87994),g=l(33076),m=l(25176),f=l(82558),v=l(85693),y=l(99998),j=l(10783),b=l(49956),N=l(8542);let w=e=>{let{song:t,isSelected:l,onClick:n}=e;return(0,s.jsxs)("div",{className:"group/song flex cursor-pointer items-center gap-3 rounded-xl px-3 py-2 transition hover:bg-slate-100 active:bg-slate-200",onClick:n,children:[(0,s.jsx)(h.S,{checked:l,onChange:()=>null,size:20}),(0,s.jsx)(N.e,{src:(0,p.YZ)(t),size:36,backupIconType:f.A.Music}),(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(b.E,{typography:b.o.Footnote,bold:!0,className:i()("transition",{"text-slate-800":l,"text-slate-500 group-hover/song:text-slate-800":!l}),children:(0,p.JA)(t)}),(0,s.jsx)(b.E,{typography:b.o.Caption1,className:"text-slate-400",children:(0,p.oQ)(t)})]})]})},C=e=>{var t,l,n;let{organizationId:N,selectedSongs:C,onSongsChange:S,artistIds:A=[],listFilter:_=u.EU.UNLOCKED_SONGS,unselectedText:k="All Songs",align:T=j.bq.Start,side:I=j.vr.Bottom,triggerType:E}=e,[z,B]=(0,a.useState)(!1),[P,O]=(0,a.useState)(""),D=(0,r.d)(P,300),L=A.length>0,{data:F}=(0,o.R)({organization_id:N}),{data:R,isLoading:U,fetchNextPage:G,hasNextPage:q,isFetchingNextPage:M}=(0,d.c)({organization_id:N,search:{by:u.bb.SONG_TITLE,query:D},list_filter:_,artist_id__in:A,only_favourite_songs:!1,order_by:{field:"streams_delta",direction:c.m.Desc},hide_variants:!0,page_size:100}),J=null!=(l=null==R||null==(t=R.pages)?void 0:t.flatMap(e=>{var t;return null!=(t=null==e?void 0:e.items)?t:[]}))?l:[],K=L||D||_!==u.EU.UNLOCKED_SONGS?J.length:null!=(n=null==F?void 0:F.songs_count)?n:J.length,V=(0,a.useCallback)(e=>{let{scrollTop:t,scrollHeight:l,clientHeight:s}=e.currentTarget;l-t<=s+16&&q&&!M&&G()},[G,q,M]),W=0===C.length?k:1===C.length?(0,p.JA)(C[0]):"".concat(C.length," Songs"),Y=(0,s.jsxs)("div",{className:"shadow-raised flex max-h-[600px] w-[440px] flex-col overflow-hidden rounded-xl border border-slate-200 bg-white",children:[(0,s.jsx)("div",{className:"p-4",children:(0,s.jsx)(v.p,{className:"w-full",placeholder:"Search songs...",value:P,onChange:e=>O(e.target.value),iconType:f.A.Search,showClearButton:!0})}),(0,s.jsx)("div",{className:"border-b border-slate-200 px-4 pb-4",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"cursor-pointer",onClick:()=>{if(C.length>0)return void S([]);S(J)},children:(0,s.jsx)(h.S,{checked:C.length>0,indeterminate:C.length>0&&C.length<J.length,size:20,onChange:()=>null})}),(0,s.jsx)(b.E,{className:"text-slate-500",typography:b.o.Footnote,bold:!0,children:"".concat(C.length,"/").concat(K," Selected")})]})}),(0,s.jsxs)("div",{className:"flex-grow overflow-y-auto p-2",onScroll:V,children:[J.map(e=>(0,s.jsx)(w,{song:e,isSelected:C.some(t=>t.segment.id===e.segment.id),onClick:()=>(e=>{let t=C.findIndex(t=>t.segment.id===e.segment.id);if(t<0)S([...C,e]);else{let e=[...C];e.splice(t,1),S(e)}})(e)},e.segment.id)),(U||M)&&(0,s.jsx)("div",{className:"flex items-center justify-center p-4",children:(0,s.jsx)(y.I,{size:16,className:"fill-primary-600"})}),!U&&!J.length&&(0,s.jsxs)("div",{className:"flex h-[142px] flex-col items-center justify-center space-y-2 text-center",children:[(0,s.jsx)(b.E,{typography:b.o.Footnote,bold:!0,className:"w-[300px] text-slate-500",children:"No results for ‘".concat(D,"’")}),(0,s.jsx)(b.E,{typography:b.o.Caption1,className:"w-[300px] text-slate-400",children:"Please check the spelling and try again."})]})]})]});return(0,s.jsx)(j.AM,{isOpen:z,content:Y,align:T,side:I,onOutsideClick:()=>B(!1),children:(()=>{let e={title:W,hasSelection:C.length>0,isOpen:z,onClick:()=>B(e=>!e),iconType:f.A.Music};switch(E){case g.m.Dropdown:return(0,s.jsx)(m.u,{...e});case g.m.Badge:return(0,s.jsx)(x.p,{...e,className:i()({"!bg-slate-100":z})});default:return(0,s.jsxs)("div",{className:i()("group flex h-[34px] curs
1or-pointer items-center justify-between gap-1 rounded-[10px] border px-3 py-2 transition",{"active:button-textbased-tertiary-pressed hover:button-textbased-tertiary-hover":!z,"button-textbased-tertiary-default border-transparent":!z,"border-primary-600 surface-static-neutral-primary-soft fill-primary-600":z}),onClick:e.onClick,children:[(0,s.jsx)(b.E,{className:"whitespace-nowrap text-slate-800",typography:b.o.Footnote,bold:!0,children:W}),(0,s.jsx)(f.I,{className:i()("transition",{"fill-slate-600":!z,"fill-primary-600 rotate-180":z}),type:f.A.Sort,size:16})]})}})()})}}},e=>{e.O(0,[8435,7280,5121,813,9880,4540,2824,2359,4204,7225,113,5312,9432,1518,5340,8231,636,6593,8792],()=>e(e.s=67682)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.