"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3156],{3156:function(e,r,a){a.r(r),a.d(r,{va_header_minimal:function(){return o}});var t=a(9213),o=function(){function e(e){(0,t.r)(this,e),this.shifted=!1,this.header=void 0,this.subheader=void 0,this.enableHeadings=!1}return e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,r=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-crisis-line-modal").shadowRoot.querySelector("va-modal"),a=null==r?void 0:r.getAttribute("visible");if(null!==a&&"false"!==a){var t=void 0,o=this.shifted?".last-focusable-child":".va-modal-close";null==(t=this.shifted?null==r?void 0:r.querySelector(o):null==r?void 0:r.shadowRoot.querySelector(o))||t.focus()}},e.prototype.render=function(){var e=this,r=this,a=r.header,o=r.subheader,i=r.enableHeadings;return(0,t.h)(t.H,{key:"247293dceda2d1afdbf24a3c2eb82204949613c9",role:"banner"},(0,t.h)("va-official-gov-banner",{key:"b3f809f861d4a3f45443c7d3cb7c217356b0366d"}),(0,t.h)("va-crisis-line-modal",{key:"764bbbec041d349bbc3e9874244320a8144d4d03"}),(0,t.h)("div",{key:"acd4c4458e9fcd28e6df6a040df8b0c77b054dbf",onFocusin:function(){return e.trapFocus()},class:"va-header"},(0,t.h)("a",{key:"765a6b8c5e134ad0a808284b92892e7ea6347a17",href:"/",title:"Go to VA.gov",class:"va-logo-link"},(0,t.h)("img",{key:"7d2e3be2528a6cc2ba087f90d49d7af51f03c6a6",class:"va-logo",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1Ny42IDM1LjIiIHJvbGU9ImltZyI+PHRpdGxlPlZBPC90aXRsZT48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJNMTEuMSAzNS4yTDAgMGg4LjZsNC4yIDE0LjljMS4yIDQuMiAyLjIgOC4yIDMuMSAxMi42aC4xYy45LTQuMiAxLjktOC40IDMuMS0xMi40TDIzLjUgMGg4LjNMMjAuMiAzNS4yaC05LjF6TTM2LjYgMjYuMmwtMi41IDloLThMMzYuNiAwaDEwLjJsMTAuOCAzNS4yaC04LjVsLTIuNy05aC05Ljh6bTguOC02bC0yLjItNy41Yy0uNi0yLjEtMS4yLTQuNy0xLjctNi44aC0uMWMtLjUgMi4xLTEgNC44LTEuNiA2LjhsLTIgNy41aDcuNnoiPjwvcGF0aD48L2c+PC9zdmc+",alt:"VA logo and Seal, U.S. Department of Veterans Affairs"})),(0,t.h)("div",{key:"37166b0bd5a5e66a02a3bb0b1d0c9a2eef72e550",class:"header-container"},i?(0,t.h)("h1",null,a):(0,t.h)("div",{class:"header"},a),o&&(i?(0,t.h)("h2",null,o):(0,t.h)("div",{class:"subheader"},o)))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),e}();o.style='.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}.va-header{display:-ms-flexbox;display:flex;margin-left:auto;margin-right:auto;max-width:1000px;background-color:var(--vads-color-primary-darker);color:var(--vads-button-color-text-primary-alt-on-light);-ms-flex-align:center;align-items:center;padding:10px 8px;line-height:22px}@media (min-width: 481px){.va-header{padding:10px 16px}}.va-logo-link:focus{outline:2px solid var(--vads-color-action-focus-on-light)}.va-logo{margin-right:8px;min-height:30px;min-width:48px}@media (min-width: 481px){.va-logo{margin-right:16px}}.header-container{padding-left:8px;border-left:1px solid var(--vads-color-white)}@media (min-width: 481px){.header-container{padding-left:16px}}.header-container h1,.header-container .header{font-size:20px;margin:0;font-weight:700}.header-container h2,.header-container .subheader{font-size:20px;margin:0;font-weight:100}@media (min-width: 1024px){va-crisis-line-modal::part(button){position:absolute;right:0;bottom:-5px}}'}}]);