homeassistant/custom_components/hacs/hacs_frontend_experimental/frontend_es5/4018.jg1UxxaAfDs.js

3 lines
23 KiB
JavaScript
Raw Normal View History

2025-01-10 21:08:35 -08:00
/*! For license information please see 4018.jg1UxxaAfDs.js.LICENSE.txt */
"use strict";(self.webpackChunkhacs_frontend=self.webpackChunkhacs_frontend||[]).push([[4018],{24038:function(e,r,a){var t=a(13089);e.exports=function(e){try{if(t)return Function('return require("'+e+'")')()}catch(r){}}},10996:function(e,r,a){a.d(r,{X:function(){return w}});var t,o,i,n,s=a(33368),l=a(71650),c=a(68308),d=a(69205),v=a(43204),h=a(95260),p=a(88962),u=a(34541),f=a(47838),b=(a(85717),a(92952),a(5095)),m=function(e){function r(){var e;return(0,l.Z)(this,r),(e=(0,c.Z)(this,r,arguments)).elevated=!1,e.href="",e.target="",e}return(0,d.Z)(r,e),(0,s.Z)(r,[{key:"primaryId",get:function(){return this.href?"link":"button"}},{key:"rippleDisabled",get:function(){return!this.href&&this.disabled}},{key:"getContainerClasses",value:function(){return Object.assign(Object.assign({},(0,u.Z)((0,f.Z)(r.prototype),"getContainerClasses",this).call(this)),{},{disabled:!this.href&&this.disabled,elevated:this.elevated,link:!!this.href})}},{key:"renderPrimaryAction",value:function(e){var r=this.ariaLabel;return this.href?(0,b.dy)(t||(t=(0,p.Z)([' <a class="primary action" id="link" aria-label="','" href="','" target="','">',"</a> "])),r||b.Ld,this.href,this.target||b.Ld,e):(0,b.dy)(o||(o=(0,p.Z)([' <button class="primary action" id="button" aria-label="','" ?disabled="','" type="button">',"</button> "])),r||b.Ld,this.disabled&&!this.alwaysFocusable,e)}},{key:"renderOutline",value:function(){return this.elevated?(0,b.dy)(i||(i=(0,p.Z)(["<md-elevation></md-elevation>"]))):(0,u.Z)((0,f.Z)(r.prototype),"renderOutline",this).call(this)}}]),r}(a(8674).A);(0,v.__decorate)([(0,h.Cb)({type:Boolean})],m.prototype,"elevated",void 0),(0,v.__decorate)([(0,h.Cb)()],m.prototype,"href",void 0),(0,v.__decorate)([(0,h.Cb)()],m.prototype,"target",void 0);var y,g=(0,b.iv)(n||(n=(0,p.Z)([":host{--_container-height:var(--md-assist-chip-container-height, 32px);--_container-shape:var(--md-assist-chip-container-shape, 8px);--_disabled-label-text-color:var(--md-assist-chip-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity:var(--md-assist-chip-disabled-label-text-opacity, 0.38);--_elevated-container-color:var(--md-assist-chip-elevated-container-color, var(--md-sys-color-surface-container-low, #f7f2fa));--_elevated-container-elevation:var(--md-assist-chip-elevated-container-elevation, 1);--_elevated-container-shadow-color:var(--md-assist-chip-elevated-container-shadow-color, var(--md-sys-color-shadow, #000));--_elevated-disabled-container-color:var(--md-assist-chip-elevated-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_elevated-disabled-container-elevation:var(--md-assist-chip-elevated-disabled-container-elevation, 0);--_elevated-disabled-container-opacity:var(--md-assist-chip-elevated-disabled-container-opacity, 0.12);--_elevated-focus-container-elevation:var(--md-assist-chip-elevated-focus-container-elevation, 1);--_elevated-hover-container-elevation:var(--md-assist-chip-elevated-hover-container-elevation, 2);--_elevated-pressed-container-elevation:var(--md-assist-chip-elevated-pressed-container-elevation, 1);--_focus-label-text-color:var(--md-assist-chip-focus-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-label-text-color:var(--md-assist-chip-hover-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-state-layer-color:var(--md-assist-chip-hover-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-state-layer-opacity:var(--md-assist-chip-hover-state-layer-opacity, 0.08);--_label-text-color:var(--md-assist-chip-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_label-text-font:var(--md-assist-chip-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height:var(--md-assist-chip-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size:var(--md-assist-chip-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight:var(--md-assist-chip-label-text-weight, var(--md-sys-typescale-label-large-weight
//# sourceMappingURL=4018.jg1UxxaAfDs.js.map