[Automatic] Updated UI files

This commit is contained in:
Fabio Manganiello 2024-10-20 00:37:58 +00:00
parent 825593a445
commit 51464b808c
Signed by untrusted user: blacklight
GPG key ID: AD6D273C08B82EC9
103 changed files with 89 additions and 89 deletions

View file

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" src="/static/js/chunk-vendors.5645dfdc.js"></script><script defer="defer" src="/static/js/app.6d4555db.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.70fb1f4a.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Platypush"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" src="/static/js/chunk-vendors.5645dfdc.js"></script><script defer="defer" src="/static/js/app.aff0fdf0.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.70fb1f4a.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Platypush"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1039],{1039:function(e,t,l){l.r(t),l.d(t,{default:function(){return g}});var i=l(6252);const o={class:"videos index"},s={key:1,class:"wrapper music-wrapper"},c={key:3,class:"wrapper items-wrapper"};function n(e,t,l,n,a,r){const d=(0,i.up)("Loading"),m=(0,i.up)("Music"),p=(0,i.up)("NoItems"),u=(0,i.up)("Collections"),h=(0,i.up)("Results");return(0,i.wg)(),(0,i.iD)("div",o,[e.isLoading?((0,i.wg)(),(0,i.j4)(d,{key:0})):"music"===e.collection?.collection_type?((0,i.wg)(),(0,i.iD)("div",s,[(0,i.Wm)(m,{collection:e.collection,filter:e.filter,loading:e.isLoading,path:e.path,onPlay:t[0]||(t[0]=t=>e.$emit("play",t)),onPlayWithOpts:t[1]||(t[1]=t=>e.$emit("play-with-opts",t)),onSelect:t[2]||(t[2]=t=>{e.selectedResult=t,e.$emit("select",t)}),onSelectCollection:r.selectCollection},null,8,["collection","filter","loading","path","onSelectCollection"])])):e.items?.length?((0,i.wg)(),(0,i.iD)("div",c,[r.collections.length>0?((0,i.wg)(),(0,i.j4)(u,{key:0,collection:e.collection,filter:e.filter,items:r.collections,loading:e.isLoading,"parent-id":e.collection?.id,onSelect:r.selectCollection},null,8,["collection","filter","items","loading","parent-id","onSelect"])):(0,i.kq)("",!0),r.mediaItems.length>0?((0,i.wg)(),(0,i.j4)(h,{key:1,results:r.mediaItems,sources:{jellyfin:!0},filter:e.filter,"selected-result":e.selectedResult,onAddToPlaylist:t[3]||(t[3]=t=>e.$emit("add-to-playlist",t)),onDownload:t[4]||(t[4]=t=>e.$emit("download",t)),onPlay:t[5]||(t[5]=t=>e.$emit("play",t)),onPlayWithOpts:t[6]||(t[6]=t=>e.$emit("play-with-opts",t)),onRemoveFromPlaylist:t[7]||(t[7]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[8]||(t[8]=t=>e.selectedResult=t)},null,8,["results","filter","selected-result"])):(0,i.kq)("",!0)])):((0,i.wg)(),(0,i.j4)(p,{key:2,"with-shadow":!1},{default:(0,i.w5)((()=>[(0,i.Uk)(" No videos found. ")])),_:1}))])}var a=l(1112),r=l(6791),d=l(8113),m=l(1137),p=l(3222),u=l(5167),h={mixins:[d["default"]],emits:["select","select-collection"],components:{Collections:a["default"],Loading:r.Z,Music:m["default"],NoItems:p.Z,Results:u.Z},computed:{collections(){return this.sortedItems?.filter((e=>"collection"===e.item_type))??[]},mediaItems(){const e=this.sortedItems?.filter((e=>"collection"!==e.item_type))??[];return this.collection&&!this.collection.collection_type?e.sort(((e,t)=>{if(e.created_at&&t.created_at)return new Date(e.created_at)<new Date(t.created_at);if(e.created_at)return-1;if(t.created_at)return 1;let l=[e.name||e.title||"",t.name||t.title||""];return l[0].localeCompare(l[1])})):e}},methods:{selectCollection(e){this.$emit("select-collection",{type:"homevideos",...e})},async init(){const e=this.getUrlArgs();let t=e?.collection;if(t){this.loading_=!0;try{t=await this.request("media.jellyfin.info",{item_id:t}),t&&this.selectCollection(t)}finally{this.loading_=!1}}},async refresh(){if("music"!==this.collection?.collection_type){this.loading_=!0;try{"tvshows"===this.collection?.collection_type?this.items=(await this.request("media.jellyfin.get_collections",{parent_id:this.collection.id})).map((e=>({...e,item_type:"collection"}))):this.items=this.collection?.id?await this.request("media.jellyfin.get_items",{parent_id:this.collection.id,limit:25e3}):(await this.request("media.jellyfin.get_collections")).map((e=>({...e,item_type:"collection"})))}finally{this.loading_=!1}}}},async mounted(){this.init(),await this.refresh()}},y=l(3744);const f=(0,y.Z)(h,[["render",n],["__scopeId","data-v-d3b1ee0c"]]);var g=f}}]);
//# sourceMappingURL=1039.740c8191.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1042],{3222:function(e,t,o){o.d(t,{Z:function(){return r}});var n=o(6252),d=o(3577);const a={class:"no-items-container"};function l(e,t,o,l,s,i){return(0,n.wg)(),(0,n.iD)("div",a,[(0,n._)("div",{class:(0,d.C_)(["no-items fade-in",{shadow:o.withShadow}])},[(0,n.WI)(e.$slots,"default",{},void 0,!0)],2)])}var s={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},i=o(3744);const u=(0,i.Z)(s,[["render",l],["__scopeId","data-v-4856c4d7"]]);var r=u},1042:function(e,t,o){o.r(t),o.d(t,{default:function(){return f}});var n=o(6252);const d={class:"media-youtube-feed"};function a(e,t,o,a,l,s){const i=(0,n.up)("Loading"),u=(0,n.up)("NoItems"),r=(0,n.up)("Results");return(0,n.wg)(),(0,n.iD)("div",d,[s.isLoading?((0,n.wg)(),(0,n.j4)(i,{key:0})):l.feed?.length?((0,n.wg)(),(0,n.j4)(r,{key:2,results:l.feed,filter:o.filter,sources:{youtube:!0},"selected-result":l.selectedResult,onAddToPlaylist:t[0]||(t[0]=t=>e.$emit("add-to-playlist",t)),onDownload:t[1]||(t[1]=t=>e.$emit("download",t)),onDownloadAudio:t[2]||(t[2]=t=>e.$emit("download-audio",t)),onOpenChannel:t[3]||(t[3]=t=>e.$emit("open-channel",t)),onSelect:t[4]||(t[4]=e=>l.selectedResult=e),onPlay:t[5]||(t[5]=t=>e.$emit("play",t)),onPlayWithOpts:t[6]||(t[6]=t=>e.$emit("play-with-opts",t))},null,8,["results","filter","selected-result"])):((0,n.wg)(),(0,n.j4)(u,{key:1,"with-shadow":!1},{default:(0,n.w5)((()=>[(0,n.Uk)(" No videos found. ")])),_:1}))])}var l=o(3222),s=o(6791),i=o(5167),u=o(8637),r={mixins:[u.Z],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts"],components:{Loading:s.Z,NoItems:l.Z,Results:i.Z},props:{filter:{type:String,default:null},loading:{type:Boolean,default:!1}},data(){return{feed:[],loading_:!1,selectedResult:null}},computed:{isLoading(){return this.loading_||this.loading}},methods:{async loadFeed(){this.loading_=!0;try{this.feed=(await this.request("youtube.get_feed")).map((e=>({...e,type:"youtube"})))}finally{this.loading_=!1}}},mounted(){this.loadFeed()}},p=o(3744);const c=(0,p.Z)(r,[["render",a],["__scopeId","data-v-0a5cd0e6"]]);var f=c}}]);
//# sourceMappingURL=1042.433832bc.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1652],{3222:function(e,t,a){a.d(t,{Z:function(){return u}});var s=a(6252),l=a(3577);const i={class:"no-items-container"};function n(e,t,a,n,o,d){return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",{class:(0,l.C_)(["no-items fade-in",{shadow:a.withShadow}])},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],2)])}var o={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},d=a(3744);const r=(0,d.Z)(o,[["render",n],["__scopeId","data-v-4856c4d7"]]);var u=r},1652:function(e,t,a){a.r(t),a.d(t,{default:function(){return z}});var s=a(6252),l=a(3577);const i={class:"media-youtube-playlist"},n={key:1,class:"playlist-container"},o={class:"header"},d={class:"banner"},r=["src"],u={class:"row info-container"},c={class:"info"},m={class:"row"},p=["href"],h={key:1,class:"title"},y={class:"n-items"},w={key:0,class:"row"},f={class:"description"},g={key:1,class:"row"},v={class:"channel"},_=["href"];function k(e,t,a,k,b,I){const D=(0,s.up)("Loading"),$=(0,s.up)("NoItems"),Z=(0,s.up)("Results");return(0,s.wg)(),(0,s.iD)("div",i,[b.loading?((0,s.wg)(),(0,s.j4)(D,{key:0})):((0,s.wg)(),(0,s.iD)("div",n,[(0,s._)("div",o,[(0,s._)("div",d,[a.metadata?.image?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,src:a.metadata?.image},null,8,r)):(0,s.kq)("",!0)]),(0,s._)("div",u,[(0,s._)("div",c,[(0,s._)("div",m,[a.metadata?.url?((0,s.wg)(),(0,s.iD)("a",{key:0,class:"title",href:a.metadata?.url,target:"_blank",rel:"noopener noreferrer"},(0,l.zw)(I.name),9,p)):((0,s.wg)(),(0,s.iD)("span",h,(0,l.zw)(I.name),1)),(0,s._)("div",y,(0,l.zw)(I.nItems)+" videos",1)]),a.metadata?.description?((0,s.wg)(),(0,s.iD)("div",w,[(0,s._)("div",f,(0,l.zw)(a.metadata?.description),1)])):(0,s.kq)("",!0),a.metadata?.channel_url?((0,s.wg)(),(0,s.iD)("div",g,[(0,s._)("div",v,[(0,s.Uk)(" Uploaded by "),(0,s._)("a",{href:a.metadata.channel_url,target:"_blank",rel:"noopener noreferrer"},(0,l.zw)(a.metadata?.channel),9,_)])])):(0,s.kq)("",!0)])])]),I.nItems?((0,s.wg)(),(0,s.j4)(Z,{key:1,results:b.items,sources:{youtube:!0},filter:a.filter,playlist:a.id,"selected-result":b.selectedResult,onAddToPlaylist:t[0]||(t[0]=t=>e.$emit("add-to-playlist",t)),onDownload:t[1]||(t[1]=t=>e.$emit("download",t)),onDownloadAudio:t[2]||(t[2]=t=>e.$emit("download-audio",t)),onOpenChannel:t[3]||(t[3]=t=>e.$emit("open-channel",t)),onPlay:t[4]||(t[4]=t=>e.$emit("play",t)),onPlayWithOpts:t[5]||(t[5]=t=>e.$emit("play-with-opts",t)),onRemoveFromPlaylist:t[6]||(t[6]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[7]||(t[7]=e=>b.selectedResult=e)},null,8,["results","filter","playlist","selected-result"])):((0,s.wg)(),(0,s.j4)($,{key:0,"with-shadow":!1},{default:(0,s.w5)((()=>[(0,s.Uk)(" No videos found. ")])),_:1}))]))])}var b=a(3222),I=a(6791),D=a(5167),$=a(8637),Z={mixins:[$.Z],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","remove-from-playlist"],components:{Loading:I.Z,NoItems:b.Z,Results:D.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null},metadata:{type:Object,default:null}},data(){return{items:[],loading:!1,selectedResult:null}},computed:{name(){return this.metadata?.title||this.metadata?.name},nItems(){return this.metadata?.videos||this.items?.length||0}},methods:{async loadItems(){this.loading=!0;try{this.items=(await this.request("youtube.get_playlist",{id:this.id})).map((e=>({...e,type:"youtube"})))}finally{this.loading=!1}}},mounted(){this.setUrlArgs({playlist:this.id}),this.loadItems()},unmounted(){this.setUrlArgs({playlist:null})}},R=a(3744);const q=(0,R.Z)(Z,[["render",k],["__scopeId","data-v-7f3997be"]]);var z=q}}]);
//# sourceMappingURL=1652.f04f2ead.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2149],{2149:function(e,t,i){i.r(t),i.d(t,{default:function(){return w}});var l=i(6252);const o={class:"videos index"},s={key:1,class:"wrapper music-wrapper"},n={key:3,class:"wrapper items-wrapper"};function c(e,t,i,c,a,r){const d=(0,l.up)("Loading"),m=(0,l.up)("Music"),p=(0,l.up)("NoItems"),u=(0,l.up)("Collections"),h=(0,l.up)("Results");return(0,l.wg)(),(0,l.iD)("div",o,[e.isLoading?((0,l.wg)(),(0,l.j4)(d,{key:0})):"music"===e.collection?.collection_type?((0,l.wg)(),(0,l.iD)("div",s,[(0,l.Wm)(m,{collection:e.collection,filter:e.filter,loading:e.isLoading,path:e.path,onPlay:t[0]||(t[0]=t=>e.$emit("play",t)),onPlayWithOpts:t[1]||(t[1]=t=>e.$emit("play-with-opts",t)),onSelect:t[2]||(t[2]=t=>{e.selectedResult=t,e.$emit("select",t)}),onSelectCollection:r.selectCollection,onView:t[3]||(t[3]=t=>e.$emit("view",t))},null,8,["collection","filter","loading","path","onSelectCollection"])])):e.items?.length?((0,l.wg)(),(0,l.iD)("div",n,[r.collections.length>0?((0,l.wg)(),(0,l.j4)(u,{key:0,collection:e.collection,filter:e.filter,items:r.collections,loading:e.isLoading,"parent-id":e.collection?.id,onSelect:r.selectCollection},null,8,["collection","filter","items","loading","parent-id","onSelect"])):(0,l.kq)("",!0),r.mediaItems.length>0?((0,l.wg)(),(0,l.j4)(h,{key:1,results:r.mediaItems,sources:{jellyfin:!0},filter:e.filter,"selected-result":e.selectedResult,onAddToPlaylist:t[4]||(t[4]=t=>e.$emit("add-to-playlist",t)),onDownload:t[5]||(t[5]=t=>e.$emit("download",t)),onPlay:t[6]||(t[6]=t=>e.$emit("play",t)),onPlayWithOpts:t[7]||(t[7]=t=>e.$emit("play-with-opts",t)),onRemoveFromPlaylist:t[8]||(t[8]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[9]||(t[9]=t=>e.selectedResult=t),onView:t[10]||(t[10]=t=>e.$emit("view",t))},null,8,["results","filter","selected-result"])):(0,l.kq)("",!0)])):((0,l.wg)(),(0,l.j4)(p,{key:2,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No videos found. ")])),_:1}))])}var a=i(3524),r=i(6791),d=i(8113),m=i(4106),p=i(3222),u=i(5167),h={mixins:[d["default"]],emits:["select","select-collection"],components:{Collections:a["default"],Loading:r.Z,Music:m["default"],NoItems:p.Z,Results:u.Z},computed:{collections(){return this.sortedItems?.filter((e=>"collection"===e.item_type))??[]},mediaItems(){const e=this.sortedItems?.filter((e=>"collection"!==e.item_type))??[];return this.collection&&!this.collection.collection_type?e.sort(((e,t)=>{if(e.created_at&&t.created_at)return new Date(e.created_at)<new Date(t.created_at);if(e.created_at)return-1;if(t.created_at)return 1;let i=[e.name||e.title||"",t.name||t.title||""];return i[0].localeCompare(i[1])})):e}},methods:{selectCollection(e){this.$emit("select-collection",{type:"homevideos",...e})},async init(){const e=this.getUrlArgs();let t=e?.collection;if(t){this.loading_=!0;try{t=await this.request("media.jellyfin.info",{item_id:t}),t&&this.selectCollection(t)}finally{this.loading_=!1}}},async refresh(){if("music"!==this.collection?.collection_type){this.loading_=!0;try{"tvshows"===this.collection?.collection_type?this.items=(await this.request("media.jellyfin.get_collections",{parent_id:this.collection.id})).map((e=>({...e,item_type:"collection"}))):this.items=this.collection?.id?await this.request("media.jellyfin.get_items",{parent_id:this.collection.id,limit:25e3}):(await this.request("media.jellyfin.get_collections")).map((e=>({...e,item_type:"collection"})))}finally{this.loading_=!1}}}},async mounted(){this.init(),await this.refresh()}},y=i(3744);const f=(0,y.Z)(h,[["render",c],["__scopeId","data-v-1c02d534"]]);var w=f}}]);
//# sourceMappingURL=2149.b53b2f6b.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2305],{2305:function(e,n,t){t.r(n),t.d(n,{default:function(){return i}});var u=t(6252);function a(e,n,t,a,r,c){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.chromecast"})}var r=t(3897),c={components:{Media:r["default"]}},s=t(3744);const p=(0,s.Z)(c,[["render",a]]);var i=p}}]);
//# sourceMappingURL=2305.d81317b5.js.map
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2305],{2305:function(e,n,t){t.r(n),t.d(n,{default:function(){return i}});var u=t(6252);function a(e,n,t,a,r,c){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.chromecast"})}var r=t(6734),c={components:{Media:r["default"]}},s=t(3744);const p=(0,s.Z)(c,[["render",a]]);var i=p}}]);
//# sourceMappingURL=2305.90eac875.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/2305.d81317b5.js","mappings":"iPACEA,EAAAA,EAAAA,IAAwCC,EAAA,CAAjC,cAAY,oB,eAMrB,GACEC,WAAY,CAACC,MAAKA,EAAAA,a,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaChromecast/Index.vue","webpack://platypush/./src/components/panels/MediaChromecast/Index.vue?bdff"],"sourcesContent":["<template>\n <Media plugin-name=\"media.chromecast\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=1adadaac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","components","Media","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/2305.90eac875.js","mappings":"iPACEA,EAAAA,EAAAA,IAAwCC,EAAA,CAAjC,cAAY,oB,eAMrB,GACEC,WAAY,CAACC,MAAKA,EAAAA,a,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaChromecast/Index.vue","webpack://platypush/./src/components/panels/MediaChromecast/Index.vue?bdff"],"sourcesContent":["<template>\n <Media plugin-name=\"media.chromecast\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=1adadaac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","components","Media","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2399],{1112:function(e,a,t){t.r(a),t.d(a,{default:function(){return y}});var s=t(6252),l=t(3577);const i={class:"collections items"},o=["onClick"],r={class:"image"},n=["src","alt","onError"],c={key:0,class:"name"},f={key:1,class:"float bottom-right"};function m(e,a,t,m,d,u){return(0,s.wg)(),(0,s.iD)("div",{class:(0,l.C_)(["collections index",{"is-root":!t.parentId}])},[(0,s._)("div",i,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(u.filteredItems,(a=>((0,s.wg)(),(0,s.iD)("div",{class:"collection item",key:a.id,onClick:t=>e.$emit("select",a)},[(0,s._)("div",r,[d.fallbackImageCollections[a.id]?((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,l.C_)(u.collectionsIcons[a.type]??"fas fa-folder")},null,2)):((0,s.wg)(),(0,s.iD)("img",{key:0,src:a.image,alt:a.name,onError:e=>u.onImageError(a)},null,40,n))]),d.fallbackImageCollections[a.id]||t.parentId?((0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("h2",null,(0,l.zw)(a.name),1)])):(0,s.kq)("",!0),a.year?((0,s.wg)(),(0,s.iD)("div",f,[(0,s._)("span",null,(0,l.zw)(a.year),1)])):(0,s.kq)("",!0)],8,o)))),128))])],2)}var d={props:{filter:{type:String},items:{type:Array,default:()=>[]},parentId:{type:String}},data(){return{fallbackImageCollections:{}}},computed:{collectionsIcons(){return{books:"fas fa-book",homevideos:"fas fa-video",movies:"fas fa-film",music:"fas fa-music",playlists:"fas fa-list",photos:"fas fa-image",series:"fas fa-tv"}},filteredItems(){return Object.values(this.items).filter((e=>!this.filter||e.name.toLowerCase().includes(this.filter.toLowerCase()))).sort(((e,a)=>"album"===e.item_type&&"album"===a.item_type&&e.year&&a.year&&e.year!==a.year?a.year-e.year:e.name.localeCompare(a.name)))}},methods:{onImageError(e){this.fallbackImageCollections[e.id]=!0}}},u=t(3744);const p=(0,u.Z)(d,[["render",m],["__scopeId","data-v-bd50ef86"]]);var y=p}}]);
//# sourceMappingURL=2399.8791ae2d.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2614],{2614:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,c,r){const p=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(p,{"plugin-name":"media.vlc"})}var c=a(3897),r={name:"MediaVlc",components:{Media:c["default"]}},p=a(3744);const s=(0,p.Z)(r,[["render",t]]);var i=s}}]);
//# sourceMappingURL=2614.34a64dd4.js.map
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2614],{2614:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,c,r){const p=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(p,{"plugin-name":"media.vlc"})}var c=a(6734),r={name:"MediaVlc",components:{Media:c["default"]}},p=a(3744);const s=(0,p.Z)(r,[["render",t]]);var i=s}}]);
//# sourceMappingURL=2614.b2a40037.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/2614.34a64dd4.js","mappings":"iPACEA,EAAAA,EAAAA,IAAiCC,EAAA,CAA1B,cAAY,a,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaVlc/Index.vue","webpack://platypush/./src/components/panels/MediaVlc/Index.vue?7b0b"],"sourcesContent":["<template>\n <Media plugin-name=\"media.vlc\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaVlc\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=9233e214\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","name","components","Media","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/2614.b2a40037.js","mappings":"iPACEA,EAAAA,EAAAA,IAAiCC,EAAA,CAA1B,cAAY,a,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaVlc/Index.vue","webpack://platypush/./src/components/panels/MediaVlc/Index.vue?7b0b"],"sourcesContent":["<template>\n <Media plugin-name=\"media.vlc\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaVlc\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=9233e214\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","name","components","Media","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3518],{3518:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,r,p){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.mplayer"})}var r=a(3897),p={name:"MediaMplayer",components:{Media:r["default"]}},s=a(3744);const c=(0,s.Z)(p,[["render",t]]);var i=c}}]);
//# sourceMappingURL=3518.d45c16f7.js.map
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3518],{3518:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,r,p){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.mplayer"})}var r=a(6734),p={name:"MediaMplayer",components:{Media:r["default"]}},s=a(3744);const c=(0,s.Z)(p,[["render",t]]);var i=c}}]);
//# sourceMappingURL=3518.09389e31.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/3518.d45c16f7.js","mappings":"iPACEA,EAAAA,EAAAA,IAAqCC,EAAA,CAA9B,cAAY,iB,eAMrB,GACEC,KAAM,eACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaMplayer/Index.vue","webpack://platypush/./src/components/panels/MediaMplayer/Index.vue?becb"],"sourcesContent":["<template>\n <Media plugin-name=\"media.mplayer\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMplayer\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=08ab61b7\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","name","components","Media","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/3518.09389e31.js","mappings":"iPACEA,EAAAA,EAAAA,IAAqCC,EAAA,CAA9B,cAAY,iB,eAMrB,GACEC,KAAM,eACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaMplayer/Index.vue","webpack://platypush/./src/components/panels/MediaMplayer/Index.vue?becb"],"sourcesContent":["<template>\n <Media plugin-name=\"media.mplayer\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMplayer\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=08ab61b7\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","name","components","Media","__exports__","render"],"sourceRoot":""}

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3524],{3524:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var l=s(6252),a=s(3577);const i={class:"collections items"},o=["onClick"],r={class:"image"},n=["src","alt","onError"],c={key:0,class:"name"},m={key:1,class:"float bottom-right"};function f(e,t,s,f,d,u){return(0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["collections index",{"is-root":!s.parentId}])},[(0,l._)("div",i,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(u.filteredItems,(t=>((0,l.wg)(),(0,l.iD)("div",{class:"collection item",key:t.id,onClick:s=>e.$emit("select",t)},[(0,l._)("div",r,[d.fallbackImageCollections[t.id]?((0,l.wg)(),(0,l.iD)("i",{key:1,class:(0,a.C_)(u.collectionsIcons[t.type]??"fas fa-folder")},null,2)):((0,l.wg)(),(0,l.iD)("img",{key:0,src:t.image,alt:t.name,onError:e=>u.onImageError(t)},null,40,n))]),d.fallbackImageCollections[t.id]||s.parentId?((0,l.wg)(),(0,l.iD)("div",c,[(0,l._)("h2",null,(0,a.zw)(t.name),1)])):(0,l.kq)("",!0),t.year?((0,l.wg)(),(0,l.iD)("div",m,[(0,l._)("span",null,(0,a.zw)(t.year),1)])):(0,l.kq)("",!0)],8,o)))),128))])],2)}var d={props:{filter:{type:String},items:{type:Array,default:()=>[]},batchItems:{type:Number,default:100},parentId:{type:String}},data(){return{fallbackImageCollections:{},maxResultIndex:this.batchItems}},computed:{collectionsIcons(){return{books:"fas fa-book",homevideos:"fas fa-video",movies:"fas fa-film",music:"fas fa-music",playlists:"fas fa-list",photos:"fas fa-image",series:"fas fa-tv"}},filteredItems(){return Object.values(this.items).filter((e=>!this.filter||e.name.toLowerCase().includes(this.filter.toLowerCase()))).sort(((e,t)=>"album"===e.item_type&&"album"===t.item_type&&e.year&&t.year&&e.year!==t.year?t.year-e.year:e.name.localeCompare(t.name))).slice(0,this.maxResultIndex)}},methods:{onImageError(e){this.fallbackImageCollections[e.id]=!0},onScroll(e){const t=e.target;if(!t)return;const s=t.scrollHeight-t.scrollTop<=t.clientHeight+150;s&&(this.maxResultIndex+=this.batchItems)}},mounted(){this.$el.parentElement.addEventListener("scroll",this.onScroll)},unmounted(){this.$el.parentElement.removeEventListener("scroll",this.onScroll)}},u=s(3744);const p=(0,u.Z)(d,[["render",f],["__scopeId","data-v-533af79f"]]);var h=p}}]);
//# sourceMappingURL=3524.8aff66da.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4447],{3222:function(e,t,a){a.d(t,{Z:function(){return u}});var s=a(6252),i=a(3577);const l={class:"no-items-container"};function n(e,t,a,n,o,d){return(0,s.wg)(),(0,s.iD)("div",l,[(0,s._)("div",{class:(0,i.C_)(["no-items fade-in",{shadow:a.withShadow}])},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],2)])}var o={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},d=a(3744);const r=(0,d.Z)(o,[["render",n],["__scopeId","data-v-4856c4d7"]]);var u=r},4447:function(e,t,a){a.r(t),a.d(t,{default:function(){return z}});var s=a(6252),i=a(3577);const l={class:"media-youtube-playlist"},n={key:1,class:"playlist-container"},o={class:"header"},d={class:"banner"},r=["src"],u={class:"row info-container"},c={class:"info"},m={class:"row"},p=["href"],h={key:1,class:"title"},y={class:"n-items"},w={key:0,class:"row"},f={class:"description"},v={key:1,class:"row"},g={class:"channel"},_=["href"];function k(e,t,a,k,b,I){const D=(0,s.up)("Loading"),$=(0,s.up)("NoItems"),Z=(0,s.up)("Results");return(0,s.wg)(),(0,s.iD)("div",l,[b.loading?((0,s.wg)(),(0,s.j4)(D,{key:0})):((0,s.wg)(),(0,s.iD)("div",n,[(0,s._)("div",o,[(0,s._)("div",d,[a.metadata?.image?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,src:a.metadata?.image},null,8,r)):(0,s.kq)("",!0)]),(0,s._)("div",u,[(0,s._)("div",c,[(0,s._)("div",m,[a.metadata?.url?((0,s.wg)(),(0,s.iD)("a",{key:0,class:"title",href:a.metadata?.url,target:"_blank",rel:"noopener noreferrer"},(0,i.zw)(I.name),9,p)):((0,s.wg)(),(0,s.iD)("span",h,(0,i.zw)(I.name),1)),(0,s._)("div",y,(0,i.zw)(I.nItems)+" videos",1)]),a.metadata?.description?((0,s.wg)(),(0,s.iD)("div",w,[(0,s._)("div",f,(0,i.zw)(a.metadata?.description),1)])):(0,s.kq)("",!0),a.metadata?.channel_url?((0,s.wg)(),(0,s.iD)("div",v,[(0,s._)("div",g,[(0,s.Uk)(" Uploaded by "),(0,s._)("a",{href:a.metadata.channel_url,target:"_blank",rel:"noopener noreferrer"},(0,i.zw)(a.metadata?.channel),9,_)])])):(0,s.kq)("",!0)])])]),I.nItems?((0,s.wg)(),(0,s.j4)(Z,{key:1,results:b.items,sources:{youtube:!0},filter:a.filter,playlist:a.id,"selected-result":b.selectedResult,onAddToPlaylist:t[0]||(t[0]=t=>e.$emit("add-to-playlist",t)),onDownload:t[1]||(t[1]=t=>e.$emit("download",t)),onDownloadAudio:t[2]||(t[2]=t=>e.$emit("download-audio",t)),onOpenChannel:t[3]||(t[3]=t=>e.$emit("open-channel",t)),onPlay:t[4]||(t[4]=t=>e.$emit("play",t)),onPlayWithOpts:t[5]||(t[5]=t=>e.$emit("play-with-opts",t)),onRemoveFromPlaylist:t[6]||(t[6]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[7]||(t[7]=e=>b.selectedResult=e),onView:t[8]||(t[8]=t=>e.$emit("view",t))},null,8,["results","filter","playlist","selected-result"])):((0,s.wg)(),(0,s.j4)($,{key:0,"with-shadow":!1},{default:(0,s.w5)((()=>[(0,s.Uk)(" No videos found. ")])),_:1}))]))])}var b=a(3222),I=a(6791),D=a(5167),$=a(8637),Z={mixins:[$.Z],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","remove-from-playlist","view"],components:{Loading:I.Z,NoItems:b.Z,Results:D.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null},metadata:{type:Object,default:null}},data(){return{items:[],loading:!1,selectedResult:null}},computed:{name(){return this.metadata?.title||this.metadata?.name},nItems(){return this.metadata?.videos||this.items?.length||0}},methods:{async loadItems(){this.loading=!0;try{this.items=(await this.request("youtube.get_playlist",{id:this.id})).map((e=>({...e,type:"youtube"})))}finally{this.loading=!1}}},mounted(){this.setUrlArgs({playlist:this.id}),this.loadItems()},unmounted(){this.setUrlArgs({playlist:null})}},R=a(3744);const q=(0,R.Z)(Z,[["render",k],["__scopeId","data-v-7dfc81fd"]]);var z=q}}]);
//# sourceMappingURL=4447.f732aec5.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[45],{3222:function(e,t,o){o.d(t,{Z:function(){return r}});var n=o(6252),a=o(3577);const d={class:"no-items-container"};function l(e,t,o,l,s,i){return(0,n.wg)(),(0,n.iD)("div",d,[(0,n._)("div",{class:(0,a.C_)(["no-items fade-in",{shadow:o.withShadow}])},[(0,n.WI)(e.$slots,"default",{},void 0,!0)],2)])}var s={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},i=o(3744);const u=(0,i.Z)(s,[["render",l],["__scopeId","data-v-4856c4d7"]]);var r=u},45:function(e,t,o){o.r(t),o.d(t,{default:function(){return f}});var n=o(6252);const a={class:"media-youtube-feed"};function d(e,t,o,d,l,s){const i=(0,n.up)("Loading"),u=(0,n.up)("NoItems"),r=(0,n.up)("Results");return(0,n.wg)(),(0,n.iD)("div",a,[s.isLoading?((0,n.wg)(),(0,n.j4)(i,{key:0})):l.feed?.length?((0,n.wg)(),(0,n.j4)(r,{key:2,results:l.feed,filter:o.filter,sources:{youtube:!0},"selected-result":l.selectedResult,onAddToPlaylist:t[0]||(t[0]=t=>e.$emit("add-to-playlist",t)),onDownload:t[1]||(t[1]=t=>e.$emit("download",t)),onDownloadAudio:t[2]||(t[2]=t=>e.$emit("download-audio",t)),onOpenChannel:t[3]||(t[3]=t=>e.$emit("open-channel",t)),onSelect:t[4]||(t[4]=e=>l.selectedResult=e),onPlay:t[5]||(t[5]=t=>e.$emit("play",t)),onPlayWithOpts:t[6]||(t[6]=t=>e.$emit("play-with-opts",t)),onView:t[7]||(t[7]=t=>e.$emit("view",t))},null,8,["results","filter","selected-result"])):((0,n.wg)(),(0,n.j4)(u,{key:1,"with-shadow":!1},{default:(0,n.w5)((()=>[(0,n.Uk)(" No videos found. ")])),_:1}))])}var l=o(3222),s=o(6791),i=o(5167),u=o(8637),r={mixins:[u.Z],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","view"],components:{Loading:s.Z,NoItems:l.Z,Results:i.Z},props:{filter:{type:String,default:null},loading:{type:Boolean,default:!1}},data(){return{feed:[],loading_:!1,selectedResult:null}},computed:{isLoading(){return this.loading_||this.loading}},methods:{async loadFeed(){this.loading_=!0;try{this.feed=(await this.request("youtube.get_feed")).map((e=>({...e,type:"youtube"})))}finally{this.loading_=!1}}},mounted(){this.loadFeed()}},p=o(3744);const c=(0,p.Z)(r,[["render",d],["__scopeId","data-v-3656a799"]]);var f=c}}]);
//# sourceMappingURL=45.6ebcd22c.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4765],{4765:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,p,r){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.mpv"})}var p=a(3897),r={name:"MediaMpv",components:{Media:p["default"]}},s=a(3744);const c=(0,s.Z)(r,[["render",t]]);var i=c}}]);
//# sourceMappingURL=4765.784e31d6.js.map
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4765],{4765:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,p,r){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.mpv"})}var p=a(6734),r={name:"MediaMpv",components:{Media:p["default"]}},s=a(3744);const c=(0,s.Z)(r,[["render",t]]);var i=c}}]);
//# sourceMappingURL=4765.a4f302e0.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/4765.784e31d6.js","mappings":"iPACEA,EAAAA,EAAAA,IAAiCC,EAAA,CAA1B,cAAY,a,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaMpv/Index.vue","webpack://platypush/./src/components/panels/MediaMpv/Index.vue?4cb2"],"sourcesContent":["<template>\n <Media plugin-name=\"media.mpv\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMpv\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=52effd7c\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","name","components","Media","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/4765.a4f302e0.js","mappings":"iPACEA,EAAAA,EAAAA,IAAiCC,EAAA,CAA1B,cAAY,a,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaMpv/Index.vue","webpack://platypush/./src/components/panels/MediaMpv/Index.vue?4cb2"],"sourcesContent":["<template>\n <Media plugin-name=\"media.mpv\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMpv\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=52effd7c\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","name","components","Media","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5408],{5408:function(e,n,t){t.r(n),t.d(n,{default:function(){return i}});var u=t(6252);function a(e,n,t,a,r,s){const p=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(p,{"plugin-name":"media.gstreamer"})}var r=t(3897),s={components:{Media:r["default"]}},p=t(3744);const c=(0,p.Z)(s,[["render",a]]);var i=c}}]);
//# sourceMappingURL=5408.6ba0bde8.js.map
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5408],{5408:function(e,n,t){t.r(n),t.d(n,{default:function(){return i}});var u=t(6252);function a(e,n,t,a,r,s){const p=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(p,{"plugin-name":"media.gstreamer"})}var r=t(6734),s={components:{Media:r["default"]}},p=t(3744);const c=(0,p.Z)(s,[["render",a]]);var i=c}}]);
//# sourceMappingURL=5408.6d02ad6d.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/5408.6ba0bde8.js","mappings":"iPACEA,EAAAA,EAAAA,IAAuCC,EAAA,CAAhC,cAAY,mB,eAMrB,GACEC,WAAY,CAACC,MAAKA,EAAAA,a,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaGstreamer/Index.vue","webpack://platypush/./src/components/panels/MediaGstreamer/Index.vue?3f1f"],"sourcesContent":["<template>\n <Media plugin-name=\"media.gstreamer\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=42961f3c\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","components","Media","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/5408.6d02ad6d.js","mappings":"iPACEA,EAAAA,EAAAA,IAAuCC,EAAA,CAAhC,cAAY,mB,eAMrB,GACEC,WAAY,CAACC,MAAKA,EAAAA,a,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaGstreamer/Index.vue","webpack://platypush/./src/components/panels/MediaGstreamer/Index.vue?3f1f"],"sourcesContent":["<template>\n <Media plugin-name=\"media.gstreamer\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=42961f3c\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","components","Media","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8113,6640],{8113:function(t,e,l){l.r(e),l.d(e,{default:function(){return o}});var a=l(6640),i={mixins:[a["default"]],emits:["add-to-playlist","back","download","play","play-with-opts","select"],props:{collection:{type:Object},path:{type:Array,default:()=>[]}},data(){return{items:[],loading_:!1,selectedResult:null,sort:{attr:"title",desc:!1}}},computed:{isLoading(){return this.loading_||this.loading},sortedItems(){return this.items?[...this.items].sort(((t,e)=>{const l=this.sort.attr,a=this.sort.desc;let i=t[l],s=e[l];return"number"===typeof i||"number"===typeof s?(i=i||0,s=s||0,a?s-i:i-s):(i=(i||"").toString().toLowerCase(),s=(s||"").toString().toLowerCase(),a?s.localeCompare(i):i.localeCompare(s))})).map((t=>({item_type:t.type,...t,type:"jellyfin"}))):[]}},methods:{async refresh(){const t=this.collection?.name;if(t?.length){this.loading_=!0;try{this.items=await this.request("media.jellyfin.search",{collection:t,limit:1e3})}finally{this.loading_=!1}}}},watch:{collection(){this.refresh()}}};const s=i;var o=s},6640:function(t,e,l){l.r(e),l.d(e,{default:function(){return o}});var a=l(8637),i={mixins:[a.Z],emits:["add-to-playlist","back","create-playlist","download","download-audio","path-change","play","remove-from-playlist","remove-playlist","rename-playlist"],props:{filter:{type:String,default:""},loading:{type:Boolean,default:!1},mediaPlugin:{type:String},selectedPlaylist:{default:null},selectedChannel:{default:null}},data(){return{loading_:!1}},computed:{isLoading(){return this.loading||this.loading_}}};const s=i;var o=s}}]);
//# sourceMappingURL=8113.b9391591.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8113,6640],{8113:function(t,e,l){l.r(e),l.d(e,{default:function(){return o}});var a=l(6640),i={mixins:[a["default"]],emits:["add-to-playlist","back","download","play","play-with-opts","select","view"],props:{collection:{type:Object},path:{type:Array,default:()=>[]}},data(){return{items:[],loading_:!1,selectedResult:null,sort:{attr:"title",desc:!1}}},computed:{isLoading(){return this.loading_||this.loading},sortedItems(){return this.items?[...this.items].sort(((t,e)=>{const l=this.sort.attr,a=this.sort.desc;let i=t[l],s=e[l];return"number"===typeof i||"number"===typeof s?(i=i||0,s=s||0,a?s-i:i-s):(i=(i||"").toString().toLowerCase(),s=(s||"").toString().toLowerCase(),a?s.localeCompare(i):i.localeCompare(s))})).map((t=>({item_type:t.type,...t,type:"jellyfin"}))):[]}},methods:{async refresh(){const t=this.collection?.name;if(t?.length){this.loading_=!0;try{this.items=await this.request("media.jellyfin.search",{collection:t,limit:1e3})}finally{this.loading_=!1}}}},watch:{collection(){this.refresh()}}};const s=i;var o=s},6640:function(t,e,l){l.r(e),l.d(e,{default:function(){return o}});var a=l(8637),i={mixins:[a.Z],emits:["add-to-playlist","back","create-playlist","download","download-audio","path-change","play","remove-from-playlist","remove-playlist","rename-playlist"],props:{filter:{type:String,default:""},loading:{type:Boolean,default:!1},mediaPlugin:{type:String},selectedPlaylist:{default:null},selectedChannel:{default:null}},data(){return{loading_:!1}},computed:{isLoading(){return this.loading||this.loading_}}};const s=i;var o=s}}]);
//# sourceMappingURL=8113.dfd7834f.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8179],{8179:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return I}});var t=i(6252);const d={class:"plugin"};function o(e,n,i,o,a,r){const s=(0,t.up)("Loading");return(0,t.wg)(),(0,t.iD)("div",d,[a.loading?((0,t.wg)(),(0,t.j4)(s,{key:0})):a.component?((0,t.wg)(),(0,t.j4)((0,t.LL)(a.component),{key:1,config:a.config},null,8,["config"])):(0,t.kq)("",!0)])}var a=i(8637),r=i(6791),s=i(2262),c={name:"Plugin",components:{Loading:r.Z},mixins:[a.Z],props:{pluginName:{type:String,required:!0}},data(){return{loading:!1,component:null,config:{}}},computed:{componentName(){return this.pluginName.split(".").map((e=>e[0].toUpperCase()+e.slice(1))).join("")}},methods:{refresh:async function(){this.loading=!0;try{this.component=(0,s.XI)((0,t.RC)((()=>i(3379)(`./${this.componentName}/Index`)))),this.$options.components[this.componentName]=this.component,this.config=(await this.request("config.get_plugins"))?.[this.pluginName]||{}}finally{this.loading=!1}}},mounted:function(){this.refresh()}},u=i(3744);const x=(0,u.Z)(c,[["render",o],["__scopeId","data-v-69b17daa"]]);var I=x},3379:function(e,n,i){var t={"./Alarm/Index":[1949,5933,7897,7651,2844,2992,6517,637,8756,3248,9480,8409,6217,2831,9502,1019,2029,7257,4795,1949],"./Camera/Index":[7528,7528],"./CameraAndroidIpcam/Index":[3924,3924],"./CameraCv/Index":[6148,7528,6148],"./CameraFfmpeg/Index":[9334,7528,9334],"./CameraGstreamer/Index":[813,7528,813],"./CameraIrMlx90640/Index":[7381,7528,7381],"./CameraPi/Index":[5214,7528,8895],"./CameraPiLegacy/Index":[1512,7528,1512],"./Entities/Index":[557,5933,7897,2992,7257,669,864,4795,557],"./Execute/Index":[4221,5933,637,3248,9502,5053],"./Extensions/Index":[3426,5933,637,3248,6217,2831,2924,3426,8697],"./File/Index":[2496,5933,7897,6517,637,8756,9480,8409,7976],"./Light/Index":[9751,7651,2844,9751],"./LightHue/Index":[2976,7651,2844,9751,2976],"./Media/Index":[3897,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,3897],"./Media/Providers/Jellyfin/views/Media/Index":[1039,5933,7897,2992,5167,1319,1137,1009,9049],"./Media/Providers/Jellyfin/views/Movies/Index":[6593,5933,7897,2992,6517,5167,9025,6692,3295],"./Media/Providers/Jellyfin/views/Music/Index":[1137,5933,7897,2992,5167,1319,1137,2726],"./Media/Providers/YouTube/Index":[2200,2200],"./MediaChromecast/Index":[2305,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,3897,2305],"./MediaGstreamer/Index":[5408,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,3897,5408],"./MediaMplayer/Index":[3518,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,3897,3518],"./MediaMpv/Index":[4765,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,3897,4765],"./MediaVlc/Index":[2614,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,3897,2614],"./Music/Index":[4015,5933,7897,7651,906,1421,4015],"./MusicMopidy/Index":[3400,5933,7897,7651,906,1421,4015,3400],"./MusicMpd/Index":[3083,5933,7897,7651,906,1421,4015,3083],"./MusicSnapcast/Index":[5285,7651,2844,5285],"./MusicSpotify/Index":[4053,5933,7897,7651,906,1421,4015,4053],"./Procedures/Index":[3865,5933,2992,6517,637,8756,3248,6217,2831,9502,1019,7257,5144,3865],"./Rtorrent/Index":[2183,5933,7897,7624,6429,2183],"./Settings/Index":[293,5933,7897,2844,2992,6517,3248,215,2924,293],"./Settings/Tokens/Index":[215,5933,7897,2992,3248,215],"./Sound/Index":[746,746],"./Torrent/Index":[8784,5933,7897,7624,6429,8784],"./Tts/Index":[3732,8069,3732],"./TtsGoogle/Index":[7605,8069,2853],"./TtsPicovoice/Index":[7089,8069,7089],"./TvSamsungWs/Index":[34,34],"./ZigbeeMqtt/Index":[6882,5933,7897,7651,2844,6882],"./Zwave/Index":[2732,5933,7897,7651,2844,2718,2732],"./ZwaveMqtt/Index":[1088,5933,7897,7651,2844,2718,1088]};function d(e){if(!i.o(t,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=t[e],d=n[0];return Promise.all(n.slice(1).map(i.e)).then((function(){return i(d)}))}d.keys=function(){return Object.keys(t)},d.id=3379,e.exports=d}}]);
//# sourceMappingURL=8179.84455de5.js.map

View file

@ -0,0 +1,2 @@
(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8179],{8179:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return I}});var t=i(6252);const d={class:"plugin"};function o(e,n,i,o,a,r){const s=(0,t.up)("Loading");return(0,t.wg)(),(0,t.iD)("div",d,[a.loading?((0,t.wg)(),(0,t.j4)(s,{key:0})):a.component?((0,t.wg)(),(0,t.j4)((0,t.LL)(a.component),{key:1,config:a.config},null,8,["config"])):(0,t.kq)("",!0)])}var a=i(8637),r=i(6791),s=i(2262),c={name:"Plugin",components:{Loading:r.Z},mixins:[a.Z],props:{pluginName:{type:String,required:!0}},data(){return{loading:!1,component:null,config:{}}},computed:{componentName(){return this.pluginName.split(".").map((e=>e[0].toUpperCase()+e.slice(1))).join("")}},methods:{refresh:async function(){this.loading=!0;try{this.component=(0,s.XI)((0,t.RC)((()=>i(3379)(`./${this.componentName}/Index`)))),this.$options.components[this.componentName]=this.component,this.config=(await this.request("config.get_plugins"))?.[this.pluginName]||{}}finally{this.loading=!1}}},mounted:function(){this.refresh()}},u=i(3744);const x=(0,u.Z)(c,[["render",o],["__scopeId","data-v-69b17daa"]]);var I=x},3379:function(e,n,i){var t={"./Alarm/Index":[1949,5933,7897,7651,2844,2992,6517,637,8756,3248,9480,8409,6217,2831,9502,1019,2029,7257,4795,1949],"./Camera/Index":[7528,7528],"./CameraAndroidIpcam/Index":[3924,3924],"./CameraCv/Index":[6148,7528,6148],"./CameraFfmpeg/Index":[9334,7528,9334],"./CameraGstreamer/Index":[813,7528,813],"./CameraIrMlx90640/Index":[7381,7528,7381],"./CameraPi/Index":[5214,7528,8895],"./CameraPiLegacy/Index":[1512,7528,1512],"./Entities/Index":[557,5933,7897,2992,7257,669,864,4795,557],"./Execute/Index":[4221,5933,637,3248,9502,5053],"./Extensions/Index":[3426,5933,637,3248,6217,2831,2924,3426,8697],"./File/Index":[2496,5933,7897,6517,637,8756,9480,8409,7976],"./Light/Index":[9751,7651,2844,9751],"./LightHue/Index":[2976,7651,2844,9751,2976],"./Media/Index":[6734,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734],"./Media/Providers/Jellyfin/views/Media/Index":[2149,5933,7897,2992,5167,6364,4106,8425,1455],"./Media/Providers/Jellyfin/views/Movies/Index":[9243,5933,7897,2992,6517,5167,9025,38,9086],"./Media/Providers/Jellyfin/views/Music/Index":[4106,5933,7897,2992,5167,6364,4106,2726],"./Media/Providers/YouTube/Index":[2200,2200],"./MediaChromecast/Index":[2305,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,2305],"./MediaGstreamer/Index":[5408,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,5408],"./MediaMplayer/Index":[3518,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,3518],"./MediaMpv/Index":[4765,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,4765],"./MediaVlc/Index":[2614,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,2614],"./Music/Index":[4015,5933,7897,7651,906,1421,4015],"./MusicMopidy/Index":[3400,5933,7897,7651,906,1421,4015,3400],"./MusicMpd/Index":[3083,5933,7897,7651,906,1421,4015,3083],"./MusicSnapcast/Index":[5285,7651,2844,5285],"./MusicSpotify/Index":[4053,5933,7897,7651,906,1421,4015,4053],"./Procedures/Index":[3865,5933,2992,6517,637,8756,3248,6217,2831,9502,1019,7257,5144,3865],"./Rtorrent/Index":[2183,5933,7897,7624,6429,2183],"./Settings/Index":[293,5933,7897,2844,2992,6517,3248,215,2924,293],"./Settings/Tokens/Index":[215,5933,7897,2992,3248,215],"./Sound/Index":[746,746],"./Torrent/Index":[8784,5933,7897,7624,6429,8784],"./Tts/Index":[3732,8069,3732],"./TtsGoogle/Index":[7605,8069,2853],"./TtsPicovoice/Index":[7089,8069,7089],"./TvSamsungWs/Index":[34,34],"./ZigbeeMqtt/Index":[6882,5933,7897,7651,2844,6882],"./Zwave/Index":[2732,5933,7897,7651,2844,2718,2732],"./ZwaveMqtt/Index":[1088,5933,7897,7651,2844,2718,1088]};function d(e){if(!i.o(t,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=t[e],d=n[0];return Promise.all(n.slice(1).map(i.e)).then((function(){return i(d)}))}d.keys=function(){return Object.keys(t)},d.id=3379,e.exports=d}}]);
//# sourceMappingURL=8179.c25b21ed.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8955],{8955:function(e,n,t){t.r(n),t.d(n,{default:function(){return N}});var s=t(6252),i=t(3577);const l={class:"media-youtube-channel"},a={key:1,class:"channel"},r={class:"header"},c={class:"banner"},o=["src"],d={class:"row info-container"},u={class:"info"},h={class:"row"},b={class:"title-container"},g=["href"],p={class:"image"},y=["src"],m=["href"],w={class:"actions"},_=["title"],f={key:0,class:"subscribers"},k={key:0,class:"description"};function v(e,n,t,v,x,S){const q=(0,s.up)("Loading"),C=(0,s.up)("Results");return(0,s.wg)(),(0,s.iD)("div",l,[S.isLoading?((0,s.wg)(),(0,s.j4)(q,{key:0})):x.channel?((0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("div",r,[(0,s._)("div",c,[x.channel?.banner?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,src:x.channel.banner},null,8,o)):(0,s.kq)("",!0)]),(0,s._)("div",d,[(0,s._)("div",u,[(0,s._)("div",h,[(0,s._)("div",b,[x.channel?.image?.length?((0,s.wg)(),(0,s.iD)("a",{key:0,href:x.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,s._)("div",p,[(0,s._)("img",{src:x.channel.image},null,8,y)])],8,g)):(0,s.kq)("",!0),(0,s._)("a",{class:"title",href:x.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,i.zw)(x.channel?.name),9,m)]),(0,s._)("div",w,[(0,s._)("button",{title:x.subscribed?"Unsubscribe":"Subscribe",onClick:n[0]||(n[0]=(...e)=>S.toggleSubscription&&S.toggleSubscription(...e))},(0,i.zw)(x.subscribed?"Unsubscribe":"Subscribe"),9,_),null!=x.channel.subscribers&&(x.channel.subscribers||0)>=0?((0,s.wg)(),(0,s.iD)("div",f,(0,i.zw)(e.formatNumber(x.channel.subscribers))+" subscribers ",1)):(0,s.kq)("",!0)])]),x.channel?.description?((0,s.wg)(),(0,s.iD)("div",k,(0,i.zw)(x.channel.description),1)):(0,s.kq)("",!0)])])]),(0,s.Wm)(C,{results:x.channel.items,filter:t.filter,"result-index-step":null,"selected-result":x.selectedResult,ref:"results",onAddToPlaylist:n[1]||(n[1]=n=>e.$emit("add-to-playlist",n)),onDownload:n[2]||(n[2]=n=>e.$emit("download",n)),onDownloadAudio:n[3]||(n[3]=n=>e.$emit("download-audio",n)),onOpenChannel:n[4]||(n[4]=n=>e.$emit("open-channel",n)),onPlay:n[5]||(n[5]=n=>e.$emit("play",n)),onPlayWithOpts:n[6]||(n[6]=n=>e.$emit("play-with-opts",n)),onScrollEnd:S.loadNextPage,onSelect:n[7]||(n[7]=e=>x.selectedResult=e)},null,8,["results","filter","selected-result","onScrollEnd"])])):(0,s.kq)("",!0)])}var x=t(6791),S=t(5167),q=t(8637),C={mixins:[q.Z],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts"],components:{Loading:x.Z,Results:S.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null},loading:{type:Boolean,default:!1}},data(){return{channel:null,loading_:!1,loadingNextPage:!1,selectedResult:null,subscribed:!1}},computed:{isLoading(){return this.loading||this.loading_},itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading_=!0;try{await this.updateChannel(!0),this.subscribed=await this.request("youtube.is_subscribed",{channel_id:this.id})}finally{this.loading_=!1}},async updateChannel(e){const n=await this.request("youtube.get_channel",{id:this.id,next_page_token:this.channel?.next_page_token}),t=this.itemsByUrl||{};let s=n.items.filter((e=>!t[e.url])).map((e=>({type:"youtube",...e})));e||(s=this.channel.items.concat(s)),this.channel=n,this.channel.items=s},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage){this.loadingNextPage=!0;try{await this.timeout(500),await this.updateChannel()}finally{this.loadingNextPage=!1}}},async toggleSubscription(){const e=this.subscribed?"unsubscribe":"subscribe";await this.request(`youtube.${e}`,{channel_id:this.id}),this.subscribed=!this.subscribed}},async mounted(){this.setUrlArgs({channel:this.id}),await this.loadChannel()},unmounted(){this.setUrlArgs({channel:null})}},P=t(3744);const D=(0,P.Z)(C,[["render",v],["__scopeId","data-v-7dc6ffd8"]]);var N=D}}]);
//# sourceMappingURL=8955.3a9d1d37.js.map
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9171],{9171:function(e,n,t){t.r(n),t.d(n,{default:function(){return $}});var s=t(6252),i=t(3577);const l={class:"media-youtube-channel"},a={key:1,class:"channel"},r={class:"header"},c={class:"banner"},o=["src"],d={class:"row info-container"},u={class:"info"},h={class:"row"},b={class:"title-container"},g=["href"],p={class:"image"},y=["src"],m=["href"],w={class:"actions"},_=["title"],f={key:0,class:"subscribers"},k={key:0,class:"description"};function v(e,n,t,v,x,S){const q=(0,s.up)("Loading"),C=(0,s.up)("Results");return(0,s.wg)(),(0,s.iD)("div",l,[S.isLoading?((0,s.wg)(),(0,s.j4)(q,{key:0})):x.channel?((0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("div",r,[(0,s._)("div",c,[x.channel?.banner?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,src:x.channel.banner},null,8,o)):(0,s.kq)("",!0)]),(0,s._)("div",d,[(0,s._)("div",u,[(0,s._)("div",h,[(0,s._)("div",b,[x.channel?.image?.length?((0,s.wg)(),(0,s.iD)("a",{key:0,href:x.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,s._)("div",p,[(0,s._)("img",{src:x.channel.image},null,8,y)])],8,g)):(0,s.kq)("",!0),(0,s._)("a",{class:"title",href:x.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,i.zw)(x.channel?.name),9,m)]),(0,s._)("div",w,[(0,s._)("button",{title:x.subscribed?"Unsubscribe":"Subscribe",onClick:n[0]||(n[0]=(...e)=>S.toggleSubscription&&S.toggleSubscription(...e))},(0,i.zw)(x.subscribed?"Unsubscribe":"Subscribe"),9,_),null!=x.channel.subscribers&&(x.channel.subscribers||0)>=0?((0,s.wg)(),(0,s.iD)("div",f,(0,i.zw)(e.formatNumber(x.channel.subscribers))+" subscribers ",1)):(0,s.kq)("",!0)])]),x.channel?.description?((0,s.wg)(),(0,s.iD)("div",k,(0,i.zw)(x.channel.description),1)):(0,s.kq)("",!0)])])]),(0,s.Wm)(C,{results:x.channel.items,filter:t.filter,"result-index-step":null,"selected-result":x.selectedResult,ref:"results",onAddToPlaylist:n[1]||(n[1]=n=>e.$emit("add-to-playlist",n)),onDownload:n[2]||(n[2]=n=>e.$emit("download",n)),onDownloadAudio:n[3]||(n[3]=n=>e.$emit("download-audio",n)),onOpenChannel:n[4]||(n[4]=n=>e.$emit("open-channel",n)),onPlay:n[5]||(n[5]=n=>e.$emit("play",n)),onPlayWithOpts:n[6]||(n[6]=n=>e.$emit("play-with-opts",n)),onScrollEnd:S.loadNextPage,onSelect:n[7]||(n[7]=e=>x.selectedResult=e),onView:n[8]||(n[8]=n=>e.$emit("view",n))},null,8,["results","filter","selected-result","onScrollEnd"])])):(0,s.kq)("",!0)])}var x=t(6791),S=t(5167),q=t(8637),C={mixins:[q.Z],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","view"],components:{Loading:x.Z,Results:S.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null},loading:{type:Boolean,default:!1}},data(){return{channel:null,loading_:!1,loadingNextPage:!1,selectedResult:null,subscribed:!1}},computed:{isLoading(){return this.loading||this.loading_},itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading_=!0;try{await this.updateChannel(!0),this.subscribed=await this.request("youtube.is_subscribed",{channel_id:this.id})}finally{this.loading_=!1}},async updateChannel(e){const n=await this.request("youtube.get_channel",{id:this.id,next_page_token:this.channel?.next_page_token}),t=this.itemsByUrl||{};let s=n.items.filter((e=>!t[e.url])).map((e=>({type:"youtube",...e})));e||(s=this.channel.items.concat(s)),this.channel=n,this.channel.items=s},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage){this.loadingNextPage=!0;try{await this.timeout(500),await this.updateChannel()}finally{this.loadingNextPage=!1}}},async toggleSubscription(){const e=this.subscribed?"unsubscribe":"subscribe";await this.request(`youtube.${e}`,{channel_id:this.id}),this.subscribed=!this.subscribed}},async mounted(){this.setUrlArgs({channel:this.id}),await this.loadChannel()},unmounted(){this.setUrlArgs({channel:null})}},P=t(3744);const D=(0,P.Z)(C,[["render",v],["__scopeId","data-v-448cf852"]]);var $=D}}]);
//# sourceMappingURL=9171.fa1f1052.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more