1import{a as Ue}from"./chunk-JEVXVWBJ.js";import{b as ze}from"./chunk-FY5SCOJN.js";import{a as Fe}from"./chunk-BQ5TNB4S.js";import{a as Xe}from"./chunk-CUF3V4O6.js";import"./chunk-VY7URCCF.js";import{a as Re}from"./chunk-FM5PYVED.js";import"./chunk-HNYWPJQG.js";import"./chunk-ECGNRZAO.js";import{b as Ie}from"./chunk-G6JMM6YH.js";import"./chunk-THGGAECT.js";import{a as He}from"./chunk-WOFXRQ4V.js";import{a as $e}from"./chunk-XJN7VZ2J.js";import{c as D,g as De,h as ke}from"./chunk-QLOAR54U.js";import"./chunk-XOTV7GJG.js";import"./chunk-DVYB3SDD.js";import"./chunk-Y7Q577DU.js";import"./chunk-TLSMBXOV.js";import"./chunk-PCNKN7TU.js";import"./chunk-7WRF56BE.js";import"./chunk-6QI3LCLL.js";import"./chunk-G3J3JU5I.js";import"./chunk-RWFRRD6F.js";import"./chunk-JF6CNN2A.js";import"./chunk-6FPHKDDK.js";import"./chunk-2IPYKLQX.js";import"./chunk-GXA3YMKZ.js";import"./chunk-I5ANGE3H.js";import{a as Te}from"./chunk-MS5AUBUA.js";import"./chunk-BVVUPDCB.js";import{a as Ve}from"./chunk-UIX23F7I.js";import"./chunk-J3MTDSU3.js";import"./chunk-5G7CLTD4.js";import{c as I}from"./chunk-SGCHCWLM.js";import"./chunk-76SWT53P.js";import"./chunk-ATXMW3M2.js";import"./chunk-KYFYXE3K.js";import"./chunk-XSS37KCJ.js";import"./chunk-BJVL6ZJ5.js";import"./chunk-MBQWFBKS.js";import"./chunk-4GSKMGEL.js";import{a as Le}from"./chunk-XU6VXSM7.js";import"./chunk-F3H57332.js";import"./chunk-VI342OHG.js";import{a as xe}from"./chunk-DEGXQ3R2.js";import{d as P}from"./chunk-5TE7477A.js";import"./chunk-VQCVCUXF.js";import"./chunk-PR244PNT.js";import"./chunk-MS2CS6MN.js";import"./chunk-KLZQNCJY.js";import"./chunk-7JTNILXC.js";import"./chunk-CUOYDGDO.js";import{a as Ae}from"./chunk-TTJW756Y.js";import{Aa as le,Ah as be,C as oe,Da as a,Db as m,Eb as H,Fb as $,Fc as b,Gb as F,Gd as me,Hb as O,Hd as Ce,I as ae,Ih as S,Jb as p,Ld as ge,Mh as ye,Na as M,Oh as T,R as re,Rb as L,Rg as Oe,Sb as x,Tb as z,Ua as h,Wc as _e,Yb as N,Yd as B,Zb as U,_b as X,_c as pe,ba as d,d as te,eg as ve,ga as f,gb as g,ha as E,hb as u,he as ue,ih as Me,jb as ce,jh as Se,kb as se,kh as Pe,lb as de,mb as c,mc as V,mh as fe,nb as r,o as ie,ob as l,of as he,pb as _,qh as Ee,rh as we,vh as Ne,xc as G,za as R,zb as w}from"./chunk-NY4TI4KT.js";import{a as Z,b as ee,i as v,j as ne}from"./chunk-IQVXR75E.js";function We(e,i){e&1&&(r(0,"div",2),m(1,0),l());}function Ye(e,i){if(e&1&&(r(0,"div",4),_(1,"my-video-playlist-miniature",5),l()),e&2){let o=i.$implicit,n=p();a(),c("playlist",o)("displayAsRow",n.displayAsRow());}}var Be=(()=>{let i=class i{videoPlaylistService=d(Ie);videoChannelService=d(P);screenService=d(S);hooks=d(T);videoPlaylists=[];pagination={currentPage:1,itemsPerPage:20,totalItems:null};
1onDataSubject=new te();videoChannelSub;videoChannel;ngOnInit(){this.videoChannelSub=this.videoChannelService.videoChannelLoaded.subscribe(n=>{this.videoChannel=n,this.hooks.runAction("action:video-channel-playlists.video-channel.loaded","video-channel",{videoChannel:n}),this.videoPlaylists=[],fe(this.pagination),this.loadVideoPlaylists();});}ngAfterViewInit(){this.hooks.runAction("action:video-channel-playlists.init","video-channel");}ngOnDestroy(){this.videoChannelSub&&this.videoChannelSub.unsubscribe();}onNearOfBottom(){Pe(this.pagination)&&(this.pagination.currentPage+=1,this.loadVideoPlaylists());}displayAsRow(){return this.screenService.isInMobileView();}loadVideoPlaylists(){this.videoPlaylistService.listChannelPlaylists({videoChannel:this.videoChannel,componentPagination:this.pagination,sort:"videoChannelPosition"}).subscribe(n=>{this.videoPlaylists=this.videoPlaylists.concat(n.data),this.pagination.totalItems=n.total,this.hooks.runAction("action:video-channel-playlists.playlists.loaded","video-channel",{playlists:this.videoPlaylists}),this.onDataSubject.next(n.data);});}};v(i,"\u0275fac",function(t){return new(t||i)();}),v(i,"\u0275cmp",M({type:i,selectors:[["my-video-channel-playlists"]],decls:5,vars:2,consts:()=>{let n;return n="This channel does not have playlists.",[n,[1,"margin-content"],[1,"no-results"],["myInfiniteScroller","",1,"playlists",3,"nearOfBottom","dataObservable"],[1,"playlist-wrapper"],["toManage","false",3,"playlist","displayAsRow"]];},template:function(t,s){t&1&&(r(0,"div",1),g(1,We,2,0,"div",2),r(2,"div",3),O("nearOfBottom",function(){return s.onNearOfBottom();}),se(3,Ye,2,2,"div",4,ce),l()()),t&2&&(a(),u(s.pagination.totalItems===0?1:-1),a(),c("dataObservable",s.onDataSubject.asObservable()),a(),de(s.videoPlaylists));},dependencies:[Le,Re],styles:[`.playlists[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center}.playlists[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%]{padding-bottom:15px;margin-inline-end:.9375rem}.margin-content[_ngcontent-%COMP%]{--grid-videos-miniature-margins: var(--x-margin-content);margin-inline-start:var(--grid-videos-miniature-margins)!important;margin-inline-end:var(--grid-videos-miniature-margins)!important}@media screen and (max-width:500px){.margin-content[_ngcontent-%COMP%]{--grid-videos-miniature-margins: 0;width:auto}}@media screen and (min-width:500px){.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%]{--co-miniature-min-width: 255px;--co-miniature-max-width: 280px;display:grid;column-gap:30px;grid-template-columns:repeat(auto-fill,minmax(var(--co-miniature-min-width),1fr))}.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%]{margin:0 auto;width:100%}.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%] my-video-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%] my-video-playlist-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%] my-video-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%] my-video-playlist-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%] my-video-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .video-wrapper[_ngcontent-%COMP%] my-video-playlist-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%] my-video-miniature[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%] .playlist-wrapper[_ngcontent-%COMP%] my-video-playlist-miniature[_ngcontent-%COMP%]{display:block;min-width:var(--co-miniature-min-width);max-width:var(--co-miniature-max-width)}}@media screen and (min-width:500px)and (min-width:1800px){.margin-content[_ngcontent-%COMP%] .videos[_ngcontent-%COMP%], .margin-content[_ngcontent-%COMP%] .playlists[_ngcontent-%COMP%]{column-gap:2
1%}}@media screen and (max-width:500px){.playlists[_ngcontent-%COMP%]{justify-content:left;margin-inline-start:var(--x-margin-content)!important;margin-inline-end:var(--x-margin-content)!important}} 2/*# sourceMappingURL=video-channel-playlists.component-EXEH2XX6.css.map */`]}));let e=i;return e;})();var qe=["videosList"];function Je(e,i){if(e&1){let o=w();r(0,"my-videos-list",4,0),O("videosLoaded",function(t){f(o);let s=p();return E(s.onVideosLoaded(t));}),l();}if(e&2){let o=p();c("getVideosObservableFunction",o.getVideosObservableFunction)("getSyndicationItemsFunction",o.getSyndicationItemsFunction)("defaultSort",o.defaultSort)("displayAsRow",o.displayAsRow())("disabled",o.disabled);}}var je=(()=>{let i=class i{screenService=d(S);videoChannelService=d(P);videoService=d(I);hooks=d(T);videosList=b("videosList");getVideosObservableFunction=this.getVideosObservable.bind(this);getSyndicationItemsFunction=this.getSyndicationItems.bind(this);defaultSort="-publishedAt";videoChannel;disabled=!1;videoChannelSub;alreadyLoaded=!1;ngOnInit(){this.videoChannelSub=this.videoChannelService.videoChannelLoaded.subscribe(n=>{this.videoChannel?.id!==n.id&&(this.videoChannel=n,this.alreadyLoaded&&this.videosList().reloadVideos(),this.hooks.runAction("action:video-channel-videos.video-channel.loaded","video-channel",{videoChannel:n}),this.alreadyLoaded=!0);});}ngAfterViewInit(){this.hooks.runAction("action:video-channel-videos.init","video-channel");}ngOnDestroy(){this.videoChannelSub&&this.videoChannelSub.unsubscribe();}getVideosObservable(n,t){return this.videoService.listChannelVideos(ee(Z({},t.toVideosAPIObject()),{videoPagination:n,videoChannel:this.videoChannel,includeScheduledLive:!0,skipCount:!0}));}getSyndicationItems(){return this.videoService.getVideoChannelFeedUrls(this.videoChannel.id);}displayAsRow(){return this.screenService.isInMobileView();}disableForReuse(){this.disabled=!0;}enabledForReuse(){this.disabled=!1;}onVideosLoaded(n){this.hooks.runAction("action:video-channel-videos.videos.loaded","video-channel",{videos:n});}};v(i,"\u0275fac",function(t){return new(t||i)();}),v(i,"\u0275cmp",M({type:i,selectors:[["my-video-channel-videos"]],viewQuery:function(t,s){t&1&&L(s.videosList,qe,5),t&2&&x();},decls:3,vars:1,consts:()=>{let n;return n="Videos",[["videosList",""],n,[1,"visually-hidden"],["displayFilters","true","displayBy","false","hideScopeFilter","true","loadUserVideoPreferences","true","highlightLives","true",3,"getVideosObservableFunction","getSyndicationItemsFunction","defaultSort","displayAsRow","disabled"],["displayFilters","true","displayBy","false","hideScopeFilter","true","loadUserVideoPreferences","true","highlightLives","true",3,"videosLoaded","getVideosObservableFunction","getSyndicationItemsFunction","defaultSort","displayAsRow","disabled"]];},template:function(t,s){t&1&&(r(0,"h1",2),m(1,1),l(),g(2,Je,2,5,"my-videos-list",3)),t&2&&(a(2),u(s.videoChannel?2:-1));},dependencies:[Ue],encapsulation:2}));let e=i;return e;})();var Ke=["subscribeButton"],Ze=["supportModal"],en=e=>({expanded:e}),nn=e=>["/manage/update",e],tn=e=>[e];function on(e,i){if(e&1&&(r(0,"div",16),_(1,"img",37),l()),e&2){let o=p(2);a(),c("src",o.videoChannel.bannerUrl,le);}}function an(e,i){if(e&1&&(r(0,"a",38),m(1,6),l()),e&2){let o=p(3);c("routerLink",V(1,nn,o.videoChannel.nameWithHost));}}function rn(e,i){if(e&1&&_(0,"my-subscribe-button",39,3),e&2){let o=p(3);c("videoChannels",V(1,tn,o.videoChannel));}}function ln(e,i){if(e&1){let o=w();r(0,"button",41),O("click",function(){f(o);let t=p(3);return E(t.showSupportModal());}),_(1,"my-global-icon",42),r(2,"span",43),m(3,7),l()();}}function cn(e,i){if(e&1&&(g(0,an,2,3,"a",38),g(1,rn,2,3,"my-subscribe-button",39),g(2,ln,4,0,"button",40)),e&2){let o=p(2);u(o.isManageable()?0:-1),a(),u(o.isOwner()?-1:1),a(),u(o.videoChannel.support?2:-1);}}function sn(e,i){if(e&1&&(r(0,"div",44)(1,"div",20),m(2,8),l(),r(3,"div",45),_(4,"my-actor-avatar",46),r(5,"div",21)(6,"h4")(7,"a",47),N(8),l()(),r(9,"div",23),N(10),l(),_(11,"my-account-block-badges",48),l()(),r(12,"div",49),_(13,"div",30),l(),r(14,"a",50),m(15,9),l(),r(16,"a",51),m(17,10),l()()),e&2){let o=p(2);a(4),c("size",o.getAccountAvatarSize())("actor",o.ownerAccount)("internalHref",o.getAccountUrl()),a(3),c("routerLink",o.getAccountUrl()),a(),U(o.ownerAccount.displayName),a(2),X("@",o.videoChannel.ownerBy),a(),c("account",o.ownerAccount),a(2),c("innerHTML",o.ownerDescriptionHTML,R),a(),c("routerLink",o.getAccountUrl()),a(2),c("routerLink",o.getAccountUrl());}}function dn(e,i){if(e&1&&(r(0,"span",26),m(1,11),l()),e&2){let o=p(2);a(),H(o.channelVideosCount)(o.channelVideosCount),$(1);}}function _n(e,i){}function pn(e,i){e&1&&h(0,_n,0,0,"ng-template");}function mn(e,i){if(e&1){let o=w();r(0,"button",52),O("click",function(){f(o);let t=p(2);return E(t.channelDescriptionExpanded=!t.channelDescriptionExpanded);}),m(1,12),l();}}function Cn(e,i){}function gn(e,i){e&1&&h(0,Cn,0,0,"ng-template");}function un(e,i){}function hn(e,i){e&1&&h(0,un,0,0,"ng-template");}function vn(e,i){}function On(e,i){e&1&&h(0,vn,0,0,"ng-template");}function Mn(e,i){if(e&1&&(r(0,"div",13)(1,"div",15),g(2,on,2,1,"div",16),l(),r(3,"div",17),h(4,cn,3,3,"ng-template",null,1,G)(6,sn,18,10,"ng-template",null,2,G),r(8,"div",18),_(9,"my-actor-avatar",19),r(10,"div")(11,"div",20),m(12,4),l(),r(13,"div",21)(14,"div")(15,"div",22)(16,"h1"),N(17),l()(),r(18,"div",23)(19,"span"),N(20),l(),_(21,"my-copy-button",24),l(),r(22,"div",25)(23,"span"),m(24,5),l(),g(25,dn,2,2,"span",26),l()(),r(26,"div",27),h(27,pn,1,0,null,28),l()()()(),r(28,"div",29),_(29,"div",30),l(),g(30,mn,2,0,"button",31),r(31,"div",32),h(32,gn,1,0,null,28),l(),r(33,"div",33),h(34,hn,1,0,null,28),l()(),r(35,"div",34),h(36,O
2n,1,0,null,28),l(),r(37,"div",35),_(38,"my-horizontal-menu",36),l(),_(39,"router-outlet"),l()),e&2){let o=z(5),n=z(7),t=p();a(2),u(t.videoChannel.bannerUrl?2:-1),a(7),c("size",t.getChannelAvatarSize())("actor",t.videoChannel),a(8),U(t.videoChannel.displayName),a(3),X("@",t.videoChannel.nameWithHost),a(),c("value",t.videoChannel.nameWithHostForced),a(3),H(t.videoChannel.followersCount)(t.videoChannel.followersCount),$(24),a(),u(t.channelVideosCount!==void 0?25:-1),a(2),c("ngTemplateOutlet",o),a(),c("ngClass",V(17,en,t.channelDescriptionExpanded)),a(),c("innerHTML",t.channelDescriptionHTML,R),a(),u(t.hasShowMoreDescription()?30:-1),a(2),c("ngTemplateOutlet",o),a(2),c("ngTemplateOutlet",n),a(2),c("ngTemplateOutlet",n),a(2),c("menuEntries",t.links);}}var Qe=(()=>{let i=class i{route=d(me);authService=d(Se);videoChannelService=d(P);videoService=d(I);restExtractor=d(Me);hotkeysService=d(we);screenService=d(S);markdown=d(ye);blocklist=d(D);metaService=d(be);server=d(Ne);subscribeButton=b("subscribeButton");supportModal=b("supportModal");videoChannel;ownerAccount;hotkeys;links=[];isChannelManageable=!1;channelVideosCount;ownerDescriptionHTML="";channelDescriptionHTML="";channelDescriptionExpanded=!1;routeSub;ngOnInit(){this.routeSub=this.route.params.pipe(ie(n=>n.videoChannelName),ae(),re(n=>this.videoChannelService.get(n)),oe(n=>this.restExtractor.redirectTo404IfNotFound(n,"other",[B.BAD_REQUEST_400,B.NOT_FOUND_404]))).subscribe(n=>ne(this,null,function*(){let t=this.server.getHTMLConfig().instance.name;this.metaService.setTitle(n.displayName),this.metaService.setRSSFeeds(he({url:ve(),channel:n,titles:{instanceVideosFeed:`${t} - Videos feed`,channelVideosFeed:`${n.displayName} - Videos feed`,channelPodcastFeed:`${n.displayName} - Podcast feed`}})),this.channelDescriptionHTML=yield this.markdown.textMarkdownToHTML({markdown:n.description,withEmoji:!0,withHtml:!0}),this.ownerDescriptionHTML=yield this.markdown.textMarkdownToHTML({markdown:n.ownerAccount.description,withEmoji:!0,withHtml:!0}),this.videoChannel=n,this.ownerAccount=new Oe(this.videoChannel.ownerAccount),this.loadChannelVideosCount(),this.loadOwnerBlockStatus();})),this.hotkeys=[new Ee("Shift+s",()=>{let n=this.subscribeButton();return n.isSubscribedToAll()?n.unsubscribe():n.subscribe(),!1;},"Subscribe to the account")],this.isUserLoggedIn()&&this.hotkeysService.add(this.hotkeys),this.links=[{label:"Videos",routerLink:"videos"},{label:"Playlists",routerLink:"video-playlists"}];}ngOnDestroy(){this.routeSub&&this.routeSub.unsubscribe(),this.isUserLoggedIn()&&this.hotkeysService.remove(this.hotkeys),this.metaService.revertMetaTags();}isInSmallView(){return this.screenService.isInSmallView();}getAccountAvatarSize(){return this.isInSmallView()?64:48;}getChannelAvatarSize(){return this.isInSmallView()?80:120;}isUserLoggedIn(){return this.authService.isLoggedIn();}isOwner(){return this.isUserLoggedIn()?this.videoChannel?.ownerAccount.userId===this.authService.getUser().id:!1;}isManageable(){return!this.videoChannel.isLocal||!this.isUserLoggedIn()?!1:this.isOwner()||this.authService.getUser().hasRight(ue.MANAGE_ANY_VIDEO_CHANNEL);}hasShowMoreDescription(){return!this.channelDescriptionExpanded&&this.channelDescriptionHTML.length>100;}showSupportModal(){this.supportModal().show();}getAccountUrl(){return["/a",this.videoChannel.ownerBy];}loadChannelVideosCount(){this.videoService.listChannelVideos({videoChannel:this.videoChannel,videoPagination:{currentPage:1,itemsPerPage:0},sort:"-publishedAt"}).subscribe(n=>this.channelVideosCount=n.total);}loadOwnerBlockStatus(){this.blocklist.getStatus({accounts:[this.ownerAccount.nameWithHostForced],hosts:[this.ownerAccount.host]}).subscribe(n=>this.ownerAccount.updateBlockStatus(n));}};v(i,"\u0275fac",function(t){return new(t||i)();}),v(i,"\u0275cmp",M({type:i,selectors:[["ng-component"]],viewQuery:function(t,s){t&1&&L(s.subscribeButton,Ke,5)(s.supportModal,Ze,5),t&2&&x(2);},decls:3,vars:3,consts:()=>{let n;n="Handle copied";let t;t="Copy channel handle";let s;s="Show the complete description";let k;k="VIDEO CHANNEL";let y;y="{VAR_PLURAL, plural, =0 {No subscribers} =1 {1 subscriber}
2 other {{INTERPOLATION} subscribers}}",y=F(y,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let j;j="Manage channel";let Q;Q="Support";let W;W="View account";let Y;Y="OWNER ACCOUNT";let q;q="View account";let J;J="View owner account";let A;A="{VAR_PLURAL, plural, =0 {No videos} =1 {1 video} other {{INTERPOLATION} videos}}",A=F(A,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let K;return K=" Show more... ",[["supportModal",""],["buttonsTemplate",""],["ownerTemplate",""],["subscribeButton",""],k,y,j,Q,Y,q,J,A,K,[1,"root"],[3,"name","content"],[1,"margin-content"],[1,"banner","mb-4"],[1,"margin-content","channel-info"],[1,"channel-avatar-row"],["actorType","channel",3,"size","actor"],[1,"section-label"],[1,"actor-info"],[1,"actor-display-name"],[1,"actor-handle"],["notification",n,"title",t,3,"value"],[1,"actor-counters"],[1,"videos-count"],[1,"channel-buttons","right"],[4,"ngTemplateOutlet"],[1,"channel-description",3,"ngClass"],[1,"description-html",3,"innerHTML"],["title",s,1,"show-more","peertube-button-like-link"],[1,"channel-buttons","bottom"],[1,"owner-card"],[1,"margin-content","bottom-owner"],[1,"margin-content","mb-3"],[3,"menuEntries"],["alt","Channel banner",3,"src"],[1,"peertube-button-link","primary-button",3,"routerLink"],[3,"videoChannels"],[1,"support-button","peertube-button","tertiary-button"],[1,"support-button","peertube-button","tertiary-button",3,"click"],["iconName","support","aria-hidden","true"],[1,"icon-text"],[1,"owner-block"],[1,"avatar-row"],["actorType","account",1,"account-avatar",3,"size","actor","internalHref"],["title",W,1,"text-decoration-none",3,"routerLink"],[3,"account"],[1,"owner-description"],[1,"view-account","peertube-button-link","primary-button","short","mt-3",3,"routerLink"],[1,"view-account","link-primary","complete",3,"routerLink"],["title",s,1,"show-more","peertube-button-like-link",3,"click"]];},template:function(t,s){t&1&&(g(0,Mn,40,19,"div",13),_(1,"my-support-modal",14,0)),t&2&&(u(s.videoChannel?0:-1),a(),c("name",s.videoChannel==null?null:s.videoChannel.displayName)("content",s.videoChannel==null?null:s.videoChannel.support));},dependencies:[ge,ze,Ae,xe,He,Ve,pe,_e,Te,Ce,Xe],styles:[`@charset "UTF-8";.root[_ngcontent-%COMP%]{--co-channel-img-margin: 30px;--co-font-size: 16px;--co-channel-handle-font-size: 16px;--co-owner-handle-font-size: 14px}.actor-info[_ngcontent-%COMP%]{min-width:1px;width:100%;align-items:flex-start}.actor-info[_ngcontent-%COMP%] > h4[_ngcontent-%COMP%], .actor-info[_ngcontent-%COMP%] > .actor-handle[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.channel-info[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;font-size:var(--co-font-size);margin-bottom:calc(1.425rem + 2.1vw)}@media(min-width:1200px){.channel-info[_ngcontent-%COMP%]{margin-bottom:3rem}}.channel-avatar-row[_ngcontent-%COMP%]{display:flex;grid-column:1;margin-bottom:calc(1.325rem + .9vw)}@media(min-width:1200px){.channel-avatar-row[_ngcontent-%COMP%]{margin-bottom:2rem}}.channel-avatar-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{min-width:1px;margin-inline-start:var(--co-channel-img-margin)}.channel-avatar-row[_ngcontent-%COMP%] .actor-info[_ngcontent-%COMP%]{display:flex}.channel-avatar-row[_ngcontent-%COMP%] .actor-info[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{flex-grow:1;min-width:1px}.channel-avatar-row[_ngcontent-%COMP%] .actor-display-name[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;word-break:break-word;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.channel-avatar-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:700;margin:0;font-size:calc(1.325rem + .9vw)}@media(min-width:1200px){.channel-avatar-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}}.channel-avatar-row[_ngcontent-%COMP%] .actor-handle[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.channel-avatar-row[_ngcontent-%COMP%] .actor-handle[_ngcontent-%COMP%], .channel-avatar-row[_ngcontent-%COMP%] .actor-counters[_ngcontent-%COMP%]{color:var(--fg-300);
2font-size:var(--co-channel-handle-font-size)}.channel-avatar-row[_ngcontent-%COMP%] .actor-counters[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child):after{content:"\\2022";margin:0 10px;color:var(--primary)}.channel-description[_ngcontent-%COMP%]{grid-column:1;word-break:break-word}.show-more[_ngcontent-%COMP%]{display:none;margin-inline-start:auto;margin-inline-end:auto;margin-top:.625rem;margin-bottom:calc(1.40625rem + 1.875vw)}@media(min-width:1200px){.show-more[_ngcontent-%COMP%]{margin-bottom:2.8125rem}}.channel-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;gap:1rem}.channel-buttons.right[_ngcontent-%COMP%]{margin-inline-start:calc(1.425rem + 2.1vw)}@media(min-width:1200px){.channel-buttons.right[_ngcontent-%COMP%]{margin-inline-start:3rem}}.channel-buttons.bottom[_ngcontent-%COMP%]{justify-content:center;display:none;margin-bottom:calc(1.325rem + .9vw)}@media(min-width:1200px){.channel-buttons.bottom[_ngcontent-%COMP%]{margin-bottom:2rem}}.owner-card[_ngcontent-%COMP%]{grid-column:2;grid-row:1/3;place-self:end;margin-inline-start:calc(1.78125rem + 6.375vw)}@media(min-width:1200px){.owner-card[_ngcontent-%COMP%]{margin-inline-start:6.5625rem}}.bottom-owner[_ngcontent-%COMP%]{display:none}.owner-block[_ngcontent-%COMP%]{background-color:var(--bg-secondary-350);padding:30px;width:300px;font-size:var(--co-font-size);border-radius:5px}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%]{display:flex;margin-bottom:15px}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] .actor-info[_ngcontent-%COMP%]{margin-inline-start:.9375rem}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:18px;margin:0}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--fg)}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] .actor-handle[_ngcontent-%COMP%]{font-size:var(--co-owner-handle-font-size);color:var(--fg-300)}.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]{max-height:140px;word-break:break-word;position:relative;overflow:hidden}.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]:after{content:"";pointer-events:none;width:100%;height:100%;position:absolute;left:0;top:0;background:linear-gradient(transparent 120px,var(--bg-secondary-350))}.view-account.complete[_ngcontent-%COMP%]{display:none}my-copy-button[_ngcontent-%COMP%]{margin-inline-start:.1875rem}@media screen and (max-width:1400px){.channel-avatar-row[_ngcontent-%COMP%]{grid-column:1/3}.owner-card[_ngcontent-%COMP%]{grid-row:2;margin-inline-start:calc(1.5rem + 3vw)}}@media screen and (max-width:1400px)and (min-width:1200px){.owner-card[_ngcontent-%COMP%]{margin-inline-start:3.75rem}}@media screen and (max-width:1100px){.root[_ngcontent-%COMP%]{--co-channel-img-margin: 15px}.channel-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:0}.channel-description[_ngcontent-%COMP%]:not(.expanded){max-height:70px;position:relative;overflow:hidden}.channel-description[_ngcontent-%COMP%]:not(.expanded):after{content:"";pointer-events:none;width:100%;height:100%;position:absolute;left:0;top:0;background:linear-gradient(transparent 30px,var(--bg))}.show-more[_ngcontent-%COMP%]{display:inline-block}.channel-buttons.right[_ngcontent-%COMP%]{display:none}.channel-buttons.bottom[_ngcontent-%COMP%]{display:flex}.owner-card[_ngcontent-%COMP%]{display:none}.bottom-owner[_ngcontent-%COMP%]{display:block;border-bottom:2px solid var(--bg-secondary-400);margin-bottom:60px}.owner-block[_ngcontent-%COMP%]{display:grid;width:100%;padding:1rem}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%]{grid-column:1;margin-inline-end:calc(1.3125rem + .75vw)}}@media screen and (max-width:1100px)and (min-width:1200px){.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%]{margin-inline-end:1.875rem}}@media screen and (max-width:1100px){.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]{grid-column:2;max-height:70px;position:relative;overflow:hidden}.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]:after{content:"";pointer-events:none;width:100%;height:100%;position:absolute;
2left:0;top:0;background:linear-gradient(transparent 30px,var(--bg-secondary-350))}.owner-block[_ngcontent-%COMP%] .view-account[_ngcontent-%COMP%]{grid-column:2}.view-account.complete[_ngcontent-%COMP%]{display:block;text-align:end;margin-top:10px}.view-account.short[_ngcontent-%COMP%]{display:none}}@media screen and (max-width:500px){.root[_ngcontent-%COMP%]{--co-font-size: 14px;--co-channel-handle-font-size: 13px;--co-owner-handle-font-size: 13px}.links[_ngcontent-%COMP%]{margin:auto!important;width:min-content}.bottom-owner[_ngcontent-%COMP%]{padding:15px;margin-bottom:30px}.bottom-owner[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%]{display:none}.owner-block[_ngcontent-%COMP%]{display:block}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;margin:0}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:16px}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] .actor-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;margin-top:-5px}.owner-block[_ngcontent-%COMP%] .avatar-row[_ngcontent-%COMP%] .account-avatar[_ngcontent-%COMP%]{margin:-30px 0 0 15px}.owner-block[_ngcontent-%COMP%] .owner-description[_ngcontent-%COMP%]{display:none}} 3/*# sourceMappingURL=video-channels.component-FDPLFIOA.css.map */`]}));let e=i;return e;})();var gt=[{path:":videoChannelName",component:Qe,providers:[Fe,D,$e,De,ke],children:[{path:"",redirectTo:"videos",pathMatch:"full"},{path:"videos",component:je,data:{reuse:{enabled:!0,key:"video-channel-videos-list"}}},{path:"video-playlists",component:Be}]}];export{gt as default};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-2TKICDIR.js.map
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.