@department-of-veterans-affairs/component-library 51.3.0 → 51.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Modal.js CHANGED
@@ -1 +1 @@
1
- "use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _react=_interopRequireDefault(require("react")),_classnames=_interopRequireDefault(require("classnames")),_reactFocusOn=require("react-focus-on"),_analytics=_interopRequireDefault(require("./analytics"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,o){return t&&_defineProperties(e.prototype,t),o&&_defineProperties(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var o,n=_getPrototypeOf(e);if(t){var r=_getPrototypeOf(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return _possibleConstructorReturn(this,o)}}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}var ESCAPE_KEY=27,Modal=function(){_inherits(t,_react.default.Component);var e=_createSuper(t);function t(o){var n;return _classCallCheck(this,t),(n=e.call(this,o)).handleDocumentKeyDown=n.handleDocumentKeyDown.bind(_assertThisInitialized(n)),n.handleClose=n.handleClose.bind(_assertThisInitialized(n)),n.handleDocumentClicked=n.handleDocumentClicked.bind(_assertThisInitialized(n)),n}return _createClass(t,[{key:"componentDidMount",value:function(){this.props.visible&&this.setupModal()}},{key:"componentDidUpdate",value:function(e){!e.visible&&this.props.visible?this.setupModal():e.visible&&!this.props.visible&&this.teardownModal()}},{key:"componentWillUnmount",value:function(){this.props.visible&&this.teardownModal()}},{key:"setupModal",value:function(){var e,t;this.setInitialModalFocus(),document.body.classList.add("modal-open"),document.addEventListener("keydown",this.handleDocumentKeyDown,!1),this.props.clickToClose&&document.addEventListener("click",this.handleDocumentClicked,!0),this.props.disableAnalytics||(0,_analytics.default)({componentName:"Modal",action:"show",details:{status:this.props.status,title:this.props.title,primaryButtonText:null===(e=this.props.primaryButton)||void 0===e?void 0:e.text,secondaryButtonText:null===(t=this.props.secondaryButton)||void 0===t?void 0:t.text}})}},{key:"teardownModal",value:function(){document.body.classList.remove("modal-open"),document.removeEventListener("keydown",this.handleDocumentKeyDown,!1),this.props.clickToClose&&document.removeEventListener("click",this.handleDocumentClicked,!0)}},{key:"handleDocumentKeyDown",value:function(e){e.keyCode===ESCAPE_KEY&&this.handleClose(e)}},{key:"handleClose",value:function(e){e.preventDefault(),this.props.onClose()}},{key:"handleDocumentClicked",value:function(e){this.props.visible&&!this.element.contains(e.target)&&this.props.onClose()}},{key:"setInitialModalFocus",value:function(){if(this.props.initialFocusSelector){var e=this.element.querySelector(this.props.initialFocusSelector);e&&e.setAttribute("data-autofocus","true")}}},{key:"renderAlertActions",value:function(){var e=this.props,t=e.primaryButton,o=e.secondaryButton;return t||o?_react.default.createElement("div",{className:"alert-actions"},t&&_react.default.createElement("button",{className:"usa-button",onClick:t.action},t.text),o&&_react.default.createElement("button",{className:"usa-button-secondary",onClick:o.action},o.text)):null}},{key:"render",value:function(){var e,t=this;if(!this.props.visible)return null;var o=this.props,n=o.id,r=o.status,a=o.title,i="".concat(n||"va-modal","-title"),s=this.props.contents||this.props.children,l=(0,_classnames.default)("va-modal",this.props.cssClass),c=(0,_classnames.default)("va-modal-inner",(_defineProperty(e={"usa-alert":r},"usa-alert-".concat(r),r),_defineProperty(e,"va-modal-alert",r),e)),u=r?"usa-alert-body":"va-modal-body",d=(0,_classnames.default)(r?"usa-alert-heading":"va-modal-title","vads-u-font-size--h3"),f=(0,_classnames.default)({"usa-alert-text":r}),p=a?"close ".concat(a," modal"):"close modal",y=!this.props.hideCloseButton&&_react.default.createElement("button",{className:"va-modal-close",type:"button","aria-label":p,onClick:this.handleClose},_react.default.createElement("i",{className:"fas fa-times-circle","aria-hidden":"true"}));return _react.default.createElement(_reactFocusOn.FocusOn,{returnFocus:!0},_react.default.createElement("div",{className:l,id:n,role:function(e){return"warning"===e||"error"===e?"alertdialog":"dialog"}(r),"aria-labelledby":i,"aria-modal":!0},_react.default.createElement("div",{className:c,ref:function(e){t.element=e}},y,_react.default.createElement("div",{className:u},_react.default.createElement("div",{role:"document"},a&&_react.default.createElement("h1",{id:i,className:d,tabIndex:"-1"},a),s&&_react.default.createElement("div",{className:f},s)),this.renderAlertActions()))))}}]),t}();Modal.defaultProps={visible:!1,clickToClose:!1,focusSelector:"button, input, select, a"};var _default=Modal;exports.default=_default;
1
+ "use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _react=_interopRequireDefault(require("react")),_classnames=_interopRequireDefault(require("classnames")),_reactFocusOn=require("react-focus-on"),_analytics=_interopRequireDefault(require("./analytics"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,o){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,t,o){return t&&_defineProperties(e.prototype,t),o&&_defineProperties(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var o,r=_getPrototypeOf(e);if(t){var n=_getPrototypeOf(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return _possibleConstructorReturn(this,o)}}function _possibleConstructorReturn(e,t){if(t&&("object"==_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}var ESCAPE_KEY=27,Modal=function(){_inherits(t,_react.default.Component);var e=_createSuper(t);function t(o){var r;return _classCallCheck(this,t),(r=e.call(this,o)).handleDocumentKeyDown=r.handleDocumentKeyDown.bind(_assertThisInitialized(r)),r.handleClose=r.handleClose.bind(_assertThisInitialized(r)),r.handleDocumentClicked=r.handleDocumentClicked.bind(_assertThisInitialized(r)),r}return _createClass(t,[{key:"componentDidMount",value:function(){this.props.visible&&this.setupModal()}},{key:"componentDidUpdate",value:function(e){!e.visible&&this.props.visible?this.setupModal():e.visible&&!this.props.visible&&this.teardownModal()}},{key:"componentWillUnmount",value:function(){this.props.visible&&this.teardownModal()}},{key:"setupModal",value:function(){var e,t;this.setInitialModalFocus(),document.body.classList.add("modal-open"),document.addEventListener("keydown",this.handleDocumentKeyDown,!1),this.props.clickToClose&&document.addEventListener("click",this.handleDocumentClicked,!0),this.props.disableAnalytics||(0,_analytics.default)({componentName:"Modal",action:"show",details:{status:this.props.status,title:this.props.title,primaryButtonText:null===(e=this.props.primaryButton)||void 0===e?void 0:e.text,secondaryButtonText:null===(t=this.props.secondaryButton)||void 0===t?void 0:t.text}})}},{key:"teardownModal",value:function(){document.body.classList.remove("modal-open"),document.removeEventListener("keydown",this.handleDocumentKeyDown,!1),this.props.clickToClose&&document.removeEventListener("click",this.handleDocumentClicked,!0)}},{key:"handleDocumentKeyDown",value:function(e){e.keyCode===ESCAPE_KEY&&this.handleClose(e)}},{key:"handleClose",value:function(e){e.preventDefault(),this.props.onClose()}},{key:"handleDocumentClicked",value:function(e){this.props.visible&&!this.element.contains(e.target)&&this.props.onClose()}},{key:"setInitialModalFocus",value:function(){if(this.props.initialFocusSelector){var e=this.element.querySelector(this.props.initialFocusSelector);e&&e.setAttribute("data-autofocus","true")}}},{key:"renderAlertActions",value:function(){var e=this.props,t=e.primaryButton,o=e.secondaryButton;return t||o?_react.default.createElement("div",{className:"alert-actions"},t&&_react.default.createElement("button",{className:"usa-button",onClick:t.action},t.text),o&&_react.default.createElement("button",{className:"usa-button-secondary",onClick:o.action},o.text)):null}},{key:"render",value:function(){var e,t=this;if(!this.props.visible)return null;var o=this.props,r=o.id,n=o.status,a=o.title,i="".concat(r||"va-modal","-title"),s=this.props.contents||this.props.children,l=(0,_classnames.default)("va-modal",this.props.cssClass),c=(0,_classnames.default)("va-modal-inner",(_defineProperty(e={"usa-alert":n},"usa-alert-".concat(n),n),_defineProperty(e,"va-modal-alert",n),e)),u=n?"usa-alert-body":"va-modal-body",d=(0,_classnames.default)(n?"usa-alert-heading":"va-modal-title","vads-u-font-size--h3"),f=(0,_classnames.default)({"usa-alert-text":n}),p=a?"close ".concat(a," modal"):"close modal",y=!this.props.hideCloseButton&&_react.default.createElement("button",{className:"va-modal-close",type:"button","aria-label":p,onClick:this.handleClose},_react.default.createElement("i",{className:"fas fa-times-circle","aria-hidden":"true"}));return _react.default.createElement(_reactFocusOn.FocusOn,{returnFocus:!0},_react.default.createElement("div",{className:l,id:r,role:function(e){return"warning"===e||"error"===e?"alertdialog":"dialog"}(n),"aria-labelledby":i,"aria-modal":!0},_react.default.createElement("div",{className:c,ref:function(e){t.element=e}},y,_react.default.createElement("div",{className:u},_react.default.createElement("div",{role:"document"},a&&_react.default.createElement("h1",{id:i,className:d,tabIndex:"-1"},a),s&&_react.default.createElement("div",{className:f},s)),this.renderAlertActions()))))}}]),t}();Modal.defaultProps={visible:!1,clickToClose:!1,focusSelector:"button, input, select, a"};var _default=Modal;exports.default=_default;
package/README.md CHANGED
@@ -64,4 +64,4 @@ This should be set as **GITHUB_API_KEY** in your environment variable.
64
64
 
65
65
  ### 4. Update consuming apps
66
66
 
67
- The last step is to update the `package.json` files of consuming apps to use the latest version of `@department-of-veterans-affairs/formation` (or `component-library`). For example, if you are working with the `vets-website` project, open the `vets-website`'s `package.json` to update the version number of the `@department-of-veterans-affairs/formation` entry listed in the `dependencies` section. The version number should match what you just published to NPM.
67
+ The last step is to update the `package.json` files of consuming apps to use the latest version of `@department-of-veterans-affairs/component-library`. For example, if you are working with the `vets-website` project, open the `vets-website`'s `package.json` to update the version number of the `@department-of-veterans-affairs/component-library` entry listed in the `dependencies` section. The version number should match what you just published to NPM.
package/contacts.js CHANGED
@@ -1 +1 @@
1
- "use strict";function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){_defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function _defineProperty(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.contactsMap=exports.CONTACTS=void 0;var contactsMap=Object.freeze({"222_VETS":{phoneNumber:"8772228387",description:"VA Help Line"},"4AID_VET":{phoneNumber:"8774243838",description:"National Call Center for Homeless Veterans"},711:{phoneNumber:"711",description:"Telecommunications Relay Service"},911:{phoneNumber:"911",description:"911"},CAREGIVER:{phoneNumber:"8552603274",description:"VA National Caregiver Support Line"},CRISIS_LINE:{phoneNumber:"8002738255",description:"Veterans Crisis hotline"},CRISIS_TTY:{phoneNumber:"8007994889",description:"Veterans Crisis hotline TTY"},DMC:{phoneNumber:"8008270648",description:"Debt Management Center"},DMC_OVERSEAS:{phoneNumber:"6127136415",description:"Debt Management Center (Overseas)"},DMDC_DEERS:{phoneNumber:"8663632883",description:"Defense Manpower Data Center (DMDC) | Defense Enrollment Eligibility Reporting System (DEERS) Support Office"},DS_LOGON:{phoneNumber:"8005389552",description:"Defense Manpower Data Center"},DS_LOGON_TTY:{phoneNumber:"8663632883",description:"Defense Manpower Data Center TTY"},FEDERAL_RELAY_SERVICE:{phoneNumber:"8008778339",description:"Federal Relay Service"},GI_BILL:{phoneNumber:"8884424551",description:"Education Call Center (1-888-GI-BILL-1)"},GO_DIRECT:{phoneNumber:"8003331795",description:"Go Direct/Direct Express (Treasury)"},HELP_DESK:{phoneNumber:"8006982411",description:"VA Help desk"},HEALTH_RESOURCE_CENTER:{phoneNumber:"8664001238",description:"Health Resource Center"},HEALTHCARE_ELIGIBILITY_CENTER:{phoneNumber:"8554888440",description:"VA Healthcare Eligibility Center (Eligibility Division)"},HELP_TTY:{phoneNumber:"8008778339",description:"VA Help Desk TTY"},MY_HEALTHEVET:{phoneNumber:"8773270022",description:"My HealtheVet help desk"},NCA:{phoneNumber:"8005351117",description:"National Cemetery Scheduling Office"},SUICIDE_PREVENTION_LIFELINE:{phoneNumber:"8007994889",description:"Suicide Prevention Line"},TESC:{phoneNumber:"8882242950",description:"U.S. Treasury Electronic Payment Solution Center"},TREASURY_DMS:{phoneNumber:"8888263127",description:"U.S. Department of the Treasury (Debt Management Services)"},VA_311:{phoneNumber:"8006982411",description:"VA Help desk (VA411)"},VA_411:{phoneNumber:"8006982411",description:"VA Help desk (VA411)"},VA_BENEFITS:{phoneNumber:"8008271000",description:"Veterans Benefits Assistance"}});exports.contactsMap=contactsMap;var CONTACTS=Object.freeze(Object.entries(contactsMap).reduce((function(e,r){return _objectSpread(_objectSpread({},e),{},_defineProperty({},r[0],r[1].phoneNumber))}),{}));exports.CONTACTS=CONTACTS;
1
+ "use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){_defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){var r=_toPrimitive(e,"string");return"symbol"==_typeof(r)?r:r+""}function _toPrimitive(e,r){if("object"!=_typeof(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.contactsMap=exports.CONTACTS=void 0;var contactsMap=Object.freeze({"222_VETS":{phoneNumber:"8772228387",description:"VA Help Line"},"4AID_VET":{phoneNumber:"8774243838",description:"National Call Center for Homeless Veterans"},711:{phoneNumber:"711",description:"Telecommunications Relay Service"},911:{phoneNumber:"911",description:"911"},CAREGIVER:{phoneNumber:"8552603274",description:"VA National Caregiver Support Line"},CRISIS_LINE:{phoneNumber:"8002738255",description:"Veterans Crisis hotline"},CRISIS_TTY:{phoneNumber:"8007994889",description:"Veterans Crisis hotline TTY"},DMC:{phoneNumber:"8008270648",description:"Debt Management Center"},DMC_OVERSEAS:{phoneNumber:"6127136415",description:"Debt Management Center (Overseas)"},DMDC_DEERS:{phoneNumber:"8663632883",description:"Defense Manpower Data Center (DMDC) | Defense Enrollment Eligibility Reporting System (DEERS) Support Office"},DS_LOGON:{phoneNumber:"8005389552",description:"Defense Manpower Data Center"},DS_LOGON_TTY:{phoneNumber:"8663632883",description:"Defense Manpower Data Center TTY"},FEDERAL_RELAY_SERVICE:{phoneNumber:"8008778339",description:"Federal Relay Service"},GI_BILL:{phoneNumber:"8884424551",description:"Education Call Center (1-888-GI-BILL-1)"},GO_DIRECT:{phoneNumber:"8003331795",description:"Go Direct/Direct Express (Treasury)"},HELP_DESK:{phoneNumber:"8006982411",description:"VA Help desk"},HEALTH_RESOURCE_CENTER:{phoneNumber:"8664001238",description:"Health Resource Center"},HEALTHCARE_ELIGIBILITY_CENTER:{phoneNumber:"8554888440",description:"VA Healthcare Eligibility Center (Eligibility Division)"},HELP_TTY:{phoneNumber:"8008778339",description:"VA Help Desk TTY"},MY_HEALTHEVET:{phoneNumber:"8773270022",description:"My HealtheVet help desk"},NCA:{phoneNumber:"8005351117",description:"National Cemetery Scheduling Office"},SUICIDE_PREVENTION_LIFELINE:{phoneNumber:"8007994889",description:"Suicide Prevention Line"},TESC:{phoneNumber:"8882242950",description:"U.S. Treasury Electronic Payment Solution Center"},TREASURY_DMS:{phoneNumber:"8888263127",description:"U.S. Department of the Treasury (Debt Management Services)"},VA_311:{phoneNumber:"8006982411",description:"VA Help desk (VA411)"},VA_411:{phoneNumber:"8006982411",description:"VA Help desk (VA411)"},VA_BENEFITS:{phoneNumber:"8008271000",description:"Veterans Benefits Assistance"}});exports.contactsMap=contactsMap;var CONTACTS=Object.freeze(Object.entries(contactsMap).reduce((function(e,r){return _objectSpread(_objectSpread({},e),{},_defineProperty({},r[0],r[1].phoneNumber))}),{}));exports.CONTACTS=CONTACTS;
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[12],{12:function(n,o,i){i.r(o),i.d(o,{va_on_this_page:function(){return a}});var t=i(7911),e=(i(7470),i(3244)),a=function(){function n(n){var o=this;(0,t.r)(this,n),this.componentLibraryAnalytics=(0,t.c)(this,"component-library-analytics",7),this.handleOnClick=function(n){var i,t,e,a;o.disableAnalytics||o.componentLibraryAnalytics.emit({componentName:"va-on-this-page",action:"click",details:{"click-text":(null===(t=null===(i=n.composedPath())||void 0===i?void 0:i[0])||void 0===t?void 0:t.textContent)||(null===(a=null===(e=n.path)||void 0===e?void 0:e[0])||void 0===a?void 0:a.textContent)}})},this.disableAnalytics=!1}return n.prototype.connectedCallback=function(){var n=this;e.i.on("languageChanged",(function(){(0,t.f)(n.el)}))},n.prototype.disconnectedCallback=function(){e.i.off("languageChanged")},n.prototype.render=function(){var n=this.handleOnClick,o=Array.from(document.querySelectorAll("article h2")).filter((function(n){return n.id}));return(0,t.h)("nav",{"aria-labelledby":"on-this-page"},(0,t.h)("ul",null,(0,t.h)("li",{id:"on-this-page"},e.i.t("on-this-page")),o.map((function(o){return(0,t.h)("li",null,(0,t.h)("a",{href:"#".concat(o.id),onClick:n},(0,t.h)("va-icon",{icon:"arrow_downward"}),(0,t.h)("span",null,o.innerText)))}))))},Object.defineProperty(n.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),n}();a.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}:host{display:block;border:1px solid var(--vads-color-base-light);border-radius:4px;padding:1em}@media (min-width: 768px){:host{border:none;padding:1em 1em 1em 0}}#on-this-page{font-family:var(--font-serif);font-size:1.25rem;margin:0.4em 0em}ul{margin-top:0;margin-bottom:0;margin-left:0;list-style-type:none;padding-left:0}li{padding:0.5em;max-width:var(--vads-size-line-length-4)}li a{line-height:1.5em;display:-ms-flexbox;display:flex}li:hover{background-color:rgba(0, 0, 0, 0.05)}li a:hover{background-color:transparent}va-icon{margin-right:4px;padding-top:4px;line-height:1}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[12],{12:function(e,t,n){n.r(t),n.d(t,{va_on_this_page:function(){return a}});var o=n(7911),i=(n(5384),n(4665)),a=function(){function e(e){var t=this;(0,o.r)(this,e),this.componentLibraryAnalytics=(0,o.c)(this,"component-library-analytics",7),this.handleHeadingBlur=function(e){var t=e.target;t.removeAttribute("tabindex"),t.removeAttribute("role")},this.moveFocusToHeading=function(e){var n=e.currentTarget,o=document.getElementById(n.hash.slice(1));o&&(o.setAttribute("tabindex","-1"),o.setAttribute("role","text"),o.focus(),o.addEventListener("blur",t.handleHeadingBlur,{once:!0}))},this.handleOnClick=function(e){var n,o,i,a;t.moveFocusToHeading(e),t.disableAnalytics||t.componentLibraryAnalytics.emit({componentName:"va-on-this-page",action:"click",details:{"click-text":(null===(o=null===(n=e.composedPath())||void 0===n?void 0:n[0])||void 0===o?void 0:o.textContent)||(null===(a=null===(i=e.path)||void 0===i?void 0:i[0])||void 0===a?void 0:a.textContent)}})},this.disableAnalytics=!1}return e.prototype.connectedCallback=function(){var e=this;i.i.on("languageChanged",(function(){(0,o.f)(e.el)}))},e.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},e.prototype.render=function(){var e=this.handleOnClick,t=Array.from(document.querySelectorAll("article h2")).filter((function(e){return e.id}));return(0,o.h)("nav",{"aria-labelledby":"on-this-page"},(0,o.h)("ul",null,(0,o.h)("li",{id:"on-this-page"},i.i.t("on-this-page")),t.map((function(t){return(0,o.h)("li",null,(0,o.h)("a",{href:"#".concat(t.id),onClick:e},(0,o.h)("va-icon",{icon:"arrow_downward"}),(0,o.h)("span",null,t.innerText)))}))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),e}();a.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}:host{display:block;border:1px solid var(--vads-color-base-light);border-radius:4px;padding:1em}@media (min-width: 768px){:host{border:none;padding:1em 1em 1em 0}}#on-this-page{font-family:var(--font-serif);font-size:1.25rem;margin:0.4em 0em}ul{margin-top:0;margin-bottom:0;margin-left:0;list-style-type:none;padding-left:0}li{padding:0.5em;max-width:var(--vads-size-line-length-4)}li a{line-height:1.5em;display:-ms-flexbox;display:flex}li:hover{background-color:rgba(0, 0, 0, 0.05)}li a:hover{background-color:transparent}va-icon{margin-right:4px;padding-top:4px;line-height:1}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2205],{2205:function(e,t,a){a.r(t),a.d(t,{va_crisis_line_modal:function(){return c},va_official_gov_banner:function(){return r}});var i=a(7911),o=a(7470),n=a(3244),c=function(){function e(e){(0,i.r)(this,e),this.isOpen=!1,this.shifted=!1}return e.prototype.setVisible=function(){this.isOpen=!0},e.prototype.setNotVisible=function(){this.isOpen=!1},e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,t=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-modal"),a=null==t?void 0:t.getAttribute("visible");if(null!==a&&"false"!==a){var i=void 0,o=this.shifted?".last-focusable-child":'[role="document"]';null==(i=this.shifted?null==t?void 0:t.querySelector(o):null==t?void 0:t.shadowRoot.querySelector(o))||i.focus()}},e.prototype.render=function(){var e=this;return(0,i.h)(i.H,{key:"9abdb650f83b1ebaf8d6c47897caa5d20fd13e06"},(0,i.h)("div",{key:"96618055c7c7a11d1180c5870eae1298d7c67867",class:"va-crisis-line-container"},(0,i.h)("button",{key:"ca66ad606aa88a5837686eafbdbdaa74d3b5f4a1",onClick:function(){return e.setVisible()},onFocusin:function(){return e.trapFocus()},"data-show":"#modal-crisisline",class:"va-crisis-line va-overlay-trigger",part:"button"},(0,i.h)("div",{key:"8f07f3ff5edd14ec01a216c8cf1849e21642bbef",class:"va-crisis-line-inner"},(0,i.h)("span",{key:"ff2cf54c5ff807679e0820b4607a810f77fab3cd",class:"va-crisis-line-icon","aria-hidden":"true"}),(0,i.h)("span",{key:"01ccfb67535e3fe4fd0873d3d86f7b1b9340ba4b",class:"va-crisis-line-text"},"Talk to the ",(0,i.h)("strong",{key:"240691554fa7b48ba9510382dc3f1214cc633469"},"Veterans Crisis Line")," now"),(0,i.h)("va-icon",{key:"657c49341568c2c6cecfa0c57bce6d216fc3b3a4",class:"va-icon__right-arrow",icon:"navigate_next",size:3})))),(0,i.h)("va-modal",{key:"8a8646b05be73d32edb10a951606ed377bb6f3df",modalTitle:"We’re here anytime, day or night – 24/7",onPrimaryButtonClick:function(){return e.setNotVisible()},onCloseEvent:function(){return e.setNotVisible()},visible:this.isOpen,large:!0},(0,i.h)("p",{key:"0aa6c308c9e92d3221b8776e47a20854936caac6"},"If you are a Veteran in crisis or concerned about one, connect with our caring, qualified responders for confidential help. Many of them are Veterans themselves."),(0,i.h)("ul",{key:"895c26d0e826ae7953704c7eefbae3ad6bc329e8",class:"va-crisis-panel-list"},(0,i.h)("li",{key:"8cf6852edb3a84e5c0fba7c49e2f550971c28b9d"},(0,i.h)("va-icon",{key:"50ae8afa383e9140bd8cd195e518725c01eb1bb0",class:"va-clm__icon",icon:"phone",size:3}),(0,i.h)("span",{key:"183f56dca2957a3bf8a40a7618839fd2b314b776"},"Call"," ",(0,i.h)("strong",{key:"a36c35b6920e48ae4ce464362651a8a3a07a28c4"},(0,i.h)("va-telephone",{key:"d262dab146969d6e01966f539875dec8e28ef3b7",contact:"988"})," and select 1"))),(0,i.h)("li",{key:"fb001af22341fbdda8827fba41fe024f264a52f6"},(0,i.h)("va-icon",{key:"4d922bac42139ac20f1fc1417ed62064d20e719a",icon:"phone_iphone",class:"va-clm__icon",size:3}),(0,i.h)("span",{key:"486842b866cee9715eeeafcb19a16919fb71e83f"},"Text ",(0,i.h)("strong",{key:"6a2016562c1279c05606ddd748ba78166720a567"},(0,i.h)("va-telephone",{key:"e6bd065e2d3381254020f612fc3680366e13a6c3",sms:!0,contact:"838255"})))),(0,i.h)("li",{key:"969edac9d2ba76ba55662ad6351845e07864b851"},(0,i.h)("va-icon",{key:"3a5e4a39e56e235913317259ee48c4eea4788b32",icon:"chat",class:"va-clm__icon",size:3}),(0,i.h)("a",{key:"d4722da3256da6da43cd8bd51460491dead644c0",class:"no-external-icon",href:"https://www.veteranscrisisline.net/get-help-now/chat/"},"Start a confidential chat")),(0,i.h)("li",{key:"73f16a72346b8b889b0de617d207875ca022a3c8"},(0,i.h)("va-icon",{key:"6b85e8d63cad91435de0764c2e2e6560152d7a09",icon:"tty",class:"va-clm__icon",size:3}),(0,i.h)("p",{key:"aee5ec33cce7164ce0227c443b2325651d9a48dd"},"Call TTY if you have hearing loss"," ",(0,i.h)("strong",{key:"c901785e83e3ebe67908ebfc7cd205b95b751db9"},(0,i.h)("va-telephone",{key:"2d6a7c2cd00fc660514a1cba9b6014261ff3e10d",tty:!0,contact:o.C.CRISIS_TTY}))))),(0,i.h)("p",{key:"4ba3381cb65d93ee35edbf205fd3e0f86ed31066"},"Get more resources at"," ",(0,i.h)("a",{key:"be70893a771ebdead2aff28b6889257d05668945",class:"no-external-icon",href:"https://www.veteranscrisisline.net/"},"VeteransCrisisLine.net"))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),e}();c.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.va-crisis-line-container{position:relative;margin:auto;background-color:var(--vads-color-secondary-dark)}@media (min-width: 1008px){.va-crisis-line-container{max-width:60.938rem;background-color:transparent}}a{color:var(--vads-color-link)}button.va-crisis-line{cursor:pointer;background-color:var(--vads-color-secondary-darkest);display:block;border-radius:0;color:var(--vads-button-color-text-primary-alt-on-light);font-family:var(--font-source-sans);font-size:16px;font-weight:normal;text-decoration:none;padding:0;margin:0;width:100%;border:0;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}button.va-crisis-line:focus{outline-offset:-2px}button.va-crisis-line:hover,button.va-crisis-line:active{background-color:#8b0a03}@media (min-width: 1008px){button.va-crisis-line:hover .va-crisis-line-icon,button.va-crisis-line:active .va-crisis-line-icon{background-color:#b51d09}}@media (min-width: 1008px){button.va-crisis-line{width:auto;border-radius:0 0 2.3px 2.3px;-webkit-box-shadow:0 2px 5px var(--vads-color-base);box-shadow:0 2px 5px var(--vads-color-base)}}.va-crisis-line-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:auto}@media (min-width: 1008px){.va-crisis-line-inner{text-align:left;-ms-flex-pack:justify;justify-content:space-between}}.va-crisis-line-icon{content:"";background:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat right 29%;background-size:30px auto;background-position:8px 8px;width:40px;height:36px;padding-right:3px;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}@media (max-width: 480px){.va-crisis-line-icon{display:none}}@media (min-width: 1008px){.va-crisis-line-icon{border-bottom-left-radius:3.2px}}.va-crisis-line-text{padding:8px}.va-icon__right-arrow{position:relative;top:2px}.va-clm__icon{position:relative;top:15px;margin-right:23px}.va-crisis-panel{color:var(--vads-color-base)}.va-crisis-panel-body{max-height:100%}.va-crisis-panel-title{color:var(--vads-color-base);padding-left:41px;background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat left;background-position:left 5px;background-size:32px auto}.va-crisis-panel-list{list-style:none;padding:0}.va-crisis-panel-list>li{display:-ms-flexbox;display:flex;min-height:56px;margin-bottom:0;border-top:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li:last-child{border-bottom:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li>a,.va-crisis-panel-list>li>span{padding:8px 0;-ms-flex-item-align:center;align-self:center}';var r=function(){function e(e){var t=this;(0,i.r)(this,e),this.componentLibraryAnalytics=(0,i.c)(this,"component-library-analytics",7),this.handleClick=function(){var e,a,i,o=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".content"),n=null===(a=t.el.shadowRoot)||void 0===a?void 0:a.querySelector("button"),c=null===(i=t.el.shadowRoot)||void 0===i?void 0:i.querySelector("div#header");if(n.setAttribute("aria-expanded","true"===n.getAttribute("aria-expanded")?"false":"true"),c.classList.toggle("expanded"),o.hidden?o.removeAttribute("hidden"):o.setAttribute("hidden","true"),!t.disableAnalytics){var r={componentName:"va-official-gov-banner",action:"true"===n.getAttribute("aria-expanded")?"expand":"collapse"};t.componentLibraryAnalytics.emit(r)}},this.govSiteExplanationText=function(){var e,a=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-explanation-text");if(a){var i=n.i.t("gov-site-explanation",{tld:t.tld});i&&(a.innerHTML=i.replace(".".concat(t.tld),"<strong>.".concat(t.tld,"</strong>")))}},this.govSiteLockText=function(){var e,a=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-lock-text"),i=n.i.t("gov-site-lock",{image:"SVG",tld:t.tld});i=(i=(i=(i=i.replace("SVG",'(&nbsp;<span class="icon-lock"><svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" role="img" aria-labelledby="banner-lock-description" focusable="false">\n <title id="banner-lock-title">Lock</title>\n <desc id="banner-lock-description">Locked padlock icon</desc>\n <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z"></path>\n </svg></span>&nbsp;)')).replace("lock","<strong>lock</strong>")).replace("candado","<strong>candado</strong>")).replace("https://","<strong>https://</strong>"),a&&(a.innerHTML=i)},this.disableAnalytics=!1,this.tld="gov"}return e.prototype.connectedCallback=function(){var e=this;n.i.on("languageChanged",(function(){(0,i.f)(e.el)}))},e.prototype.disconnectedCallback=function(){n.i.off("languageChanged")},e.prototype.componentDidLoad=function(){this.govSiteExplanationText(),this.govSiteLockText()},e.prototype.render=function(){var e=this.tld;if("gov"===e||"mil"===e)return(0,i.h)(i.H,{key:"8bd9f69692677fb9489b4a7a741b3faa2c1c666c"},(0,i.h)("div",{key:"e956900d3e56ec62c870116281b81f09b56f1bd1",class:"banner"},(0,i.h)("div",{key:"35212bc3e7cf3410cc14fd739d4bd96f768f81e2",class:"accordion"},(0,i.h)("div",{key:"c5cf81b9422cb0cdb4e166400963812e612d2e10",id:"header"},(0,i.h)("div",{key:"a9224d9bbf505372a384a43fd8b6dc730d8ce82e",class:"inner"},(0,i.h)("div",{key:"f654f5b30669311cd478b69581d9f8afa4969af7",class:"grid-col-auto"},(0,i.h)("img",{key:"364c96553a7796e183f587cb691063d4ee97c835",role:"presentation",class:"header-flag",src:"https://s3-us-gov-west-1.amazonaws.com/content.www.va.gov/img/tiny-usa-flag.png",alt:""})),(0,i.h)("div",{key:"c05faeecdca4fed6a7b807ddaa4f7f69bf88887e",class:"grid-col-fill","aria-hidden":"true"},(0,i.h)("p",{key:"a6463e0a85a0490378655b87a9d365faebcb6090",class:"header-text"},n.i.t("gov-site-label")),(0,i.h)("p",{key:"90a2f92331dac1faa83d913966444adb3f4136ad",class:"header-action"},n.i.t("gov-site-button"))),(0,i.h)("button",{key:"25a231f625a783697a9917b3204751c48396997b",onClick:this.handleClick,type:"button","aria-expanded":"false","aria-controls":"official-gov-banner"},(0,i.h)("span",{key:"b954a97e2f4a440407e58934863d8387b0eefe26",class:"button-text"},n.i.t("gov-site-button"))))),(0,i.h)("div",{key:"985b21a21ce366d68d74d5e8cc61f1a89d53ca88",class:"content",id:"official-gov-banner",hidden:!0},(0,i.h)("div",{key:"be669f183417bb4c40973bcad96a2a6661d92928",class:"grid-row"},(0,i.h)("div",{key:"fd7b884ca25f82baaff43e1ab2e20d0bedf96a09",class:"col"},(0,i.h)("img",{key:"f6b2cb9b2c755015119c5a7216d03afb28645c5c",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5pY29uLWRvdC1nb3Y8L3RpdGxlPjxwYXRoIGZpbGw9IiMyMzc4QzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMyIDBjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyIDAgMTcuNjczLTE0LjMyNyAzMi0zMiAzMkMxNC4zMjcgNjQgMCA0OS42NzMgMCAzMiAwIDE0LjMyNyAxNC4zMjcgMCAzMiAwem0wIDEuMjA4QzE0Ljk5NCAxLjIwOCAxLjIwOCAxNC45OTQgMS4yMDggMzJTMTQuOTk0IDYyLjc5MiAzMiA2Mi43OTIgNjIuNzkyIDQ5LjAwNiA2Mi43OTIgMzIgNDkuMDA2IDEuMjA4IDMyIDEuMjA4em0xMC41OSAzOC44NThhLjg1Ny44NTcgMCAwIDEgLjg4Mi44MjJ2MS42NDJIMTguODg2di0xLjY0MmEuODU3Ljg1NyAwIDAgMSAuODgyLS44MjJINDIuNTl6TTI1LjQ0MyAyNy43NzR2OS44MjloMS42NDJ2LTkuODNoMy4yNzN2OS44M0gzMnYtOS44M2gzLjI3MnY5LjgzaDEuNjQzdi05LjgzaDMuMjcydjkuODNoLjc2YS44NTcuODU3IDAgMCAxIC44ODIuODIxdi44MjFoLTIxLjN2LS44MDlhLjg1Ny44NTcgMCAwIDEgLjg4LS44MmguNzYydi05Ljg0MmgzLjI3MnptNS43MzYtOC4xODhsMTIuMjkzIDQuOTE1djEuNjQyaC0xLjYzYS44NTcuODU3IDAgMCAxLS44ODIuODIySDIxLjQxYS44NTcuODU3IDAgMCAxLS44ODItLjgyMmgtMS42NDJ2LTEuNjQybDEyLjI5My00LjkxNXoiLz48L3N2Zz4=",role:"presentation",alt:""}),(0,i.h)("div",{key:"846cf611f8cddddc71c6fd0c4dc1375a5a6c94b4",class:"media-block"},(0,i.h)("p",{key:"df4a89b35d168e04bb64a76f4864876730b857d5"},(0,i.h)("strong",{key:"432d4cf25deef4170ad14c011c5f8a05b59e4d29"},n.i.t("gov-site-website",{tld:e})),(0,i.h)("br",{key:"aef30b10637e2d129eabcb3e03e8b86054f93c9b"}),(0,i.h)("span",{key:"18dae65b742f76ca3ab3ef16801d6cfa5d9afbec",class:"gov-site-explanation-text"},this.govSiteExplanationText())))),(0,i.h)("div",{key:"02cfa4c9e797a64634a4123035555e3ba508eff6",class:"col"},(0,i.h)("img",{key:"382b2676254255d5c78ff841e2d29e5c4f7344a6",src:"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzIgMGMxNy42NzMgMCAzMiAxNC4zMjcgMzIgMzJzLTE0LjMyNyAzMi0zMiAzMi0zMi0xNC4zMjctMzItMzIgMTQuMzI3LTMyIDMyLTMyem0wIDEuMjA4Yy0xNy4wMDYgMC0zMC43OTIgMTMuNzg2LTMwLjc5MiAzMC43OTJzMTMuNzg2IDMwLjc5MiAzMC43OTIgMzAuNzkyIDMwLjc5Mi0xMy43ODYgMzAuNzkyLTMwLjc5Mi0xMy43ODYtMzAuNzkyLTMwLjc5Mi0zMC43OTJ6bTAgMTguODg2YTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1IDcuMjQ1djMuMTAzaC41MmMuODYgMCAxLjU1Ny42OTggMS41NTcgMS41NTh2OS4zMjJjMCAuODYtLjY5NyAxLjU1OC0xLjU1NyAxLjU1OGgtMTUuNTNjLS44NiAwLTEuNTU3LS42OTctMS41NTctMS41NTh2LTkuMzIyYzAtLjg2LjY5Ny0xLjU1OCAxLjU1Ny0xLjU1OGguNTJ2LTMuMTAyYTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1LTcuMjQ2em0wIDMuMTAzYTQuMTQyIDQuMTQyIDAgMCAwIC00LjE0MiA0LjE0MnYzLjEwM2g4LjI4NHYtMy4xMDJhNC4xNDIgNC4xNDIgMCAwIDAgLTQuMTQyLTQuMTQzeiIgZmlsbD0iIzcxOWYyYSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",role:"presentation",alt:""}),(0,i.h)("div",{key:"209ed92a56b08807cb26aa6f63d2861834e9c076",class:"media-block"},(0,i.h)("p",{key:"96a8b5e4c4995b7f950d38c03cbcd85424eec121"},(0,i.h)("strong",{key:"be9db6b29d569582f74ce945c7029d817265fab5"},n.i.t("gov-site-https",{tld:e})),(0,i.h)("br",{key:"c9a89b7573176f2f878da1d463d1dd6503319aa4"}),(0,i.h)("span",{key:"970bed414902dbf376a2272bfe9803b9c0478dae",class:"gov-site-lock-text"},this.govSiteLockText())))))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),e}();r.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}:host{display:block}.banner{background-color:#f0f0f0;font-size:12px;line-height:1.5;padding-bottom:0}.accordion{color:#1b1b1b;line-height:1.5;list-style-type:none;margin:0;padding:0;width:100%}.grid-col-fill{-ms-flex:1 1 0%;flex:1 1 0%;min-width:1px}.grid-col-auto,.grid-col-fill{-ms-flex:0 1 auto;flex:0 1 auto;width:auto;max-width:100%}.grid-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-0.469rem;margin-right:-0.469rem;margin-top:0;margin-bottom:0}.col{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex:0 0 46%;flex:0 0 46%;padding-left:0.469rem;padding-right:0.469rem}@media (max-width: 767px){.col{-ms-flex:unset;flex:unset}}#header{padding-bottom:6px;padding-top:6px;position:relative}#header.expanded .header-action{display:none}@media (max-width: 767px){#header{min-height:32px}#header.expanded{padding-right:56px}}.inner{margin-left:auto;margin-right:auto;max-width:1024px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start;padding-right:0}.header-flag{float:left;margin-right:8px;width:16px}.header-text{font-size:12px;margin-bottom:2px;margin-right:5px;margin-top:2px;line-height:1.1}.header-action{color:#005ea2;font-size:12px;line-height:1.1;margin-bottom:0;margin-top:2px;text-decoration:underline}@media (min-width: 768px){.header-action{display:none}}button:not([disabled]):focus{outline:2px solid var(--vads-color-action-focus-on-light)}button[aria-expanded=false],button[aria-expanded=true]{background-image:none}@media (max-width: 767px){button{width:100%}}button{border:0;color:#005ea2;font-size:12px;margin:0;margin-left:0.313rem;padding-left:0;padding-right:0;position:relative}@media (max-width: 767px){button{-webkit-font-smoothing:inherit;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;margin:0;margin-bottom:-4px;text-align:left;left:0;position:absolute;bottom:0;top:0;color:#005ea2;display:block;height:auto;line-height:1.1;padding:0;text-decoration:none;width:100%}}button:hover{color:#1a4480;cursor:pointer}.button-text{position:absolute;left:-999em;right:auto;text-decoration:underline}@media (min-width: 768px){.button-text{position:static;display:inline}}@media (max-width: 767px){#header .header-action::after,#header.expanded .header-action::after{background-color:#005ea2}#header.expanded .header-action::after,#header .header-action::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px}}@media (min-width: 768px){button::after,button:hover::after{background-color:#005ea2;position:absolute}button::after,#header.expanded button::after{background:0 0;background-color:#005ea2;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px;top:-1px}button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}#header.expanded button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}}@media (max-width: 767px){button[aria-expanded=true]:after{bottom:0;top:0;position:absolute;right:0}@supports ((-webkit-mask: url()) or (mask: url())){button[aria-expanded=true]::after{background:0 0;background-color:#005ea2 !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px}}button[aria-expanded=true]::after,button[aria-expanded=true]:before{position:absolute;content:"";height:48px;width:48px;bottom:0;top:0;right:0}button[aria-expanded=true]::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:48px;width:48px;content:"";vertical-align:middle;margin-left:0}button[aria-expanded=true]:before{background-color:#dfe1e2;display:block}}button::after{position:absolute}.content{margin-left:auto;margin-right:auto;max-width:1024px;background-color:transparent;font-size:16px;overflow:hidden;padding:24px 32px 16px 16px}.content img{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;width:45px}.content .media-block{-ms-flex:1 1 0%;flex:1 1 0%}.content svg{height:1.5ex;width:1.21875ex}.content p{margin-top:0;-webkit-margin-after:1em;margin-block-end:1em}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2205],{2205:function(e,t,a){a.r(t),a.d(t,{va_crisis_line_modal:function(){return c},va_official_gov_banner:function(){return r}});var i=a(7911),o=a(5384),n=a(4665),c=function(){function e(e){(0,i.r)(this,e),this.isOpen=!1,this.shifted=!1}return e.prototype.setVisible=function(){this.isOpen=!0},e.prototype.setNotVisible=function(){this.isOpen=!1},e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,t=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-modal"),a=null==t?void 0:t.getAttribute("visible");if(null!==a&&"false"!==a){var i=void 0,o=this.shifted?".last-focusable-child":'[role="document"]';null==(i=this.shifted?null==t?void 0:t.querySelector(o):null==t?void 0:t.shadowRoot.querySelector(o))||i.focus()}},e.prototype.render=function(){var e=this;return(0,i.h)(i.H,{key:"9abdb650f83b1ebaf8d6c47897caa5d20fd13e06"},(0,i.h)("div",{key:"96618055c7c7a11d1180c5870eae1298d7c67867",class:"va-crisis-line-container"},(0,i.h)("button",{key:"ca66ad606aa88a5837686eafbdbdaa74d3b5f4a1",onClick:function(){return e.setVisible()},onFocusin:function(){return e.trapFocus()},"data-show":"#modal-crisisline",class:"va-crisis-line va-overlay-trigger",part:"button"},(0,i.h)("div",{key:"8f07f3ff5edd14ec01a216c8cf1849e21642bbef",class:"va-crisis-line-inner"},(0,i.h)("span",{key:"ff2cf54c5ff807679e0820b4607a810f77fab3cd",class:"va-crisis-line-icon","aria-hidden":"true"}),(0,i.h)("span",{key:"01ccfb67535e3fe4fd0873d3d86f7b1b9340ba4b",class:"va-crisis-line-text"},"Talk to the ",(0,i.h)("strong",{key:"240691554fa7b48ba9510382dc3f1214cc633469"},"Veterans Crisis Line")," now"),(0,i.h)("va-icon",{key:"657c49341568c2c6cecfa0c57bce6d216fc3b3a4",class:"va-icon__right-arrow",icon:"navigate_next",size:3})))),(0,i.h)("va-modal",{key:"8a8646b05be73d32edb10a951606ed377bb6f3df",modalTitle:"We’re here anytime, day or night – 24/7",onPrimaryButtonClick:function(){return e.setNotVisible()},onCloseEvent:function(){return e.setNotVisible()},visible:this.isOpen,large:!0},(0,i.h)("p",{key:"0aa6c308c9e92d3221b8776e47a20854936caac6"},"If you are a Veteran in crisis or concerned about one, connect with our caring, qualified responders for confidential help. Many of them are Veterans themselves."),(0,i.h)("ul",{key:"895c26d0e826ae7953704c7eefbae3ad6bc329e8",class:"va-crisis-panel-list"},(0,i.h)("li",{key:"8cf6852edb3a84e5c0fba7c49e2f550971c28b9d"},(0,i.h)("va-icon",{key:"50ae8afa383e9140bd8cd195e518725c01eb1bb0",class:"va-clm__icon",icon:"phone",size:3}),(0,i.h)("span",{key:"183f56dca2957a3bf8a40a7618839fd2b314b776"},"Call"," ",(0,i.h)("strong",{key:"a36c35b6920e48ae4ce464362651a8a3a07a28c4"},(0,i.h)("va-telephone",{key:"d262dab146969d6e01966f539875dec8e28ef3b7",contact:"988"})," and select 1"))),(0,i.h)("li",{key:"fb001af22341fbdda8827fba41fe024f264a52f6"},(0,i.h)("va-icon",{key:"4d922bac42139ac20f1fc1417ed62064d20e719a",icon:"phone_iphone",class:"va-clm__icon",size:3}),(0,i.h)("span",{key:"486842b866cee9715eeeafcb19a16919fb71e83f"},"Text ",(0,i.h)("strong",{key:"6a2016562c1279c05606ddd748ba78166720a567"},(0,i.h)("va-telephone",{key:"e6bd065e2d3381254020f612fc3680366e13a6c3",sms:!0,contact:"838255"})))),(0,i.h)("li",{key:"969edac9d2ba76ba55662ad6351845e07864b851"},(0,i.h)("va-icon",{key:"3a5e4a39e56e235913317259ee48c4eea4788b32",icon:"chat",class:"va-clm__icon",size:3}),(0,i.h)("a",{key:"d4722da3256da6da43cd8bd51460491dead644c0",class:"no-external-icon",href:"https://www.veteranscrisisline.net/get-help-now/chat/"},"Start a confidential chat")),(0,i.h)("li",{key:"73f16a72346b8b889b0de617d207875ca022a3c8"},(0,i.h)("va-icon",{key:"6b85e8d63cad91435de0764c2e2e6560152d7a09",icon:"tty",class:"va-clm__icon",size:3}),(0,i.h)("p",{key:"aee5ec33cce7164ce0227c443b2325651d9a48dd"},"Call TTY if you have hearing loss"," ",(0,i.h)("strong",{key:"c901785e83e3ebe67908ebfc7cd205b95b751db9"},(0,i.h)("va-telephone",{key:"2d6a7c2cd00fc660514a1cba9b6014261ff3e10d",tty:!0,contact:o.C.CRISIS_TTY}))))),(0,i.h)("p",{key:"4ba3381cb65d93ee35edbf205fd3e0f86ed31066"},"Get more resources at"," ",(0,i.h)("a",{key:"be70893a771ebdead2aff28b6889257d05668945",class:"no-external-icon",href:"https://www.veteranscrisisline.net/"},"VeteransCrisisLine.net"))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),e}();c.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.va-crisis-line-container{position:relative;margin:auto;background-color:var(--vads-color-secondary-dark)}@media (min-width: 1008px){.va-crisis-line-container{max-width:60.938rem;background-color:transparent}}a{color:var(--vads-color-link)}button.va-crisis-line{cursor:pointer;background-color:var(--vads-color-secondary-darkest);display:block;border-radius:0;color:var(--vads-button-color-text-primary-alt-on-light);font-family:var(--font-source-sans);font-size:16px;font-weight:normal;text-decoration:none;padding:0;margin:0;width:100%;border:0;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}button.va-crisis-line:focus{outline-offset:-2px}button.va-crisis-line:hover,button.va-crisis-line:active{background-color:#8b0a03}@media (min-width: 1008px){button.va-crisis-line:hover .va-crisis-line-icon,button.va-crisis-line:active .va-crisis-line-icon{background-color:#b51d09}}@media (min-width: 1008px){button.va-crisis-line{width:auto;border-radius:0 0 2.3px 2.3px;-webkit-box-shadow:0 2px 5px var(--vads-color-base);box-shadow:0 2px 5px var(--vads-color-base)}}.va-crisis-line-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:auto}@media (min-width: 1008px){.va-crisis-line-inner{text-align:left;-ms-flex-pack:justify;justify-content:space-between}}.va-crisis-line-icon{content:"";background:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat right 29%;background-size:30px auto;background-position:8px 8px;width:40px;height:36px;padding-right:3px;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}@media (max-width: 480px){.va-crisis-line-icon{display:none}}@media (min-width: 1008px){.va-crisis-line-icon{border-bottom-left-radius:3.2px}}.va-crisis-line-text{padding:8px}.va-icon__right-arrow{position:relative;top:2px}.va-clm__icon{position:relative;top:15px;margin-right:23px}.va-crisis-panel{color:var(--vads-color-base)}.va-crisis-panel-body{max-height:100%}.va-crisis-panel-title{color:var(--vads-color-base);padding-left:41px;background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat left;background-position:left 5px;background-size:32px auto}.va-crisis-panel-list{list-style:none;padding:0}.va-crisis-panel-list>li{display:-ms-flexbox;display:flex;min-height:56px;margin-bottom:0;border-top:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li:last-child{border-bottom:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li>a,.va-crisis-panel-list>li>span{padding:8px 0;-ms-flex-item-align:center;align-self:center}';var r=function(){function e(e){var t=this;(0,i.r)(this,e),this.componentLibraryAnalytics=(0,i.c)(this,"component-library-analytics",7),this.handleClick=function(){var e,a,i,o=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".content"),n=null===(a=t.el.shadowRoot)||void 0===a?void 0:a.querySelector("button"),c=null===(i=t.el.shadowRoot)||void 0===i?void 0:i.querySelector("div#header");if(n.setAttribute("aria-expanded","true"===n.getAttribute("aria-expanded")?"false":"true"),c.classList.toggle("expanded"),o.hidden?o.removeAttribute("hidden"):o.setAttribute("hidden","true"),!t.disableAnalytics){var r={componentName:"va-official-gov-banner",action:"true"===n.getAttribute("aria-expanded")?"expand":"collapse"};t.componentLibraryAnalytics.emit(r)}},this.govSiteExplanationText=function(){var e,a=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-explanation-text");if(a){var i=n.i.t("gov-site-explanation",{tld:t.tld});i&&(a.innerHTML=i.replace(".".concat(t.tld),"<strong>.".concat(t.tld,"</strong>")))}},this.govSiteLockText=function(){var e,a=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-lock-text"),i=n.i.t("gov-site-lock",{image:"SVG",tld:t.tld});i=(i=(i=(i=i.replace("SVG",'(&nbsp;<span class="icon-lock"><svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" role="img" aria-labelledby="banner-lock-description" focusable="false">\n <title id="banner-lock-title">Lock</title>\n <desc id="banner-lock-description">Locked padlock icon</desc>\n <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z"></path>\n </svg></span>&nbsp;)')).replace("lock","<strong>lock</strong>")).replace("candado","<strong>candado</strong>")).replace("https://","<strong>https://</strong>"),a&&(a.innerHTML=i)},this.disableAnalytics=!1,this.tld="gov"}return e.prototype.connectedCallback=function(){var e=this;n.i.on("languageChanged",(function(){(0,i.f)(e.el)}))},e.prototype.disconnectedCallback=function(){n.i.off("languageChanged")},e.prototype.componentDidLoad=function(){this.govSiteExplanationText(),this.govSiteLockText()},e.prototype.render=function(){var e=this.tld;if("gov"===e||"mil"===e)return(0,i.h)(i.H,{key:"8bd9f69692677fb9489b4a7a741b3faa2c1c666c"},(0,i.h)("div",{key:"e956900d3e56ec62c870116281b81f09b56f1bd1",class:"banner"},(0,i.h)("div",{key:"35212bc3e7cf3410cc14fd739d4bd96f768f81e2",class:"accordion"},(0,i.h)("div",{key:"c5cf81b9422cb0cdb4e166400963812e612d2e10",id:"header"},(0,i.h)("div",{key:"a9224d9bbf505372a384a43fd8b6dc730d8ce82e",class:"inner"},(0,i.h)("div",{key:"f654f5b30669311cd478b69581d9f8afa4969af7",class:"grid-col-auto"},(0,i.h)("img",{key:"364c96553a7796e183f587cb691063d4ee97c835",role:"presentation",class:"header-flag",src:"https://s3-us-gov-west-1.amazonaws.com/content.www.va.gov/img/tiny-usa-flag.png",alt:""})),(0,i.h)("div",{key:"c05faeecdca4fed6a7b807ddaa4f7f69bf88887e",class:"grid-col-fill","aria-hidden":"true"},(0,i.h)("p",{key:"a6463e0a85a0490378655b87a9d365faebcb6090",class:"header-text"},n.i.t("gov-site-label")),(0,i.h)("p",{key:"90a2f92331dac1faa83d913966444adb3f4136ad",class:"header-action"},n.i.t("gov-site-button"))),(0,i.h)("button",{key:"25a231f625a783697a9917b3204751c48396997b",onClick:this.handleClick,type:"button","aria-expanded":"false","aria-controls":"official-gov-banner"},(0,i.h)("span",{key:"b954a97e2f4a440407e58934863d8387b0eefe26",class:"button-text"},n.i.t("gov-site-button"))))),(0,i.h)("div",{key:"985b21a21ce366d68d74d5e8cc61f1a89d53ca88",class:"content",id:"official-gov-banner",hidden:!0},(0,i.h)("div",{key:"be669f183417bb4c40973bcad96a2a6661d92928",class:"grid-row"},(0,i.h)("div",{key:"fd7b884ca25f82baaff43e1ab2e20d0bedf96a09",class:"col"},(0,i.h)("img",{key:"f6b2cb9b2c755015119c5a7216d03afb28645c5c",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5pY29uLWRvdC1nb3Y8L3RpdGxlPjxwYXRoIGZpbGw9IiMyMzc4QzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMyIDBjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyIDAgMTcuNjczLTE0LjMyNyAzMi0zMiAzMkMxNC4zMjcgNjQgMCA0OS42NzMgMCAzMiAwIDE0LjMyNyAxNC4zMjcgMCAzMiAwem0wIDEuMjA4QzE0Ljk5NCAxLjIwOCAxLjIwOCAxNC45OTQgMS4yMDggMzJTMTQuOTk0IDYyLjc5MiAzMiA2Mi43OTIgNjIuNzkyIDQ5LjAwNiA2Mi43OTIgMzIgNDkuMDA2IDEuMjA4IDMyIDEuMjA4em0xMC41OSAzOC44NThhLjg1Ny44NTcgMCAwIDEgLjg4Mi44MjJ2MS42NDJIMTguODg2di0xLjY0MmEuODU3Ljg1NyAwIDAgMSAuODgyLS44MjJINDIuNTl6TTI1LjQ0MyAyNy43NzR2OS44MjloMS42NDJ2LTkuODNoMy4yNzN2OS44M0gzMnYtOS44M2gzLjI3MnY5LjgzaDEuNjQzdi05LjgzaDMuMjcydjkuODNoLjc2YS44NTcuODU3IDAgMCAxIC44ODIuODIxdi44MjFoLTIxLjN2LS44MDlhLjg1Ny44NTcgMCAwIDEgLjg4LS44MmguNzYydi05Ljg0MmgzLjI3MnptNS43MzYtOC4xODhsMTIuMjkzIDQuOTE1djEuNjQyaC0xLjYzYS44NTcuODU3IDAgMCAxLS44ODIuODIySDIxLjQxYS44NTcuODU3IDAgMCAxLS44ODItLjgyMmgtMS42NDJ2LTEuNjQybDEyLjI5My00LjkxNXoiLz48L3N2Zz4=",role:"presentation",alt:""}),(0,i.h)("div",{key:"846cf611f8cddddc71c6fd0c4dc1375a5a6c94b4",class:"media-block"},(0,i.h)("p",{key:"df4a89b35d168e04bb64a76f4864876730b857d5"},(0,i.h)("strong",{key:"432d4cf25deef4170ad14c011c5f8a05b59e4d29"},n.i.t("gov-site-website",{tld:e})),(0,i.h)("br",{key:"aef30b10637e2d129eabcb3e03e8b86054f93c9b"}),(0,i.h)("span",{key:"18dae65b742f76ca3ab3ef16801d6cfa5d9afbec",class:"gov-site-explanation-text"},this.govSiteExplanationText())))),(0,i.h)("div",{key:"02cfa4c9e797a64634a4123035555e3ba508eff6",class:"col"},(0,i.h)("img",{key:"382b2676254255d5c78ff841e2d29e5c4f7344a6",src:"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzIgMGMxNy42NzMgMCAzMiAxNC4zMjcgMzIgMzJzLTE0LjMyNyAzMi0zMiAzMi0zMi0xNC4zMjctMzItMzIgMTQuMzI3LTMyIDMyLTMyem0wIDEuMjA4Yy0xNy4wMDYgMC0zMC43OTIgMTMuNzg2LTMwLjc5MiAzMC43OTJzMTMuNzg2IDMwLjc5MiAzMC43OTIgMzAuNzkyIDMwLjc5Mi0xMy43ODYgMzAuNzkyLTMwLjc5Mi0xMy43ODYtMzAuNzkyLTMwLjc5Mi0zMC43OTJ6bTAgMTguODg2YTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1IDcuMjQ1djMuMTAzaC41MmMuODYgMCAxLjU1Ny42OTggMS41NTcgMS41NTh2OS4zMjJjMCAuODYtLjY5NyAxLjU1OC0xLjU1NyAxLjU1OGgtMTUuNTNjLS44NiAwLTEuNTU3LS42OTctMS41NTctMS41NTh2LTkuMzIyYzAtLjg2LjY5Ny0xLjU1OCAxLjU1Ny0xLjU1OGguNTJ2LTMuMTAyYTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1LTcuMjQ2em0wIDMuMTAzYTQuMTQyIDQuMTQyIDAgMCAwIC00LjE0MiA0LjE0MnYzLjEwM2g4LjI4NHYtMy4xMDJhNC4xNDIgNC4xNDIgMCAwIDAgLTQuMTQyLTQuMTQzeiIgZmlsbD0iIzcxOWYyYSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",role:"presentation",alt:""}),(0,i.h)("div",{key:"209ed92a56b08807cb26aa6f63d2861834e9c076",class:"media-block"},(0,i.h)("p",{key:"96a8b5e4c4995b7f950d38c03cbcd85424eec121"},(0,i.h)("strong",{key:"be9db6b29d569582f74ce945c7029d817265fab5"},n.i.t("gov-site-https",{tld:e})),(0,i.h)("br",{key:"c9a89b7573176f2f878da1d463d1dd6503319aa4"}),(0,i.h)("span",{key:"970bed414902dbf376a2272bfe9803b9c0478dae",class:"gov-site-lock-text"},this.govSiteLockText())))))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),e}();r.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}:host{display:block}.banner{background-color:#f0f0f0;font-size:12px;line-height:1.5;padding-bottom:0}.accordion{color:#1b1b1b;line-height:1.5;list-style-type:none;margin:0;padding:0;width:100%}.grid-col-fill{-ms-flex:1 1 0%;flex:1 1 0%;min-width:1px}.grid-col-auto,.grid-col-fill{-ms-flex:0 1 auto;flex:0 1 auto;width:auto;max-width:100%}.grid-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-0.469rem;margin-right:-0.469rem;margin-top:0;margin-bottom:0}.col{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex:0 0 46%;flex:0 0 46%;padding-left:0.469rem;padding-right:0.469rem}@media (max-width: 767px){.col{-ms-flex:unset;flex:unset}}#header{padding-bottom:6px;padding-top:6px;position:relative}#header.expanded .header-action{display:none}@media (max-width: 767px){#header{min-height:32px}#header.expanded{padding-right:56px}}.inner{margin-left:auto;margin-right:auto;max-width:1024px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start;padding-right:0}.header-flag{float:left;margin-right:8px;width:16px}.header-text{font-size:12px;margin-bottom:2px;margin-right:5px;margin-top:2px;line-height:1.1}.header-action{color:#005ea2;font-size:12px;line-height:1.1;margin-bottom:0;margin-top:2px;text-decoration:underline}@media (min-width: 768px){.header-action{display:none}}button:not([disabled]):focus{outline:2px solid var(--vads-color-action-focus-on-light)}button[aria-expanded=false],button[aria-expanded=true]{background-image:none}@media (max-width: 767px){button{width:100%}}button{border:0;color:#005ea2;font-size:12px;margin:0;margin-left:0.313rem;padding-left:0;padding-right:0;position:relative}@media (max-width: 767px){button{-webkit-font-smoothing:inherit;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;margin:0;margin-bottom:-4px;text-align:left;left:0;position:absolute;bottom:0;top:0;color:#005ea2;display:block;height:auto;line-height:1.1;padding:0;text-decoration:none;width:100%}}button:hover{color:#1a4480;cursor:pointer}.button-text{position:absolute;left:-999em;right:auto;text-decoration:underline}@media (min-width: 768px){.button-text{position:static;display:inline}}@media (max-width: 767px){#header .header-action::after,#header.expanded .header-action::after{background-color:#005ea2}#header.expanded .header-action::after,#header .header-action::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px}}@media (min-width: 768px){button::after,button:hover::after{background-color:#005ea2;position:absolute}button::after,#header.expanded button::after{background:0 0;background-color:#005ea2;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px;top:-1px}button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}#header.expanded button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}}@media (max-width: 767px){button[aria-expanded=true]:after{bottom:0;top:0;position:absolute;right:0}@supports ((-webkit-mask: url()) or (mask: url())){button[aria-expanded=true]::after{background:0 0;background-color:#005ea2 !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px}}button[aria-expanded=true]::after,button[aria-expanded=true]:before{position:absolute;content:"";height:48px;width:48px;bottom:0;top:0;right:0}button[aria-expanded=true]::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:48px;width:48px;content:"";vertical-align:middle;margin-left:0}button[aria-expanded=true]:before{background-color:#dfe1e2;display:block}}button::after{position:absolute}.content{margin-left:auto;margin-right:auto;max-width:1024px;background-color:transparent;font-size:16px;overflow:hidden;padding:24px 32px 16px 16px}.content img{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;width:45px}.content .media-block{-ms-flex:1 1 0%;flex:1 1 0%}.content svg{height:1.5ex;width:1.21875ex}.content p{margin-top:0;-webkit-margin-after:1em;margin-block-end:1em}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2236],{2236:function(e,t,i){i.r(t),i.d(t,{va_file_input_multiple:function(){return n}});var r=i(7911),o=(i(7470),i(3244)),n=function(){function e(e){var t=this;(0,r.r)(this,e),this.vaMultipleChange=(0,r.c)(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.additionalFileUploadMessage=(0,r.h)("span",null,"Drag an additional file here or"," ",(0,r.h)("span",{class:"file-input-choose-text"},"choose from folder")),this.renderLabelOrHeader=function(e,t,i){var n=t?(0,r.h)("span",{class:"required"}," ",o.i.t("required")):null;if(i&&i>=1&&i<=6){var a="h".concat(i);return(0,r.h)("div",{class:"label-header"},(0,r.h)(a,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,n))}return(0,r.h)("div",{class:"label-header"},(0,r.h)("span",{part:"label",class:"usa-label"},e),n)},this.addValueFiles=function(){return function(e,t,i,r){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function a(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){e.done?i(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e=this;return function(e,t){var i,r,o,n,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(a=0)),a;)try{if(i=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{i=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}(this,(function(t){return this.files.shift(),this.value.forEach((function(t){e.files.push({file:t,key:e.fileKeyCounter,content:e.getAdditionalContent()||null}),e.fileKeyCounter++})),this.readOnly||this.files.push({file:null,key:this.fileKeyCounter,content:null}),this.valueAdded=!0,[2,Promise.resolve()]}))}))},this.hasErrors=function(){return t.errors.some((function(e){return!!e}))},this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.encrypted=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.value=void 0,this.readOnly=!1,this.slotFieldIndexes=null,this.files=[{key:0,file:null,content:null}],this.valueAdded=!1}return e.prototype.findFileByKey=function(e){return this.files.find((function(t){return t.key===e}))},e.prototype.findIndexByKey=function(e){return this.files.indexOf(this.files.find((function(t){return t.key===e})))},e.prototype.isEmpty=function(){return null===this.files[0].file},e.prototype.setSlotContent=function(){var e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()},e.prototype.getAdditionalContent=function(){return this.additionalSlot&&this.additionalSlot.map((function(e){return e.cloneNode(!0)}))},e.prototype.handleChange=function(e,t,i){var r,o,n,a=e.detail.files[0];if(a){var s=this.findFileByKey(t);s.file?(o="FILE_UPDATED",n=a,s.file=a):(o="FILE_ADDED",n=a,s.file=a,s.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files.push({file:null,key:this.fileKeyCounter,content:null})),r=this.buildFilesArray(this.files,!1,this.findIndexByKey(t))}else{o="FILE_REMOVED",n=this.files[i].file,this.files.splice(i,1);var l=this.el.shadowRoot.querySelector("#statusMessage");l.textContent="",setTimeout((function(){l.textContent="File removed."}),1e3),r=this.buildFilesArray(this.files,!0)}var h={action:o,file:n,state:r};this.vaMultipleChange.emit(h),this.files=Array.of.apply(Array,this.files)},e.prototype.handlePasswordChange=function(e,t){var i=this.findFileByKey(t);i.password=e.detail.password;var r=this.buildFilesArray(this.files,!1,this.findIndexByKey(t)),o={action:"PASSWORD_UPDATE",file:i.file,state:r};this.vaMultipleChange.emit(o)},e.prototype.buildFilesArray=function(e,t,i){var r=e.filter((function(e){return!!e.file})).map((function(e){return{file:e.file,changed:!1,password:e.password}}));return!t&&r[i]&&(r[i].changed=!0),r},e.prototype.componentDidRender=function(){var e=this,t=this.el.shadowRoot.querySelectorAll("va-file-input");return this.setSlotContent(),t.forEach((function(t,i){!e.files[i].content||e.slotFieldIndexes&&!e.slotFieldIndexes.includes(i)||e.files[i].content.forEach((function(e){return t.append(e)}))})),this.value&&this.value.length&&!this.valueAdded?this.addValueFiles():Promise.resolve()},e.prototype.render=function(){var e=this,t=this,i=t.label,o=t.required,n=t.headerSize,a=t.hint,s=t.files,l=t.name,h=t.accept,d=t.errors,f=t.encrypted,u=t.enableAnalytics,c=t.readOnly,p=this.isEmpty()?"":"outer-wrap",m=this.hasErrors()?"has-error":"";return(0,r.h)(r.H,{key:"0156ba46fb8380ea7a1f31a936eed8c07816b05b",class:m},i&&!c&&this.renderLabelOrHeader(i,o,n),a&&!c&&(0,r.h)("div",{key:"74964bef97bbb0efa13429c3828b09b0f4387068",class:"usa-hint",id:"input-hint-message"},a),(0,r.h)("div",{key:"71854dad83b75dd540d8e938a8b16b8f4f822139",class:p},(0,r.h)("div",{key:"d51b60a006dedbd083ddb7bc6605f7b274321cb5",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&(0,r.h)("div",{key:"dec914be713c5aca6887b071285a82d48124864e",class:"selected-files-label"},c?"Files you uploaded":"Selected files"),s.map((function(t,n){return(0,r.h)("va-file-input",Object.assign({key:t.key,headless:!0,label:i,hint:a,name:"".concat(l,"-").concat(t.key),accept:h,required:o},n>0?{uploadMessage:e.additionalFileUploadMessage}:{},{error:d[n],encrypted:f[n],onVaChange:function(i){return e.handleChange(i,t.key,n)},onVaPasswordChange:function(i){return e.handlePasswordChange(i,t.key)},"enable-analytics":u,value:t.file,readOnly:c,class:t.file?"has-file":"no-file"}))}))),(0,r.h)("slot",{key:"c1265273819fa699a082158a09f854c4a10ceac7"}))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();n.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@import \'~@department-of-veterans-affairs/css-library/dist/stylesheets/base/headings.css\';:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;padding:0 8px;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host #input-error-message{padding:0 8px;width:100%}:host .file-size-label,:host .file-status-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}:host .file-status-label{font-style:italic}:host .file-info-section{padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section{margin-top:8px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 320px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .separator{border:0;border-top:1px solid var(--vads-color-base-lighter);margin:0}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host va-progress-bar{font-size:var(--vads-font-size-root);display:block;margin-left:16px}:host .uploading-status{font-style:var(--font-style-italic)}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}h1 .required,h2 .required,h3 .required,h4 .required,h5 .required,h6 .required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host.has-error{border-left:0.25rem solid #b50909;padding-left:1rem}:host .outer-wrap{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light);display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host va-file-input.no-file{margin:0 8px}:host va-file-input:not(:last-child){border-bottom:1px solid var(--vads-color-white)}:host va-file-input.has-error{border-left:none;padding-left:0}@media screen and (min-width: 1008px){:host va-file-input.has-error{margin-left:0}}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2236],{2236:function(e,t,i){i.r(t),i.d(t,{va_file_input_multiple:function(){return n}});var r=i(7911),o=(i(5384),i(4665)),n=function(){function e(e){var t=this;(0,r.r)(this,e),this.vaMultipleChange=(0,r.c)(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.getAdditionalFileUploadMessage=function(){return(0,r.h)("span",null,"Drag an additional file here or"," ",(0,r.h)("span",{class:"file-input-choose-text"},"choose from folder"))},this.renderLabelOrHeader=function(e,t,i){var n=t?(0,r.h)("span",{class:"required"}," ",o.i.t("required")):null;if(i&&i>=1&&i<=6){var a="h".concat(i);return(0,r.h)("div",{class:"label-header"},(0,r.h)(a,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,n))}return(0,r.h)("div",{class:"label-header"},(0,r.h)("span",{part:"label",class:"usa-label"},e),n)},this.addValueFiles=function(){return function(e,t,i,r){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function a(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){e.done?i(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e=this;return function(e,t){var i,r,o,n,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(a=0)),a;)try{if(i=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{i=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}(this,(function(t){return this.files.shift(),this.value.forEach((function(t){e.files.push({file:t,key:e.fileKeyCounter,content:e.getAdditionalContent()||null}),e.fileKeyCounter++})),this.readOnly||this.files.push({file:null,key:this.fileKeyCounter,content:null}),this.valueAdded=!0,[2,Promise.resolve()]}))}))},this.hasErrors=function(){return t.errors.some((function(e){return!!e}))},this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.encrypted=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.value=void 0,this.readOnly=!1,this.slotFieldIndexes=null,this.files=[{key:0,file:null,content:null}],this.valueAdded=!1}return e.prototype.findFileByKey=function(e){return this.files.find((function(t){return t.key===e}))},e.prototype.findIndexByKey=function(e){return this.files.indexOf(this.files.find((function(t){return t.key===e})))},e.prototype.isEmpty=function(){return null===this.files[0].file},e.prototype.setSlotContent=function(){var e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()},e.prototype.getAdditionalContent=function(){return this.additionalSlot&&this.additionalSlot.map((function(e){return e.cloneNode(!0)}))},e.prototype.handleChange=function(e,t,i){var r,o,n,a=e.detail.files[0];if(a){var s=this.findFileByKey(t);s.file?(o="FILE_UPDATED",n=a,s.file=a):(o="FILE_ADDED",n=a,s.file=a,s.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files.push({file:null,key:this.fileKeyCounter,content:null})),r=this.buildFilesArray(this.files,!1,this.findIndexByKey(t))}else{o="FILE_REMOVED",n=this.files[i].file,this.files.splice(i,1);var l=this.el.shadowRoot.querySelector("#statusMessage");l.textContent="",setTimeout((function(){l.textContent="File removed."}),1e3),r=this.buildFilesArray(this.files,!0)}var h={action:o,file:n,state:r};this.vaMultipleChange.emit(h),this.files=Array.of.apply(Array,this.files)},e.prototype.handlePasswordChange=function(e,t){var i=this.findFileByKey(t);i.password=e.detail.password;var r=this.buildFilesArray(this.files,!1,this.findIndexByKey(t)),o={action:"PASSWORD_UPDATE",file:i.file,state:r};this.vaMultipleChange.emit(o)},e.prototype.buildFilesArray=function(e,t,i){var r=e.filter((function(e){return!!e.file})).map((function(e){return{file:e.file,changed:!1,password:e.password}}));return!t&&r[i]&&(r[i].changed=!0),r},e.prototype.componentDidRender=function(){var e=this,t=this.el.shadowRoot.querySelectorAll("va-file-input");return this.setSlotContent(),t.forEach((function(t,i){!e.files[i].content||e.slotFieldIndexes&&!e.slotFieldIndexes.includes(i)||e.files[i].content.forEach((function(e){return t.append(e)}))})),this.value&&this.value.length&&!this.valueAdded?this.addValueFiles():Promise.resolve()},e.prototype.render=function(){var e=this,t=this,i=t.label,o=t.required,n=t.headerSize,a=t.hint,s=t.files,l=t.name,h=t.accept,d=t.errors,f=t.encrypted,u=t.enableAnalytics,c=t.readOnly,p=this.isEmpty()?"":"outer-wrap",m=this.hasErrors()?"has-error":"";return(0,r.h)(r.H,{key:"e3d3e198a6130f40dd794b43addbf85c24f3dcad",class:m},i&&!c&&this.renderLabelOrHeader(i,o,n),a&&!c&&(0,r.h)("div",{key:"7cad009f630d43d2dae17dbc586e05479e683729",class:"usa-hint",id:"input-hint-message"},a),(0,r.h)("div",{key:"80d1628e194e996f0c1755da37aed7bbe60a4b3c",class:p},(0,r.h)("div",{key:"b91935dd0e321f8c974c28cd8ca3c9089f3ab32b",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&(0,r.h)("div",{key:"cbbe66995b42dadc6febadd7521a3e49e9a8122f",class:"selected-files-label"},c?"Files you uploaded":"Selected files"),s.map((function(t,n){return(0,r.h)("va-file-input",Object.assign({key:t.key,headless:!0,label:i,hint:a,name:"".concat(l,"-").concat(t.key),accept:h,required:o},n>0?{uploadMessage:e.getAdditionalFileUploadMessage()}:{},{error:d[n],encrypted:f[n],onVaChange:function(i){return e.handleChange(i,t.key,n)},onVaPasswordChange:function(i){return e.handlePasswordChange(i,t.key)},"enable-analytics":u,value:t.file,readOnly:c,class:t.file?"has-file":"no-file"}))}))),(0,r.h)("slot",{key:"3a3b2707a3e1ce8d514a63078bd6d65e1aec1e2c"}))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();n.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@import \'~@department-of-veterans-affairs/css-library/dist/stylesheets/base/headings.css\';:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;padding:0 8px;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host #input-error-message{padding:0 8px;width:100%}:host .file-size-label,:host .file-status-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}:host .file-status-label{font-style:italic}:host .file-info-section{padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section{margin-top:8px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 320px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .separator{border:0;border-top:1px solid var(--vads-color-base-lighter);margin:0}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host va-progress-bar{font-size:var(--vads-font-size-root);display:block;margin-left:16px}:host .uploading-status{font-style:var(--font-style-italic)}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}h1 .required,h2 .required,h3 .required,h4 .required,h5 .required,h6 .required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host.has-error{border-left:0.25rem solid #b50909;padding-left:1rem}:host .outer-wrap{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light);display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host va-file-input.no-file{margin:0 8px}:host va-file-input:not(:last-child){border-bottom:1px solid var(--vads-color-white)}:host va-file-input.has-error{border-left:none;padding-left:0}@media screen and (min-width: 1008px){:host va-file-input.has-error{margin-left:0}}'}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 272.app.bundle.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[272,4569,7747],{7747:function(e,n,a){a.r(n),a.d(n,{a:function(){return y},b:function(){return g},d:function(){return h},f:function(){return p},g:function(){return b},i:function(){return _},m:function(){return c},v:function(){return v},z:function(){return D}}),a(3244),a(7911);var t=(new Date).getFullYear()+100,r=1900,i=12,o=1,l=1,c=[{label:"January",value:1},{label:"February",value:2},{label:"March",value:3},{label:"April",value:4},{label:"May",value:5},{label:"June",value:6},{label:"July",value:7},{label:"August",value:8},{label:"September",value:9},{label:"October",value:10},{label:"November",value:11},{label:"December",value:12}],s=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],u=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"],d={1:u,2:["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29"],3:u,4:s,5:u,6:s,7:u,8:u,9:s,10:u,11:s,12:u},m=["year-range","day-range","month-range","date-error","month-select"];function f(e){return e?"month-select":"month-range"}function v(e){var n=e.component,a=e.year,c=e.month,s=e.day,u=e.monthYearOnly,d=e.yearTouched,v=e.monthTouched,b=e.dayTouched,p=e.monthSelect,g=e.monthOptional,y=h(a,c);n.invalidYear=!1,n.invalidMonth=!1,n.invalidDay=!1;var _=!(u&&g);if(_&&isNaN(c)&&v)return n.invalidMonth=!0,void(n.error=f(p));if(!u&&isNaN(s)&&b)return n.invalidDay=!0,void(n.error="day-range");if(isNaN(a)&&d)return n.invalidYear=!0,void(n.error="year-range");if(n.required&&(!a||_&&!c||!u&&!s)){if(_&&v&&!c)return n.invalidMonth=!0,void(n.error="date-error");if(b&&!s&&!u)return n.invalidDay=!0,void(n.error="date-error");if(d&&!a)return n.invalidYear=!0,void(n.error="date-error")}return _&&!c&&v?(n.invalidMonth=!0,void(n.error=f(p))):s||u||!b?!a&&d?(n.invalidYear=!0,void(n.error="year-range")):_&&c&&(c<o||c>i)&&v?(n.invalidMonth=!0,void(n.error=f(p))):s&&!u&&(s<l||s>y)&&b?(n.invalidDay=!0,void(n.error="day-range")):a&&(a<r||a>t)&&d?(n.invalidYear=!0,void(n.error="year-range")):void(n.invalidYear||n.invalidMonth||n.invalidDay||n.error&&!m.includes(n.error)||(n.error=null)):(n.invalidDay=!0,void(n.error="day-range"))}function b(e,n,a){var o=h(n,a);switch(e){case"month-range":case"month-select":return{start:1,end:i};case"day-range":return{start:1,end:o};case"year-range":return{start:r,end:t};default:return null}}var h=function(e,n){var a;return e&&n?new Date(e,n,0).getDate():(null===(a=d[n])||void 0===a?void 0:a.length)||31},p=function(e,n,a){if(void 0===n&&(n={dateStyle:"full",timeStyle:"short"}),void 0===a&&(a="America/New_York"),e&&e instanceof Date)return e.toLocaleString("en-US",Object.assign(Object.assign({},n),{timeZone:a}))},g=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getTime()>n.getTime()},y=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getTime()<n.getTime()},_=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()&&e.getDay()===n.getDay()},D=function(e){return"00".concat((e||"").toString()).slice(-2)}},4569:function(e,n,a){a.r(n),a.d(n,{c:function(){return i}});var t,r={exports:{}};t=r,function(){var e={}.hasOwnProperty;function n(){for(var a=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)a.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&a.push(o)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var l in r)e.call(r,l)&&r[l]&&a.push(l);else a.push(r.toString())}}return a.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n}();var i=r.exports},272:function(e,n,a){a.r(n),a.d(n,{va_maintenance_banner:function(){return o}});var t=a(7911),r=a(4569),i=a(7747),o=(a(3244),function(){function e(e){var n=this;(0,t.r)(this,e),this.closeEvent=(0,t.c)(this,"closeEvent",7),this.componentLibraryAnalytics=(0,t.c)(this,"component-library-analytics",7),this.derivePostContent=function(e,n){var a=n.getTime()-e.getTime(),r=Math.floor(a/36e5),o=60*(a/36e5-r),l="".concat(r>0?r+" hours ":""," ").concat(o>0?o+" minutes":"");return(0,i.i)(e,n),(0,t.h)("div",null,(0,t.h)("p",null,(0,t.h)("strong",null,"Date:")," ",(0,i.f)(e,{dateStyle:"full"})),(0,t.h)("p",null,(0,t.h)("strong",null,"Time:")," ",(0,i.f)(e,{hour:"numeric",minute:"numeric",timeZoneName:"short"})),(0,t.h)("p",null,(0,t.h)("strong",null,"Duration:")," ",l))},this.onCloseAlert=function(){if(n.closeEvent.emit(),window.localStorage.setItem("MAINTENANCE_BANNER",n.bannerId),n.maintenanceBannerEl.remove(),!n.disableAnalytics){var e={componentName:"va-maintenance-banner",action:"close",details:{header:(0,i.a)(new Date,new Date(n.maintenanceStartDateTime))?n.upcomingWarnTitle:n.maintenanceTitle,upcomingWarnStartDateTime:n.upcomingWarnStartDateTime,maintenanceStartDateTime:n.maintenanceStartDateTime,maintenanceEndDateTime:n.maintenanceEndDateTime,displayedContent:n.maintenanceBannerContent.innerText}};n.componentLibraryAnalytics.emit(e)}},this.disableAnalytics=!1,this.bannerId=void 0,this.maintenanceStartDateTime=void 0,this.maintenanceEndDateTime=void 0,this.maintenanceTitle=void 0,this.upcomingWarnStartDateTime=void 0,this.upcomingWarnTitle=void 0,this.isError=void 0}return e.prototype.render=function(){var e=this,n=this,a=n.upcomingWarnStartDateTime,o=n.maintenanceEndDateTime,l=n.isError,c=new Date;if((0,i.a)(c,new Date(a)))return null;if((0,i.b)(c,new Date(o)))return null;if(window.localStorage.getItem("MAINTENANCE_BANNER")!==this.bannerId){var s=this,u=s.upcomingWarnTitle,d=s.maintenanceStartDateTime,m=s.maintenanceTitle,f=(0,i.a)(c,new Date(d))&&!l,v=(0,r.c)({"maintenance-banner":!0,"maintenance-banner--warning":f,"maintenance-banner--error":!f}),b=l?"error":"warning";return(0,t.h)(t.H,null,(0,t.h)("div",{class:v,ref:function(n){return e.maintenanceBannerEl=n}},(0,t.h)("va-icon",{class:"maintenance-banner__icon",icon:b,size:4}),(0,t.h)("div",{class:"maintenance-banner__body"},(0,t.h)("h4",{class:"maintenance-banner__title"},f?u:m),(0,t.h)("div",{class:"maintenance-banner__content",ref:function(n){return e.maintenanceBannerContent=n}},f?(0,t.h)("slot",{name:"warn-content"}):(0,t.h)("slot",{name:"maintenance-content"})),(0,t.h)("div",{class:"maintenance-banner__derived-content"},this.derivePostContent(new Date(d),new Date(o)))),(0,t.h)("button",{"aria-label":"Close notification",class:"maintenance-banner__close",onClick:this.onCloseAlert,type:"button"},(0,t.h)("va-icon",{icon:"close",size:4}))))}return null},e}());o.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:5px;color:var(--vads-button-color-text-primary-alt-on-light);cursor:pointer;display:inline-block;font-family:var(--font-source-sans);font-size:1rem;font-weight:700;line-height:1;padding:0.625rem 1.25rem;text-align:center;text-decoration:none}.maintenance-banner{border-top:8px solid;background-color:var(--vads-color-base-lightest);position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.maintenance-banner__content{font-size:1.06rem}.maintenance-banner p{-webkit-margin-before:1em;margin-block-start:1em;-webkit-margin-after:1em;margin-block-end:1em}.maintenance-banner--warning{border-color:var(--vads-color-warning)}.maintenance-banner--error{border-color:var(--vads-color-secondary-dark)}.maintenance-banner__icon{position:absolute;top:18px;left:18px}.maintenance-banner--error .maintenance-banner__icon{color:var(--vads-color-secondary-dark)}.maintenance-banner__title{font-family:var(--font-serif);margin:0 0 8px;font-size:20px}.maintenance-banner__body{padding:16px 56px;position:relative;max-width:1000px;margin:0px auto}.maintenance-banner__close{-ms-flex-item-align:start;align-self:flex-start;color:var(--vads-color-base);margin-top:8px}.maintenance-banner__close:hover{color:var(--vads-color-base)}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[272,4569,7731],{7731:function(e,n,a){a.r(n),a.d(n,{a:function(){return y},b:function(){return g},d:function(){return h},f:function(){return p},g:function(){return b},i:function(){return _},m:function(){return c},v:function(){return v},z:function(){return D}}),a(4665),a(7911);var t=(new Date).getFullYear()+100,r=1900,i=12,o=1,l=1,c=[{label:"January",value:1},{label:"February",value:2},{label:"March",value:3},{label:"April",value:4},{label:"May",value:5},{label:"June",value:6},{label:"July",value:7},{label:"August",value:8},{label:"September",value:9},{label:"October",value:10},{label:"November",value:11},{label:"December",value:12}],s=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],u=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"],d={1:u,2:["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29"],3:u,4:s,5:u,6:s,7:u,8:u,9:s,10:u,11:s,12:u},m=["year-range","day-range","month-range","date-error","month-select"];function f(e){return e?"month-select":"month-range"}function v(e){var n=e.component,a=e.year,c=e.month,s=e.day,u=e.monthYearOnly,d=e.yearTouched,v=e.monthTouched,b=e.dayTouched,p=e.monthSelect,g=e.monthOptional,y=h(a,c);n.invalidYear=!1,n.invalidMonth=!1,n.invalidDay=!1;var _=!(u&&g);if(_&&isNaN(c)&&v)return n.invalidMonth=!0,void(n.error=f(p));if(!u&&isNaN(s)&&b)return n.invalidDay=!0,void(n.error="day-range");if(isNaN(a)&&d)return n.invalidYear=!0,void(n.error="year-range");if(n.required&&(!a||_&&!c||!u&&!s)){if(_&&v&&!c)return n.invalidMonth=!0,void(n.error="date-error");if(b&&!s&&!u)return n.invalidDay=!0,void(n.error="date-error");if(d&&!a)return n.invalidYear=!0,void(n.error="date-error")}return _&&!c&&v?(n.invalidMonth=!0,void(n.error=f(p))):s||u||!b?!a&&d?(n.invalidYear=!0,void(n.error="year-range")):_&&c&&(c<o||c>i)&&v?(n.invalidMonth=!0,void(n.error=f(p))):s&&!u&&(s<l||s>y)&&b?(n.invalidDay=!0,void(n.error="day-range")):a&&(a<r||a>t)&&d?(n.invalidYear=!0,void(n.error="year-range")):void(n.invalidYear||n.invalidMonth||n.invalidDay||n.error&&!m.includes(n.error)||(n.error=null)):(n.invalidDay=!0,void(n.error="day-range"))}function b(e,n,a){var o=h(n,a);switch(e){case"month-range":case"month-select":return{start:1,end:i};case"day-range":return{start:1,end:o};case"year-range":return{start:r,end:t};default:return null}}var h=function(e,n){var a;return e&&n?new Date(e,n,0).getDate():(null===(a=d[n])||void 0===a?void 0:a.length)||31},p=function(e,n,a){if(void 0===n&&(n={dateStyle:"full",timeStyle:"short"}),void 0===a&&(a="America/New_York"),e&&e instanceof Date)return e.toLocaleString("en-US",Object.assign(Object.assign({},n),{timeZone:a}))},g=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getTime()>n.getTime()},y=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getTime()<n.getTime()},_=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()&&e.getDay()===n.getDay()},D=function(e){return"00".concat((e||"").toString()).slice(-2)}},4569:function(e,n,a){a.r(n),a.d(n,{c:function(){return i}});var t,r={exports:{}};t=r,function(){var e={}.hasOwnProperty;function n(){for(var a=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)a.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&a.push(o)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var l in r)e.call(r,l)&&r[l]&&a.push(l);else a.push(r.toString())}}return a.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n}();var i=r.exports},272:function(e,n,a){a.r(n),a.d(n,{va_maintenance_banner:function(){return o}});var t=a(7911),r=a(4569),i=a(7731),o=(a(4665),function(){function e(e){var n=this;(0,t.r)(this,e),this.closeEvent=(0,t.c)(this,"closeEvent",7),this.componentLibraryAnalytics=(0,t.c)(this,"component-library-analytics",7),this.derivePostContent=function(e,n){var a=n.getTime()-e.getTime(),r=Math.floor(a/36e5),o=60*(a/36e5-r),l="".concat(r>0?r+" hours ":""," ").concat(o>0?o+" minutes":"");return(0,i.i)(e,n),(0,t.h)("div",null,(0,t.h)("p",null,(0,t.h)("strong",null,"Date:")," ",(0,i.f)(e,{dateStyle:"full"})),(0,t.h)("p",null,(0,t.h)("strong",null,"Time:")," ",(0,i.f)(e,{hour:"numeric",minute:"numeric",timeZoneName:"short"})),(0,t.h)("p",null,(0,t.h)("strong",null,"Duration:")," ",l))},this.onCloseAlert=function(){if(n.closeEvent.emit(),window.localStorage.setItem("MAINTENANCE_BANNER",n.bannerId),n.maintenanceBannerEl.remove(),!n.disableAnalytics){var e={componentName:"va-maintenance-banner",action:"close",details:{header:(0,i.a)(new Date,new Date(n.maintenanceStartDateTime))?n.upcomingWarnTitle:n.maintenanceTitle,upcomingWarnStartDateTime:n.upcomingWarnStartDateTime,maintenanceStartDateTime:n.maintenanceStartDateTime,maintenanceEndDateTime:n.maintenanceEndDateTime,displayedContent:n.maintenanceBannerContent.innerText}};n.componentLibraryAnalytics.emit(e)}},this.disableAnalytics=!1,this.bannerId=void 0,this.maintenanceStartDateTime=void 0,this.maintenanceEndDateTime=void 0,this.maintenanceTitle=void 0,this.upcomingWarnStartDateTime=void 0,this.upcomingWarnTitle=void 0,this.isError=void 0}return e.prototype.render=function(){var e=this,n=this,a=n.upcomingWarnStartDateTime,o=n.maintenanceEndDateTime,l=n.isError,c=new Date;if((0,i.a)(c,new Date(a)))return null;if((0,i.b)(c,new Date(o)))return null;if(window.localStorage.getItem("MAINTENANCE_BANNER")!==this.bannerId){var s=this,u=s.upcomingWarnTitle,d=s.maintenanceStartDateTime,m=s.maintenanceTitle,f=(0,i.a)(c,new Date(d))&&!l,v=(0,r.c)({"maintenance-banner":!0,"maintenance-banner--warning":f,"maintenance-banner--error":!f}),b=l?"error":"warning";return(0,t.h)(t.H,null,(0,t.h)("div",{class:v,ref:function(n){return e.maintenanceBannerEl=n}},(0,t.h)("va-icon",{class:"maintenance-banner__icon",icon:b,size:4}),(0,t.h)("div",{class:"maintenance-banner__body"},(0,t.h)("h4",{class:"maintenance-banner__title"},f?u:m),(0,t.h)("div",{class:"maintenance-banner__content",ref:function(n){return e.maintenanceBannerContent=n}},f?(0,t.h)("slot",{name:"warn-content"}):(0,t.h)("slot",{name:"maintenance-content"})),(0,t.h)("div",{class:"maintenance-banner__derived-content"},this.derivePostContent(new Date(d),new Date(o)))),(0,t.h)("button",{"aria-label":"Close notification",class:"maintenance-banner__close",onClick:this.onCloseAlert,type:"button"},(0,t.h)("va-icon",{icon:"close",size:4}))))}return null},e}());o.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:5px;color:var(--vads-button-color-text-primary-alt-on-light);cursor:pointer;display:inline-block;font-family:var(--font-source-sans);font-size:1rem;font-weight:700;line-height:1;padding:0.625rem 1.25rem;text-align:center;text-decoration:none}.maintenance-banner{border-top:8px solid;background-color:var(--vads-color-base-lightest);position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.maintenance-banner__content{font-size:1.06rem}.maintenance-banner p{-webkit-margin-before:1em;margin-block-start:1em;-webkit-margin-after:1em;margin-block-end:1em}.maintenance-banner--warning{border-color:var(--vads-color-warning)}.maintenance-banner--error{border-color:var(--vads-color-secondary-dark)}.maintenance-banner__icon{position:absolute;top:18px;left:18px}.maintenance-banner--error .maintenance-banner__icon{color:var(--vads-color-secondary-dark)}.maintenance-banner__title{font-family:var(--font-serif);margin:0 0 8px;font-size:20px}.maintenance-banner__body{padding:16px 56px;position:relative;max-width:1000px;margin:0px auto}.maintenance-banner__close{-ms-flex-item-align:start;align-self:flex-start;color:var(--vads-color-base);margin-top:8px}.maintenance-banner__close:hover{color:var(--vads-color-base)}'}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 2923.app.bundle.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2923,4569,7508],{4569:function(e,t,r){r.r(t),r.d(t,{c:function(){return i}});var n,o={exports:{}};n=o,function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)r.push(o);else if(Array.isArray(o)){if(o.length){var a=t.apply(null,o);a&&r.push(a)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var s in o)e.call(o,s)&&o[s]&&r.push(s);else r.push(o.toString())}}return r.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}();var i=o.exports},7508:function(e,t,r){function n(e){return!Number.isNaN(parseFloat(e))}function o(e,t,r){void 0===r&&(r="slot");var n=e.shadowRoot.querySelector(r).assignedNodes();return null!==t?Array.from(n).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(n)}function i(e){return 1===e?"":"s"}function a(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(i(t)," allowed");var r;if(e.length<=t){var n=t-e.length;r="".concat(n," character").concat(i(n)," left")}else n=e.length-t,r="".concat(n," character").concat(i(n)," over limit");return r}function s(e,t){return Array.from({length:t-e+1},(function(t,r){return e+r}))}r.r(t),r.d(t,{S:function(){return c},a:function(){return o},b:function(){return n},c:function(){return g},d:function(){return p},e:function(){return a},f:function(){return u},g:function(){return h},i:function(){return d},m:function(){return s},s:function(){return l}}),r(7911);var f=function(e){return e&&"object"==typeof e&&1===e.nodeType};function l(e,t){var r=function(e,t){if("string"!=typeof e)return[];if(!t||!f(t))return[];var r=t.shadowRoot.querySelectorAll(e);return Array.from(r)}(e,t);return"string"!=typeof e||f(t)&&t.matches(e)&&r.push(t),r}var c={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return c._entities[e]},escapeHTML:function(e){for(var t="",r=0;r<e.length;r++)t+=e[r],r+1<arguments.length&&(t+=String(arguments[r+1]||"").replace(c._entity,c.getEntity));return t}};function h(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function u(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function d(e){return e&&"false"!==e||!1}function m(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(m(e)||m(t)){if(!m(e)||!m(t))return!1;var o=Array.prototype.slice;return p(o.call(e),o.call(t),r,n)}if(e.constructor!==t.constructor)return!1;var i=Object.keys(e),a=Object.keys(t);if(0===i.length&&0===a.length)return!0;if(i.length!==a.length)return!1;for(var s=r.length;s--;)if(r[s]===e)return n[s]===t;r.push(e),n.push(t),i.sort(),a.sort();for(var f=i.length-1;f>=0;f--)if(i[f]!==a[f])return!1;for(var l=void 0,c=i.length-1;c>=0;c--)if(!p(e[l=i[c]],t[l],r,n))return!1;return r.pop(),n.pop(),!0}function g(e,t){void 0===t&&(t=!0);var r=["a","i","e","o"];t&&r.push("u");var n=e.charAt(0).toLowerCase();return r.includes(n)?"an":"a"}},2923:function(e,t,r){r.r(t),r.d(t,{va_checkbox_group:function(){return s}});var n=r(7911),o=r(4569),i=(r(7470),r(7508)),a=r(3244),s=function(){function e(e){(0,n.r)(this,e),this.componentLibraryAnalytics=(0,n.c)(this,"component-library-analytics",7),this.label=void 0,this.labelSrOnly=void 0,this.required=!1,this.error=void 0,this.enableAnalytics=!1,this.hint=void 0,this.labelHeaderLevel=void 0,this.messageAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0}return e.prototype.vaChangeHandler=function(e){var t=e.target;this.enableAnalytics&&this.fireAnalyticsEvent(t.label)},e.prototype.handleResize=function(){(0,n.f)(this)},e.prototype.fireAnalyticsEvent=function(e){this.componentLibraryAnalytics.emit({componentName:"va-checkbox-group",action:"change",details:{label:this.label,optionLabel:e,required:this.required}})},e.prototype.getHeaderLevel=function(){var e=parseInt(this.labelHeaderLevel,10);return e>=1&&e<=6?"h".concat(e):null},e.prototype.connectedCallback=function(){var e=this;a.i.on("languageChanged",(function(){(0,n.f)(e.el)}))},e.prototype.disconnectedCallback=function(){a.i.off("languageChanged")},e.prototype.render=function(){var e=this,t=e.label,r=e.required,s=e.error,f=e.hint,l=e.messageAriaDescribedby,c=e.useFormsPattern,h=e.formHeadingLevel,u=e.formHeading,d=e.labelSrOnly,m=this.getHeaderLevel(),p="".concat(c&&u?"form-question":""," ").concat(c?"form-description":""," ").concat("multiple"===c?"header-message":"").trim()||null,g=l?"description-message":null,b=(0,o.c)({"usa-legend":!0,"usa-label--error":s,"usa-sr-only":this.el.classList.contains("va-search-filter__checkbox-group")}),y=null;if("single"===c||"multiple"===c){var v=(0,i.g)(h);y=(0,n.h)(n.F,{key:"d185cb7ee355c9886da5a1cd735556521643c4a9"},u&&(0,n.h)(v,{key:"181e52c2fe8e7bf418859f2ce7fa165a8d7b6aa7",id:"form-question",part:"form-header"},u),(0,n.h)("div",{key:"53c489830757919c33260ef2f593985194eec4f3",id:"form-description"},(0,n.h)("slot",{key:"88cc00277fa2f4faeec153d47fd5b91570c630cb",name:"form-description"})))}return(0,n.h)(n.H,{key:"179c193056910747f712ff05f8d86538f9b2756f",role:"group"},y,(0,n.h)("div",{key:"e5d5504b9a7344f51b8e604775c7723d46cf2bb5",class:"input-wrap"},(0,n.h)("fieldset",{key:"50a6aa691447c86c345dfe73f4f453c259f551d1",class:"usa-fieldset","aria-labelledby":p},(0,n.h)("legend",{key:"e24a555fb69694c01d3e602c438918939c094503",class:b,"aria-describedby":g,part:"legend"},m?(0,n.h)(m,{part:"header"},t):t," ","multiple"===c&&(0,n.h)("span",{key:"2495c7519b102b593ee0d0f1cf704be182003e6b",id:"header-message",class:"usa-sr-only"},t),d&&(0,n.h)("span",{key:"e0ba71ad5fee6b7f90ad1c2657454ba3df175e64",class:"usa-sr-only"},d),(0,i.i)(l)&&(0,n.h)("span",{key:"8a78b6d9420b50037d7609ef431dc983808bfc87",id:"description-message",class:"usa-sr-only"},l),r&&(0,n.h)("span",{key:"d06fa9a6ae58d7d54b85e5799881dfd0c9cda5ce",class:"usa-label--required"},a.i.t("required")),f&&(0,n.h)("div",{key:"557f32e324f224d251ff18eefd3584b69d9a0636",class:"usa-hint"},f)),(0,n.h)("span",{key:"5e51e28fdc90a4c43569445fc0631039505a63cb",id:"checkbox-error-message",role:"alert"},s&&(0,n.h)(n.F,{key:"00df4f0973ea584df2d0251e49964fe4f52ab404"},(0,n.h)("span",{key:"f3642703caf5beee4fb958acfbb3275b52c80aad",class:"usa-sr-only"},a.i.t("error")),(0,n.h)("span",{key:"ab16f0f0b42027044aeedd720c41449db20d0f05",class:"usa-error-message"},s))),(0,n.h)("slot",{key:"19e49c88deb64a6ed4204877eefd84edeae79329"}))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint,.usa-fieldset{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-fieldset{border:none;margin:0;padding:0}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host{display:block;border:none;padding:0;margin-top:24px}:host .usa-hint{font-weight:normal}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2923,4569,7508],{4569:function(e,t,r){r.r(t),r.d(t,{c:function(){return i}});var n,o={exports:{}};n=o,function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)r.push(o);else if(Array.isArray(o)){if(o.length){var a=t.apply(null,o);a&&r.push(a)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var s in o)e.call(o,s)&&o[s]&&r.push(s);else r.push(o.toString())}}return r.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}();var i=o.exports},7508:function(e,t,r){function n(e){return!Number.isNaN(parseFloat(e))}function o(e,t,r){void 0===r&&(r="slot");var n=e.shadowRoot.querySelector(r).assignedNodes();return null!==t?Array.from(n).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(n)}function i(e){return 1===e?"":"s"}function a(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(i(t)," allowed");var r;if(e.length<=t){var n=t-e.length;r="".concat(n," character").concat(i(n)," left")}else n=e.length-t,r="".concat(n," character").concat(i(n)," over limit");return r}function s(e,t){return Array.from({length:t-e+1},(function(t,r){return e+r}))}r.r(t),r.d(t,{S:function(){return c},a:function(){return o},b:function(){return n},c:function(){return g},d:function(){return p},e:function(){return a},f:function(){return u},g:function(){return h},i:function(){return d},m:function(){return s},s:function(){return l}}),r(7911);var f=function(e){return e&&"object"==typeof e&&1===e.nodeType};function l(e,t){var r=function(e,t){if("string"!=typeof e)return[];if(!t||!f(t))return[];var r=t.shadowRoot.querySelectorAll(e);return Array.from(r)}(e,t);return"string"!=typeof e||f(t)&&t.matches(e)&&r.push(t),r}var c={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return c._entities[e]},escapeHTML:function(e){for(var t="",r=0;r<e.length;r++)t+=e[r],r+1<arguments.length&&(t+=String(arguments[r+1]||"").replace(c._entity,c.getEntity));return t}};function h(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function u(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function d(e){return e&&"false"!==e||!1}function m(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(m(e)||m(t)){if(!m(e)||!m(t))return!1;var o=Array.prototype.slice;return p(o.call(e),o.call(t),r,n)}if(e.constructor!==t.constructor)return!1;var i=Object.keys(e),a=Object.keys(t);if(0===i.length&&0===a.length)return!0;if(i.length!==a.length)return!1;for(var s=r.length;s--;)if(r[s]===e)return n[s]===t;r.push(e),n.push(t),i.sort(),a.sort();for(var f=i.length-1;f>=0;f--)if(i[f]!==a[f])return!1;for(var l=void 0,c=i.length-1;c>=0;c--)if(!p(e[l=i[c]],t[l],r,n))return!1;return r.pop(),n.pop(),!0}function g(e,t){void 0===t&&(t=!0);var r=["a","i","e","o"];t&&r.push("u");var n=e.charAt(0).toLowerCase();return r.includes(n)?"an":"a"}},2923:function(e,t,r){r.r(t),r.d(t,{va_checkbox_group:function(){return s}});var n=r(7911),o=r(4569),i=(r(5384),r(7508)),a=r(4665),s=function(){function e(e){(0,n.r)(this,e),this.componentLibraryAnalytics=(0,n.c)(this,"component-library-analytics",7),this.label=void 0,this.labelSrOnly=void 0,this.required=!1,this.error=void 0,this.enableAnalytics=!1,this.hint=void 0,this.labelHeaderLevel=void 0,this.messageAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0}return e.prototype.vaChangeHandler=function(e){var t=e.target;this.enableAnalytics&&this.fireAnalyticsEvent(t.label)},e.prototype.handleResize=function(){(0,n.f)(this)},e.prototype.fireAnalyticsEvent=function(e){this.componentLibraryAnalytics.emit({componentName:"va-checkbox-group",action:"change",details:{label:this.label,optionLabel:e,required:this.required}})},e.prototype.getHeaderLevel=function(){var e=parseInt(this.labelHeaderLevel,10);return e>=1&&e<=6?"h".concat(e):null},e.prototype.connectedCallback=function(){var e=this;a.i.on("languageChanged",(function(){(0,n.f)(e.el)}))},e.prototype.disconnectedCallback=function(){a.i.off("languageChanged")},e.prototype.render=function(){var e=this,t=e.label,r=e.required,s=e.error,f=e.hint,l=e.messageAriaDescribedby,c=e.useFormsPattern,h=e.formHeadingLevel,u=e.formHeading,d=e.labelSrOnly,m=this.getHeaderLevel(),p="".concat(c&&u?"form-question":""," ").concat(c?"form-description":""," ").concat("multiple"===c?"header-message":"").trim()||null,g=l?"description-message":null,b=(0,o.c)({"usa-legend":!0,"usa-label--error":s,"usa-sr-only":this.el.classList.contains("va-search-filter__checkbox-group")}),y=null;if("single"===c||"multiple"===c){var v=(0,i.g)(h);y=(0,n.h)(n.F,{key:"d185cb7ee355c9886da5a1cd735556521643c4a9"},u&&(0,n.h)(v,{key:"181e52c2fe8e7bf418859f2ce7fa165a8d7b6aa7",id:"form-question",part:"form-header"},u),(0,n.h)("div",{key:"53c489830757919c33260ef2f593985194eec4f3",id:"form-description"},(0,n.h)("slot",{key:"88cc00277fa2f4faeec153d47fd5b91570c630cb",name:"form-description"})))}return(0,n.h)(n.H,{key:"179c193056910747f712ff05f8d86538f9b2756f",role:"group"},y,(0,n.h)("div",{key:"e5d5504b9a7344f51b8e604775c7723d46cf2bb5",class:"input-wrap"},(0,n.h)("fieldset",{key:"50a6aa691447c86c345dfe73f4f453c259f551d1",class:"usa-fieldset","aria-labelledby":p},(0,n.h)("legend",{key:"e24a555fb69694c01d3e602c438918939c094503",class:b,"aria-describedby":g,part:"legend"},m?(0,n.h)(m,{part:"header"},t):t," ","multiple"===c&&(0,n.h)("span",{key:"2495c7519b102b593ee0d0f1cf704be182003e6b",id:"header-message",class:"usa-sr-only"},t),d&&(0,n.h)("span",{key:"e0ba71ad5fee6b7f90ad1c2657454ba3df175e64",class:"usa-sr-only"},d),(0,i.i)(l)&&(0,n.h)("span",{key:"8a78b6d9420b50037d7609ef431dc983808bfc87",id:"description-message",class:"usa-sr-only"},l),r&&(0,n.h)("span",{key:"d06fa9a6ae58d7d54b85e5799881dfd0c9cda5ce",class:"usa-label--required"},a.i.t("required")),f&&(0,n.h)("div",{key:"557f32e324f224d251ff18eefd3584b69d9a0636",class:"usa-hint"},f)),(0,n.h)("span",{key:"5e51e28fdc90a4c43569445fc0631039505a63cb",id:"checkbox-error-message",role:"alert"},s&&(0,n.h)(n.F,{key:"00df4f0973ea584df2d0251e49964fe4f52ab404"},(0,n.h)("span",{key:"f3642703caf5beee4fb958acfbb3275b52c80aad",class:"usa-sr-only"},a.i.t("error")),(0,n.h)("span",{key:"ab16f0f0b42027044aeedd720c41449db20d0f05",class:"usa-error-message"},s))),(0,n.h)("slot",{key:"19e49c88deb64a6ed4204877eefd84edeae79329"}))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint,.usa-fieldset{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-fieldset{border:none;margin:0;padding:0}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host{display:block;border:none;padding:0;margin-top:24px}:host .usa-hint{font-weight:normal}'}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 3589.app.bundle.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3589,4569,7508],{4569:function(e,t,a){a.r(t),a.d(t,{c:function(){return n}});var r,o={exports:{}};r=o,function(){var e={}.hasOwnProperty;function t(){for(var a=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var n=typeof o;if("string"===n||"number"===n)a.push(o);else if(Array.isArray(o)){if(o.length){var i=t.apply(null,o);i&&a.push(i)}}else if("object"===n)if(o.toString===Object.prototype.toString)for(var l in o)e.call(o,l)&&o[l]&&a.push(l);else a.push(o.toString())}}return a.join(" ")}r.exports?(t.default=t,r.exports=t):window.classNames=t}();var n=o.exports},7508:function(e,t,a){function r(e){return!Number.isNaN(parseFloat(e))}function o(e,t,a){void 0===a&&(a="slot");var r=e.shadowRoot.querySelector(a).assignedNodes();return null!==t?Array.from(r).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(r)}function n(e){return 1===e?"":"s"}function i(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(n(t)," allowed");var a;if(e.length<=t){var r=t-e.length;a="".concat(r," character").concat(n(r)," left")}else r=e.length-t,a="".concat(r," character").concat(n(r)," over limit");return a}function l(e,t){return Array.from({length:t-e+1},(function(t,a){return e+a}))}a.r(t),a.d(t,{S:function(){return d},a:function(){return o},b:function(){return r},c:function(){return g},d:function(){return f},e:function(){return i},f:function(){return b},g:function(){return u},i:function(){return p},m:function(){return l},s:function(){return s}}),a(7911);var c=function(e){return e&&"object"==typeof e&&1===e.nodeType};function s(e,t){var a=function(e,t){if("string"!=typeof e)return[];if(!t||!c(t))return[];var a=t.shadowRoot.querySelectorAll(e);return Array.from(a)}(e,t);return"string"!=typeof e||c(t)&&t.matches(e)&&a.push(t),a}var d={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return d._entities[e]},escapeHTML:function(e){for(var t="",a=0;a<e.length;a++)t+=e[a],a+1<arguments.length&&(t+=String(arguments[a+1]||"").replace(d._entity,d.getEntity));return t}};function u(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function b(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function p(e){return e&&"false"!==e||!1}function h(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function f(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(h(e)||h(t)){if(!h(e)||!h(t))return!1;var o=Array.prototype.slice;return f(o.call(e),o.call(t),a,r)}if(e.constructor!==t.constructor)return!1;var n=Object.keys(e),i=Object.keys(t);if(0===n.length&&0===i.length)return!0;if(n.length!==i.length)return!1;for(var l=a.length;l--;)if(a[l]===e)return r[l]===t;a.push(e),r.push(t),n.sort(),i.sort();for(var c=n.length-1;c>=0;c--)if(n[c]!==i[c])return!1;for(var s=void 0,d=n.length-1;d>=0;d--)if(!f(e[s=n[d]],t[s],a,r))return!1;return a.pop(),r.pop(),!0}function g(e,t){void 0===t&&(t=!0);var a=["a","i","e","o"];t&&a.push("u");var r=e.charAt(0).toLowerCase();return a.includes(r)?"an":"a"}},3589:function(e,t,a){a.r(t),a.d(t,{va_checkbox:function(){return l}});var r=a(7911),o=a(4569),n=(a(7470),a(7508)),i=a(3244),l=function(){function e(e){var t=this;(0,r.r)(this,e),this.vaChange=(0,r.c)(this,"vaChange",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.fireAnalyticsEvent=function(){var e=t.description||"";if(!e){var a=t.el.shadowRoot.querySelector('slot[name="description"]');a&&(e=null==a?void 0:a.assignedNodes().map((function(e){return e.textContent})).join(" "))}t.componentLibraryAnalytics.emit({componentName:"va-checkbox",action:"change",details:{label:t.label,description:e,required:t.required,checked:t.checked}})},this.handleClick=function(e){var a=e.target;"checkbox-element"!==a.id&&(0,n.f)(a)||(e.preventDefault(),e.stopImmediatePropagation(),t.checked=!t.checked,t.el.shadowRoot.querySelector("#checkbox-element").focus(),t.vaChange.emit({checked:t.checked}),t.enableAnalytics&&t.fireAnalyticsEvent())},this.label=void 0,this.error=void 0,this.description=void 0,this.required=!1,this.enableAnalytics=!1,this.checked=!1,this.hint=void 0,this.tile=!1,this.checkboxDescription=void 0,this.disabled=!1,this.messageAriaDescribedby=void 0,this.name=void 0,this.indeterminate=!1}return e.prototype.handleIndeterminateInput=function(){var e=this.el.shadowRoot.querySelector("input");this.indeterminate&&!this.checked?e.indeterminate=!0:e.indeterminate=!1},e.prototype.componentDidUpdate=function(){this.handleIndeterminateInput()},e.prototype.componentDidLoad=function(){this.handleIndeterminateInput()},e.prototype.connectedCallback=function(){var e=this;i.i.on("languageChanged",(function(){(0,r.f)(e.el)}))},e.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},e.prototype.render=function(){var e,t=this,a=t.error,l=t.label,c=t.required,s=t.description,d=t.checked,u=t.hint,b=t.tile,p=t.checkboxDescription,h=t.disabled,f=t.messageAriaDescribedby,g=t.name,m=t.indeterminate,_=!s&&this.el.querySelectorAll('[slot="description"]:not(:empty)').length>0,x=(0,o.c)("va-checkbox__container",{"va-checkbox__container--tile":b,"va-checkbox__container--tile--checked":b&&d}),C=(0,o.c)({"usa-label--error":a}),k=[f?"input-message":"",a?"checkbox-error-message":"",s||_?"description":""].filter(Boolean).join(" ").trim()||null;return e=m&&!d?"mixed":m||d?d:null,(0,r.h)(r.H,{key:"3eda796fd03b9271aa44263c52f90380e79bdae6"},s&&(0,r.h)("div",{key:"92b85e7aa2d4b3c136fce5311044b02020af5efb",id:"description",class:C},s),_&&(0,r.h)("div",{key:"113e16cbb574c9c88b20c579bc2de6cdb565ebf9",id:"description"},(0,r.h)("slot",{key:"0178e642b5d45f761fc7aca5bc52b6509e7cae1b",name:"description"})),u&&(0,r.h)("span",{key:"cf9a9f14b71ccc1ae7ffd8b6d10b63647f1280e2",class:"usa-hint"},u),(0,r.h)("span",{key:"874030a19e4e5afdc7b8ba0f7765ea7c0b8a4157",id:"checkbox-error-message",role:"alert"},a&&(0,r.h)(r.F,{key:"638338c781f3d1a0a95cd9124dc021a7e0c3f32d"},(0,r.h)("span",{key:"fda703b55aeadf36aab91742ada74a3602d4d200",class:"usa-sr-only"},i.i.t("error")),(0,r.h)("span",{key:"5847d0dedb54a4e1657b2c71032505b680199880",class:"usa-error-message"},a))),(0,r.h)("div",{key:"9b8b8942ffbada215ad38ed65c5c276287526abf",class:x,part:"checkbox",onClick:this.handleClick},(0,r.h)("input",{key:"8352b8662e5579506c2d2c62c2e3582c97d1177e",class:"va-checkbox__input",type:"checkbox",name:g||null,id:"checkbox-element",checked:d,"aria-describedby":k,"aria-invalid":a?"true":"false",disabled:h,"data-indeterminate":m&&!d,"aria-checked":e}),(0,r.h)("label",{key:"ba17fae5fd1b6e7c4e20b6800989573b98ca3c48",htmlFor:"checkbox-element",class:"va-checkbox__label"},(0,r.h)("span",{key:"9be222d2a0fe0ee0f16feacc8b78217d1bc99ac2",part:"label"},l)," ",c&&(0,r.h)("span",{key:"a2784a0f5d7d22a71ed4ae49fbbfbfa400f445bb",class:"usa-label--required"},i.i.t("required")),p&&(0,r.h)("span",{key:"af07d93c0d48e351f17d1a8bf8eabee55834cea0",class:"usa-checkbox__label-description",part:"description"},p),(0,r.h)("slot",{key:"042e21b1e3df8f02b9e16aa7b50b2b3d6cc2825b",name:"internal-description"})),(0,n.i)(f)&&(0,r.h)("span",{key:"61417bd0a0420504c0cea21f41fdb45e45602546",id:"input-message",class:"usa-sr-only dd-privacy-hidden"},f)))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();l.style='@charset "UTF-8";button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.usa-hint,.usa-checkbox__label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}.usa-checkbox{background:white}.usa-checkbox__label{color:#1b1b1b}.usa-checkbox__label::before{background:white;-webkit-box-shadow:0 0 0 2px #1b1b1b;box-shadow:0 0 0 2px #1b1b1b}@media (forced-colors: active){.usa-checkbox__label::before{outline:2px solid transparent;outline-offset:2px}}.usa-checkbox__input:checked+[class*=__label]::before{background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2}.usa-checkbox__input:disabled+[class*=__label],.usa-checkbox__input[aria-disabled=true]+[class*=__label]{color:#757575;cursor:not-allowed}@media (forced-colors: active){.usa-checkbox__input:disabled+[class*=__label],.usa-checkbox__input[aria-disabled=true]+[class*=__label]{color:GrayText}}.usa-checkbox__input:disabled+[class*=__label]::before,.usa-checkbox__input[aria-disabled=true]+[class*=__label]::before{background-color:white;-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-checkbox__input--tile+[class*=__label]{background-color:white;border:2px solid #c9c9c9;color:#1b1b1b}.usa-checkbox__input--tile:checked+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-checkbox__input--tile:checked+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-checkbox__input--tile:disabled+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-checkbox__input--tile:disabled:checked+[class*=__label],.usa-checkbox__input--tile:disabled:indeterminate+[class*=__label],.usa-checkbox__input--tile:disabled[data-indeterminate]+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]:checked+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]:indeterminate+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true][data-indeterminate]+[class*=__label]{background-color:white}.usa-checkbox__input:indeterminate+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2;background-position:center center;background-size:0.75rem auto}@media (forced-colors: active){.usa-checkbox__input:indeterminate+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 28.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8s1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 28.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8s1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-color:SelectedItem}}.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-checkbox__input:indeterminate:disabled+[class*=__label],.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label],.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label],.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-checkbox__input--tile:indeterminate+[class*=__label],.usa-checkbox__input--tile[data-indeterminate]+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-checkbox__input--tile:indeterminate+[class*=__label],.usa-checkbox__input--tile[data-indeterminate]+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-checkbox__input:checked+[class*=__label]::before,.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}@media (forced-colors: active){.usa-checkbox__input:checked+[class*=__label]::before,.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8-alt%3C%2Ftitle%3E%3Cpath fill%3D%22%23171717%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8-alt%3C%2Ftitle%3E%3Cpath fill%3D%22%23171717%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}}.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{background-color:#757575}@media (forced-colors: active){.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{background-color:GrayText}}.usa-checkbox__input{position:absolute;left:-999em;right:auto}.usa-checkbox__input:focus+[class*=__label]::before{outline:0.25rem solid #2491ff;outline-offset:0.25rem}.usa-checkbox__input--tile+[class*=__label]{border-radius:0.25rem;margin-top:0.5rem;padding:0.75rem 1rem 0.75rem 2.5rem}.usa-checkbox__input--tile+[class*=__label]::before{left:0.5rem}.usa-checkbox__input:checked+[class*=__label]::before{background-position:center center;background-size:0.75rem auto}@media print{.usa-checkbox__input:checked+[class*=__label]::before{background-image:none;background-color:white;content:"✔";text-align:center}}@media (forced-colors: active){.usa-checkbox__input:checked+[class*=__label]::before{background-color:SelectedItem}}.usa-checkbox__label{cursor:pointer;display:inherit;font-weight:normal;margin-top:0.75rem;padding-left:2rem;position:relative}.usa-checkbox__label::before{content:" ";display:block;left:0;margin-left:2px;margin-top:0.064rem;position:absolute}.usa-checkbox__label::before{height:1.25rem;width:1.25rem;border-radius:2px}.usa-checkbox__label-description{display:block;font-size:0.93rem;margin-top:0.5rem}.usa-legend{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host{display:block;max-width:480px}.va-checkbox__container{background:transparent;display:-ms-flexbox;display:flex;margin:0.75rem 0;max-width:480px;cursor:pointer}.va-checkbox__container--tile{border-radius:0.25rem;background-color:var(--vads-input-background-color-on-light);border:2px solid #c9c9c9;color:var(--vads-color-base);padding:0.75rem 1rem 0.75rem 0.5rem;margin:0.5rem 0}.va-checkbox__container--tile--checked{background-color:var(--vads-input-tile-background-active-on-light);border-color:var(--vads-input-tile-border-active-on-light)}.va-checkbox__input{height:1.25rem;width:1.25rem;min-width:1.25rem;background:var(--vads-input-background-color-on-light);border:none;border-radius:2px;-webkit-box-shadow:0 0 0 2px var(--vads-color-base);box-shadow:0 0 0 2px var(--vads-color-base);-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0.064rem 0 0 4px;opacity:unset;position:initial;cursor:pointer}.va-checkbox__input:not([disabled]):focus{outline-offset:4px}.va-checkbox__input:checked{background:var(--vads-button-color-background-primary-on-light);background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-position:center center;background-size:0.75rem auto;background-repeat:no-repeat;border:none;-webkit-box-shadow:0 0 0 2px var(--vads-button-color-background-primary-on-light);box-shadow:0 0 0 2px var(--vads-button-color-background-primary-on-light)}.va-checkbox__input:checked:focus{outline-offset:4px}.va-checkbox__input[data-indeterminate]:not([data-indeterminate=false]){background:var(--vads-button-color-background-primary-on-light);background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-position:center center;background-size:0.75rem auto;background-repeat:no-repeat;border:none}.va-checkbox__input[data-indeterminate]:not([data-indeterminate=false]):focus{outline-offset:4px}.va-checkbox__label{font-size:var(--vads-font-size-source-sans-normalized);padding-left:0.6rem;cursor:pointer}div#description{font-size:var(--vads-font-size-source-sans-normalized);margin-top:0.75rem}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3589,4569,7508],{4569:function(e,t,a){a.r(t),a.d(t,{c:function(){return n}});var r,o={exports:{}};r=o,function(){var e={}.hasOwnProperty;function t(){for(var a=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var n=typeof o;if("string"===n||"number"===n)a.push(o);else if(Array.isArray(o)){if(o.length){var i=t.apply(null,o);i&&a.push(i)}}else if("object"===n)if(o.toString===Object.prototype.toString)for(var l in o)e.call(o,l)&&o[l]&&a.push(l);else a.push(o.toString())}}return a.join(" ")}r.exports?(t.default=t,r.exports=t):window.classNames=t}();var n=o.exports},7508:function(e,t,a){function r(e){return!Number.isNaN(parseFloat(e))}function o(e,t,a){void 0===a&&(a="slot");var r=e.shadowRoot.querySelector(a).assignedNodes();return null!==t?Array.from(r).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(r)}function n(e){return 1===e?"":"s"}function i(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(n(t)," allowed");var a;if(e.length<=t){var r=t-e.length;a="".concat(r," character").concat(n(r)," left")}else r=e.length-t,a="".concat(r," character").concat(n(r)," over limit");return a}function l(e,t){return Array.from({length:t-e+1},(function(t,a){return e+a}))}a.r(t),a.d(t,{S:function(){return d},a:function(){return o},b:function(){return r},c:function(){return g},d:function(){return f},e:function(){return i},f:function(){return b},g:function(){return u},i:function(){return p},m:function(){return l},s:function(){return s}}),a(7911);var c=function(e){return e&&"object"==typeof e&&1===e.nodeType};function s(e,t){var a=function(e,t){if("string"!=typeof e)return[];if(!t||!c(t))return[];var a=t.shadowRoot.querySelectorAll(e);return Array.from(a)}(e,t);return"string"!=typeof e||c(t)&&t.matches(e)&&a.push(t),a}var d={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return d._entities[e]},escapeHTML:function(e){for(var t="",a=0;a<e.length;a++)t+=e[a],a+1<arguments.length&&(t+=String(arguments[a+1]||"").replace(d._entity,d.getEntity));return t}};function u(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function b(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function p(e){return e&&"false"!==e||!1}function h(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function f(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(h(e)||h(t)){if(!h(e)||!h(t))return!1;var o=Array.prototype.slice;return f(o.call(e),o.call(t),a,r)}if(e.constructor!==t.constructor)return!1;var n=Object.keys(e),i=Object.keys(t);if(0===n.length&&0===i.length)return!0;if(n.length!==i.length)return!1;for(var l=a.length;l--;)if(a[l]===e)return r[l]===t;a.push(e),r.push(t),n.sort(),i.sort();for(var c=n.length-1;c>=0;c--)if(n[c]!==i[c])return!1;for(var s=void 0,d=n.length-1;d>=0;d--)if(!f(e[s=n[d]],t[s],a,r))return!1;return a.pop(),r.pop(),!0}function g(e,t){void 0===t&&(t=!0);var a=["a","i","e","o"];t&&a.push("u");var r=e.charAt(0).toLowerCase();return a.includes(r)?"an":"a"}},3589:function(e,t,a){a.r(t),a.d(t,{va_checkbox:function(){return l}});var r=a(7911),o=a(4569),n=(a(5384),a(7508)),i=a(4665),l=function(){function e(e){var t=this;(0,r.r)(this,e),this.vaChange=(0,r.c)(this,"vaChange",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.fireAnalyticsEvent=function(){var e=t.description||"";if(!e){var a=t.el.shadowRoot.querySelector('slot[name="description"]');a&&(e=null==a?void 0:a.assignedNodes().map((function(e){return e.textContent})).join(" "))}t.componentLibraryAnalytics.emit({componentName:"va-checkbox",action:"change",details:{label:t.label,description:e,required:t.required,checked:t.checked}})},this.handleClick=function(e){var a=e.target;"checkbox-element"!==a.id&&(0,n.f)(a)||(e.preventDefault(),e.stopImmediatePropagation(),t.checked=!t.checked,t.el.shadowRoot.querySelector("#checkbox-element").focus(),t.vaChange.emit({checked:t.checked}),t.enableAnalytics&&t.fireAnalyticsEvent())},this.label=void 0,this.error=void 0,this.description=void 0,this.required=!1,this.enableAnalytics=!1,this.checked=!1,this.hint=void 0,this.tile=!1,this.checkboxDescription=void 0,this.disabled=!1,this.messageAriaDescribedby=void 0,this.name=void 0,this.indeterminate=!1}return e.prototype.handleIndeterminateInput=function(){var e=this.el.shadowRoot.querySelector("input");this.indeterminate&&!this.checked?e.indeterminate=!0:e.indeterminate=!1},e.prototype.componentDidUpdate=function(){this.handleIndeterminateInput()},e.prototype.componentDidLoad=function(){this.handleIndeterminateInput()},e.prototype.connectedCallback=function(){var e=this;i.i.on("languageChanged",(function(){(0,r.f)(e.el)}))},e.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},e.prototype.render=function(){var e,t=this,a=t.error,l=t.label,c=t.required,s=t.description,d=t.checked,u=t.hint,b=t.tile,p=t.checkboxDescription,h=t.disabled,f=t.messageAriaDescribedby,g=t.name,m=t.indeterminate,_=!s&&this.el.querySelectorAll('[slot="description"]:not(:empty)').length>0,x=(0,o.c)("va-checkbox__container",{"va-checkbox__container--tile":b,"va-checkbox__container--tile--checked":b&&d}),C=(0,o.c)({"usa-label--error":a}),k=[f?"input-message":"",a?"checkbox-error-message":"",s||_?"description":""].filter(Boolean).join(" ").trim()||null;return e=m&&!d?"mixed":m||d?d:null,(0,r.h)(r.H,{key:"3eda796fd03b9271aa44263c52f90380e79bdae6"},s&&(0,r.h)("div",{key:"92b85e7aa2d4b3c136fce5311044b02020af5efb",id:"description",class:C},s),_&&(0,r.h)("div",{key:"113e16cbb574c9c88b20c579bc2de6cdb565ebf9",id:"description"},(0,r.h)("slot",{key:"0178e642b5d45f761fc7aca5bc52b6509e7cae1b",name:"description"})),u&&(0,r.h)("span",{key:"cf9a9f14b71ccc1ae7ffd8b6d10b63647f1280e2",class:"usa-hint"},u),(0,r.h)("span",{key:"874030a19e4e5afdc7b8ba0f7765ea7c0b8a4157",id:"checkbox-error-message",role:"alert"},a&&(0,r.h)(r.F,{key:"638338c781f3d1a0a95cd9124dc021a7e0c3f32d"},(0,r.h)("span",{key:"fda703b55aeadf36aab91742ada74a3602d4d200",class:"usa-sr-only"},i.i.t("error")),(0,r.h)("span",{key:"5847d0dedb54a4e1657b2c71032505b680199880",class:"usa-error-message"},a))),(0,r.h)("div",{key:"9b8b8942ffbada215ad38ed65c5c276287526abf",class:x,part:"checkbox",onClick:this.handleClick},(0,r.h)("input",{key:"8352b8662e5579506c2d2c62c2e3582c97d1177e",class:"va-checkbox__input",type:"checkbox",name:g||null,id:"checkbox-element",checked:d,"aria-describedby":k,"aria-invalid":a?"true":"false",disabled:h,"data-indeterminate":m&&!d,"aria-checked":e}),(0,r.h)("label",{key:"ba17fae5fd1b6e7c4e20b6800989573b98ca3c48",htmlFor:"checkbox-element",class:"va-checkbox__label"},(0,r.h)("span",{key:"9be222d2a0fe0ee0f16feacc8b78217d1bc99ac2",part:"label"},l)," ",c&&(0,r.h)("span",{key:"a2784a0f5d7d22a71ed4ae49fbbfbfa400f445bb",class:"usa-label--required"},i.i.t("required")),p&&(0,r.h)("span",{key:"af07d93c0d48e351f17d1a8bf8eabee55834cea0",class:"usa-checkbox__label-description",part:"description"},p),(0,r.h)("slot",{key:"042e21b1e3df8f02b9e16aa7b50b2b3d6cc2825b",name:"internal-description"})),(0,n.i)(f)&&(0,r.h)("span",{key:"61417bd0a0420504c0cea21f41fdb45e45602546",id:"input-message",class:"usa-sr-only dd-privacy-hidden"},f)))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();l.style='@charset "UTF-8";button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.usa-hint,.usa-checkbox__label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}.usa-checkbox{background:white}.usa-checkbox__label{color:#1b1b1b}.usa-checkbox__label::before{background:white;-webkit-box-shadow:0 0 0 2px #1b1b1b;box-shadow:0 0 0 2px #1b1b1b}@media (forced-colors: active){.usa-checkbox__label::before{outline:2px solid transparent;outline-offset:2px}}.usa-checkbox__input:checked+[class*=__label]::before{background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2}.usa-checkbox__input:disabled+[class*=__label],.usa-checkbox__input[aria-disabled=true]+[class*=__label]{color:#757575;cursor:not-allowed}@media (forced-colors: active){.usa-checkbox__input:disabled+[class*=__label],.usa-checkbox__input[aria-disabled=true]+[class*=__label]{color:GrayText}}.usa-checkbox__input:disabled+[class*=__label]::before,.usa-checkbox__input[aria-disabled=true]+[class*=__label]::before{background-color:white;-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-checkbox__input--tile+[class*=__label]{background-color:white;border:2px solid #c9c9c9;color:#1b1b1b}.usa-checkbox__input--tile:checked+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-checkbox__input--tile:checked+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-checkbox__input--tile:disabled+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-checkbox__input--tile:disabled:checked+[class*=__label],.usa-checkbox__input--tile:disabled:indeterminate+[class*=__label],.usa-checkbox__input--tile:disabled[data-indeterminate]+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]:checked+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]:indeterminate+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true][data-indeterminate]+[class*=__label]{background-color:white}.usa-checkbox__input:indeterminate+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2;background-position:center center;background-size:0.75rem auto}@media (forced-colors: active){.usa-checkbox__input:indeterminate+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 28.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8s1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 28.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8s1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-color:SelectedItem}}.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-checkbox__input:indeterminate:disabled+[class*=__label],.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label],.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label],.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-checkbox__input--tile:indeterminate+[class*=__label],.usa-checkbox__input--tile[data-indeterminate]+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-checkbox__input--tile:indeterminate+[class*=__label],.usa-checkbox__input--tile[data-indeterminate]+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-checkbox__input:checked+[class*=__label]::before,.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}@media (forced-colors: active){.usa-checkbox__input:checked+[class*=__label]::before,.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8-alt%3C%2Ftitle%3E%3Cpath fill%3D%22%23171717%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8-alt%3C%2Ftitle%3E%3Cpath fill%3D%22%23171717%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}}.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{background-color:#757575}@media (forced-colors: active){.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{background-color:GrayText}}.usa-checkbox__input{position:absolute;left:-999em;right:auto}.usa-checkbox__input:focus+[class*=__label]::before{outline:0.25rem solid #2491ff;outline-offset:0.25rem}.usa-checkbox__input--tile+[class*=__label]{border-radius:0.25rem;margin-top:0.5rem;padding:0.75rem 1rem 0.75rem 2.5rem}.usa-checkbox__input--tile+[class*=__label]::before{left:0.5rem}.usa-checkbox__input:checked+[class*=__label]::before{background-position:center center;background-size:0.75rem auto}@media print{.usa-checkbox__input:checked+[class*=__label]::before{background-image:none;background-color:white;content:"✔";text-align:center}}@media (forced-colors: active){.usa-checkbox__input:checked+[class*=__label]::before{background-color:SelectedItem}}.usa-checkbox__label{cursor:pointer;display:inherit;font-weight:normal;margin-top:0.75rem;padding-left:2rem;position:relative}.usa-checkbox__label::before{content:" ";display:block;left:0;margin-left:2px;margin-top:0.064rem;position:absolute}.usa-checkbox__label::before{height:1.25rem;width:1.25rem;border-radius:2px}.usa-checkbox__label-description{display:block;font-size:0.93rem;margin-top:0.5rem}.usa-legend{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host{display:block;max-width:480px}.va-checkbox__container{background:transparent;display:-ms-flexbox;display:flex;margin:0.75rem 0;max-width:480px;cursor:pointer}.va-checkbox__container--tile{border-radius:0.25rem;background-color:var(--vads-input-background-color-on-light);border:2px solid #c9c9c9;color:var(--vads-color-base);padding:0.75rem 1rem 0.75rem 0.5rem;margin:0.5rem 0}.va-checkbox__container--tile--checked{background-color:var(--vads-input-tile-background-active-on-light);border-color:var(--vads-input-tile-border-active-on-light)}.va-checkbox__input{height:1.25rem;width:1.25rem;min-width:1.25rem;background:var(--vads-input-background-color-on-light);border:none;border-radius:2px;-webkit-box-shadow:0 0 0 2px var(--vads-color-base);box-shadow:0 0 0 2px var(--vads-color-base);-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0.064rem 0 0 4px;opacity:unset;position:initial;cursor:pointer}.va-checkbox__input:not([disabled]):focus{outline-offset:4px}.va-checkbox__input:checked{background:var(--vads-button-color-background-primary-on-light);background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-position:center center;background-size:0.75rem auto;background-repeat:no-repeat;border:none;-webkit-box-shadow:0 0 0 2px var(--vads-button-color-background-primary-on-light);box-shadow:0 0 0 2px var(--vads-button-color-background-primary-on-light)}.va-checkbox__input:checked:focus{outline-offset:4px}.va-checkbox__input[data-indeterminate]:not([data-indeterminate=false]){background:var(--vads-button-color-background-primary-on-light);background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-position:center center;background-size:0.75rem auto;background-repeat:no-repeat;border:none}.va-checkbox__input[data-indeterminate]:not([data-indeterminate=false]):focus{outline-offset:4px}.va-checkbox__label{font-size:var(--vads-font-size-source-sans-normalized);padding-left:0.6rem;cursor:pointer}div#description{font-size:var(--vads-font-size-source-sans-normalized);margin-top:0.75rem}'}}]);