PageSourceSearch

https://ross146.com/frontend_latest/25566.f65feb6428c8bca1.js

js ross146.com collected 2026-09-28 01:55:02 UTC 5,895 bytes, 5 lines download raw bytes

1export const __webpack_ids__=["25566"];export const __webpack_modules__={84447:function(e,t,a){var i=a(73742),n=a(27885),o=a(67522),s=a(23533),r=a(7046),c=a(59048),l=a(26292);class d extends n.g{renderOutline(){return this.filled?c.dy`<span class="filled"></span>`:super.renderOutline()}getContainerClasses(){return{...super.getContainerClasses(),active:this.active}}renderPrimaryContent(){return c.dy` <span class="leading icon" aria-hidden="true"> ${this.renderLeadingIcon()} </span> <span class="label">${this.label}</span> <span class="touch"></span> <span class="trailing leading icon" aria-hidden="true"> ${this.renderTrailingIcon()} </span> `}renderTrailingIcon(){return c.dy`<slot name="trailing-icon"></slot>`}constructor(...e){super(...e),this.filled=!1,this.active=!1}}d.styles=[s.W,r.W,o.W,c.iv`:host{--md-sys-color-primary:var(--primary-text-color);--md-sys-color-on-surface:var(--primary-text-color);--md-assist-chip-container-shape:var(
2          --ha-assist-chip-container-shape,
3          16px
4        );--md-assist-chip-outline-color:var(--outline-color);--md-assist-chip-label-text-weight:400}.filled{display:flex;pointer-events:none;border-radius:inherit;inset:0;position:absolute;background-color:var(--ha-assist-chip-filled-container-color)}::slotted([slot=icon]),::slotted([slot=trailing-icon]){display:flex;--mdc-icon-size:var(--md-input-chip-icon-size, 18px);font-size:var(--_label-text-size)!important}.trailing.icon ::slotted(*),.trailing.icon svg{margin-inline-end:unset;margin-inline-start:var(--_icon-label-space)}::before{background:var(--ha-assist-chip-container-color,transparent);opacity:var(--ha-assist-chip-container-opacity, 1)}:where(.active)::before{background:var(--ha-assist-chip-active-container-color);opacity:var(--ha-assist-chip-active-container-opacity)}.label{font-family:var(--ha-font-family-body)}`],(0,i.__decorate)([(0,l.Cb)({type:Boolean,reflect:!0})],d.prototype,"filled",void 0),(0,i.__decorate)([(0,l.Cb)({type:Boolean})],d.prototype,"active",void 0),d=(0,i.__decorate)([(0,l.Mo)("ha-assist-chip")],d)},67801:function(e,t,a){var i=a(73742),n=a(38438),o=a(26292);class s extends n.l{}s=(0,i.__decorate)([(0,o.Mo)("ha-chip-set")],s)},84459:function(e,t,a){a.d(t,{$:()=>o});var i=a(15459);function n(e,t,a,i){if(!a||!a.action||"none"===a.action)return"";let n=i?e.localize("ui.panel.lovelace.cards.picture-elements.hold"):e.localize("ui.panel.lovelace.cards.picture-elements.tap");switch(a.action){case"navigate":n+=` ${e.localize("ui.panel.lovelace.cards.picture-elements.navigate_to",{location:a.navigation_path})}`;break;case"url":n+=` ${e.localize("ui.panel.lovelace.cards.picture-elements.url",{url_path:a.url_path})}`;break;case"toggle":n+=` ${e.localize("ui.panel.lovelace.cards.picture-elements.toggle",{name:t})}`;break;case"call-service":n+=`${e.localize("ui.panel.lovelace.cards.picture-elements.perform_action",{name:a.service})}`;break;case"more-info":n+=`${e.localize("ui.panel.lovelace.cards.picture-elements.more_info",{name:t})}`}return n}const o=(e,t)=>{if(null===t.title)return"";if(t.title)return t.title;let a="",o="";if(t.entity&&(a=t.entity in e.states?(0,i.C)(e.states[t.entity]):t.entity),!t.tap_action&&!t.hold_action)return a;const s=t.tap_action?n(e,a,t.tap_action,!1):"",r=t.hold_action?n(e,a,t.hold_action,!0):"";return o=s+(s&&r?"\n":"")+r,o}},66802:function(e,t,a){a.a(e,async function(e,t){try{a(81738),a(6989);var i=a(73742),n=a(59048),o=a(26292),s=a(15459),r=a(23476),c=a(84459),l=a(76815),d=a(88887),p=a(37807),h=(a(84447),a(67801),a(95814)),u=e([r]);r=(u.then?(await u)():u)[0];class _ extends n.oi{render(){return n.dy` <ha-chip-set class="ha-scrollbar"> ${(this.configEntities||[]).map(e=>{const t=this.hass.states[e.entity],a=e.show_name&&t||e.name&&!1!==e.show_name?e.name||(0,s.C)(t):"";return n.dy` <ha-assist-chip filled @action="${this._handleAction}" .actionHandler="${(0,l.K)({hasHold:(0,p._)(e.hold_action),hasDoubleClick:(0,p._)(e.double_tap_action)})}" .config="${e}" tabindex="0" .label="${a}"> ${!1!==e.show_icon?n.dy` <state-badge title="${(0,c.$)(this.hass,e)}" .hass="${this.hass}" .stateObj="${t}" .overrideIcon="${e.icon}" .overrideImage="${e.image}" .stateColor="${!0}" slot="icon"></state-badge> `:""} </ha-assist-chip> `})} </ha-chip-set> `}_handleAction(e){const t=e.currentTarget.config;(0,d.G)(this,this.hass,t,e.detail.action)}static get styles(){return[h.$c,n.iv`.ha-scrollbar{padding:12px;padding-top:var(--padding-top,8px);padding-bottom:var(--padding-bottom,8px);width:100%;overflow-x:auto;overflow-y:hidden;white-space:nowrap;box-sizing:border-box;display:flex;flex-wrap:wrap}state-badge{display:inline-flex;line-height:inherit;color:var(--secondary-text-color);align-items:center;justify-content:center}@media all and (max-width:450px),all and (max-height:500px){.ha-scrollbar{flex-wrap:nowrap}}`]}}(0,i.__decorate)([(0,o.SB)()],_.prototype,"hass",void 0),(0,i.__decorate)([(0,o.Cb)({attribute:!1})],_.prototype,"configEntities",void 0),_=(0,i.__decorate)([(0,o.Mo)("hui-buttons-base")],_),t()}catch(e){t(e)}})},86074:function(e,t,a){a.a(e,async function(e,i){try{a.r(t),a.d(t,{HuiButtonsRow:()=>h});a(81738),a(6989);var n=a(73742),o=a(59048),s=a(26292),r=a(40141),c=a(44272),l=a(55577),d=a(66802),p=e([d]);d=(p.then?(await p)():p)[0];class h extends o.oi{static getStubConfig(){return{entities:[]}}setConfig(e){this._configEntities=(0,l.A)(e.entities).map(e=>({tap_action:{action:e.entity&&r.Kk.has((0,c.M)(e.entity))?"toggle":"more-info"},hold_action:{action:"more-info"},...e}))}render(){return o.dy` <hui-buttons-base .hass="${this.hass}" .configEntities="${this._configEntities}"></hui-buttons-base> `}}(0,n.__decorate)([(0,s.Cb)({attribute:!1})],h.prototype,"hass",void 0),(0,n.__decorate)([(0,s.SB)()],h.prototype,"_configEntities",void 0),h=(0,n.__decorate)([(0,s.Mo)("hui-buttons-row")],h),i()}catch(e){i(e)}})}};
5//# sourceMappingURL=25566.f65feb6428c8bca1.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.