homeassistant-config/www/custom_ui/mini-media-player-bundle.js

2 lines
91 KiB
JavaScript
Raw Normal View History

(function(){"use strict";function a(){var b=Ba(["<span class=",">","</span>"]);return a=function(){return b},b}function b(){var a=Ba(["<span class=",">","</span>"]);return b=function(){return a},a}function c(){var a=Ba(["\n <div>\n <div class='marquee'>\n ","\n </div>\n </div>"]);return c=function(){return a},a}function d(){var a=Ba(["\n <div class='entity__info__media'\n ?short=","\n ?short-scroll=","\n ?scroll=","\n style='animation-duration: ","s;'>\n ","\n ","\n </div>"]);return d=function(){return a},a}function e(){var a=Ba(["\n <div class='entity__info__name'>\n "," ","\n </div>"]);return e=function(){return a},a}function f(){var a=Ba(["\n <div class='entity__icon' ?color=",">\n <ha-icon .icon="," ></ha-icon>\n </div>"]);return f=function(){return a},a}function g(){var a=Ba(["\n <div class='entity__artwork'\n style='background-image: ",";'\n ?border=","\n state=",">\n </div>"]);return g=function(){return a},a}function h(){var a=Ba(["<div class='cover' style='background-image: ",";'></div>"]);return h=function(){return a},a}function i(){var a=Ba(["\n <mmp-progress\n .player=","\n .showTime=",">\n </mmp-progress>\n "]);return i=function(){return a},a}function j(){var a=Ba(["\n <mmp-tts\n .config=","\n .hass=","\n .player=",">\n </mmp-tts>\n "]);return j=function(){return a},a}function k(){var a=Ba(["\n <mmp-media-controls\n .player=","\n .config=","\n .break=",">\n </mmp-media-controls>\n "]);return k=function(){return a},a}function l(){var a=Ba(["\n <ha-card\n class=","\n style=","\n @click=","\n artwork=","\n content=",">\n <div class='mmp__bg'>\n ","\n </div>\n <div class='mmp-player'>\n <div class='mmp-player__core flex' ?inactive=",">\n ","\n <div class='entity__info'>\n ","\n ","\n </div>\n <mmp-powerstrip\n @toggleGroupList=","\n .hass=","\n .player=","\n .config=","\n .groupVisible=","\n .idle=","\n ?flow=",">\n </mmp-powerstrip>\n </div>\n <div class='mmp-player__adds'>\n ","\n <mmp-shortcuts\n .player=","\n .shortcuts=",">\n </mmp-shortcuts>\n ","\n <mmp-group-list\n .visible=","\n .entities=","\n .player=",">\n </mmp-group-list>\n </div>\n </div>\n <div class='mmp__container'>\n ","\n </div>\n </ha-card>\n "]);return l=function(){return a},a}function m(){var a=Ba(["\n :host {\n display: flex;\n line-height: var(--mmp-unit);\n max-height: var(--mmp-unit);\n }\n :host([flow]) mmp-media-controls {\n max-width: unset;\n }\n mmp-media-controls {\n max-width: calc(var(--mmp-unit) * 5);\n line-height: initial;\n justify-content: flex-end;\n }\n .group-button {\n --mdc-icon-size: calc(var(--mmp-unit) * 0.5);\n }\n ha-icon-button {\n min-width: var(--mmp-unit);\n }\n "]);return m=function(){return a},a}function n(){var a=Ba(["\n <span class='label ellipsis'>\n ","\n </span>\n "]);return n=function(){return a},a}function o(){var a=Ba(["\n <ha-icon-button\n .icon=","\n @click=",">\n </ha-icon-button>"]);return o=function(){return a},a}function p(){var a=Ba(["\n <ha-icon-button class='power-button'\n .icon=","\n @click=","\n ?color=",">\n