1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[45570],{2696:(e,t,a)=>{a.r(t),a.d(t,{GdsComponentHeader:()=>s.a});var s=a(13441);a(98314),a(24291),a(8802),a(40629),a(11598)},13441:(e,t,a)=>{a.d(t,{a:()=>l});var s=a(98314),n=a(24291),o=a(85065),r=a(40629),h=a(11598),c=(0,r.b)` 2 :host { 3 word-break: break-word; 4 display: flex; 5 gap: var(--component-header-icon-gap); 6 --headers-margin-bottom: 0; 7 } 8 9 :host([icon-alignment="center"]) { 10 align-items: center; 11 } 12 13 .component-header-text { 14 display: flex; 15 flex-direction: column; 16 gap: var(--component-header-text-gap); 17 } 18 19 :is(h1, h2, h3, h4, h5, h6) { 20 margin-block-start: 0; 21 } 22`,l=class extends r.g{constructor(){super(...arguments),this.headerLevel="h3",this.iconAlignment="top",this.headingTagType="class"}getHeadingTag(){switch(this.headerLevel){case"h1":return(0,r.c)`<h1><slot></slot></h1>`;case"h2":return(0,r.c)`<h2><slot></slot></h2>`;case"h3":return(0,r.c)`<h3><slot></slot></h3>`;case"h4":return(0,r.c)`<h4><slot></slot></h4>`;case"h5":return(0,r.c)`<h5><slot></slot></h5>`;case"h6":return(0,r.c)`<h6><slot></slot></h6>`}}render(){return(0,r.c)` 23 <slot name="icon"></slot> 24 <div class="component-header-text"> 25 ${"heading"===this.headingTagType?this.getHeadingTag():(0,r.c)`<div class="${this.headerLevel}"><slot></slot></div>`} 26 <slot name="subtext"></slot> 27 </div> 28 `}connectedCallback(){super.connectedCallback();let e=new CSSStyleSheet;e.replaceSync(c.cssText),this.shadowRoot.adoptedStyleSheets=[s.e,e]}};(0,h.c)([(0,n.b)({type:String,reflect:!0,attribute:"header-level"})],l.prototype,"headerLevel",2),(0,h.c)([(0,n.b)({type:String,reflect:!0,attribute:"icon-alignment"})],l.prototype,"iconAlignment",2),(0,h.c)([(0,n.b)({type:String,attribute:"heading-tag-type"})],l.prototype,"headingTagType",2),l=(0,h.c)([(0,o.a)("gds-component-header")],l)}}]);
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.