1import{t as e}from"./standalone-app-Bj-IdwrG.js";import{n as t,r as n}from"./polymer-C_GypsRJ.js";import"./jha-progress-CjUOO3no.js";e(()=>import(`./jha-icon-circle-warning-Dzn5hcMr.js`),[]),window.JhaCardHeaderElement=class extends t{static get is(){return`jha-card-header`}static get properties(){return{loading:{type:Boolean,value:!1},hasError:{type:Boolean,value:!1},errorButton:{type:Boolean,value:!1},errorTitle:{type:String,value:`Loading error`}}}errorButtonHandler(e){this.dispatchEvent(new CustomEvent(`error-button-clicked`,{bubbles:!0,composed:!0}))}static get template(){return n`<style>:host{display:block}:host header{height:var(--jha-card-header-height);min-height:30px;padding:var(--jha-card-header-padding-top,15px) var(--jha-card-header-padding-right,26px) var(--jha-card-header-padding-bottom,15px) var(--jha-card-header-padding-left,0);margin-left:var(--jha-card-header-margin-left,26px);font-size:var(--jha-card-header-font-size,22px);border-bottom:1px solid var(--jha-card-header-border-bottom-color,var(--jha-border-color));display:var(--jha-card-header-display-ie,-ms-grid);display:var(--jha-card-header-display,grid);-ms-grid-columns:1fr;fill:var(--body-text-primary-color);align-items:center;position:relative}#title{@apply --card-header-title;text-align:left;-ms-grid-row:1}:host ::slotted(h1){@apply --card-header-title;display:inline}:host ::slotted(h2){@apply --secondary-card-header-title;}:host([center-header]) #title{text-align:center}:host([no-border]) header{border-bottom:none}#header-left{text-align:left;-ms-grid-column:1;-ms-grid-row:1;justify-content:flex-start;align-items:center;display:flex}#header-right{-ms-grid-column:2;-ms-grid-row:1;text-align:right;grid-area:1/2;justify-content:flex-end;align-items:center;display:flex}button,jha-icon-circle-warning{position:absolute;top:50%;transform:translateY(-50%)}button{@apply --button-reset;width:auto;height:24px;display:inline}jha-icon-circle-warning{fill:var(--jha-color-warning);width:24px;height:24px;margin-left:5px}.progress{height:220px}@supports (display:grid){:host header{--jha-card-header-display:grid;grid-template-columns:repeat(2,1fr)}#title{grid-area:1/1/auto/3}#header-left{grid-area:1/1}#header-right{grid-area:1/2}}@media (width>=740px) and (width<=991px){:host([single-column]) header{margin-left:24px;padding-right:24px}}</style> <header role="presentation"> <div id="title"> <slot></slot> <template is="dom-if" if="[[loading]]"> <jha-progress inline=""></jha-progress> </template> <slot name="secondary-title"></slot> <template is="dom-if" if="[[hasError]]"> <template is="dom-if" if="[[!errorButton]]"> <jha-icon-circle-warning title="[[errorTitle]]"></jha-icon-circle-warning> </template> <template is="dom-if" if="[[errorButton]]"> <button type="button" on-click="errorButtonHandler" id="errorButton"> <jha-icon-circle-warning title="[[errorTitle]]"></jha-icon-circle-warning> </button> </template> </template> </div> <div id="header-left"> <slot name="header-left"></slot> </div> <div id="header-right"> <slot name="header-right"></slot> </div> </header>`}},customElements.define(window.JhaCardHeaderElement.is,window.JhaCardHeaderElement),window.JhaCardHeaderElement;
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.