mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Unminify using 1.5.323
Repo with tag: https://github.com/MediaBrowser/emby-webcomponents/tree/1.5.323
This commit is contained in:
parent
4678528d00
commit
de6ac33ec1
289 changed files with 78483 additions and 54701 deletions
|
@ -1,66 +1,129 @@
|
|||
define([], function() {
|
||||
"use strict";
|
||||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
function getStaticBackdrops() {
|
||||
var list = [];
|
||||
return list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg1-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg2-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg3-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg4-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg5-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg6-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg7-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg8-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg9-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg10-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg11-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg12-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg13-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg14-1920.jpg",
|
||||
width: 1920
|
||||
}]), list.push([{
|
||||
url: "https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg15-1920.jpg",
|
||||
width: 1920
|
||||
}]), list
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg1-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg2-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg3-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg4-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg5-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg6-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg7-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg8-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg9-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg10-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg11-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg12-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg13-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg14-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
list.push([
|
||||
{
|
||||
url: 'https://raw.githubusercontent.com/MediaBrowser/Emby.Resources/master/images/wallpaper/bg15-1920.jpg',
|
||||
width: 1920
|
||||
}
|
||||
]);
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
function getRandomInt(min, max) {
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||
}
|
||||
|
||||
function getRandomImageUrl() {
|
||||
var images = getStaticBackdrops();
|
||||
return images[getRandomInt(0, images.length - 1)][0].url
|
||||
var index = getRandomInt(0, images.length - 1);
|
||||
return images[index][0].url;
|
||||
}
|
||||
|
||||
return {
|
||||
getStaticBackdrops: getStaticBackdrops,
|
||||
getRandomImageUrl: getRandomImageUrl
|
||||
}
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue