@department-of-veterans-affairs/component-library 49.3.0 → 49.4.1

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.
Files changed (81) hide show
  1. package/dist/1214.app.bundle.js +1 -1
  2. package/dist/1450.app.bundle.js +1 -1
  3. package/dist/2222.app.bundle.js +1 -1
  4. package/dist/2387.app.bundle.js +1 -1
  5. package/dist/2654.app.bundle.js +1 -1
  6. package/dist/2664.app.bundle.js +1 -1
  7. package/dist/286.app.bundle.js +1 -1
  8. package/dist/3071.app.bundle.js +1 -1
  9. package/dist/3156.app.bundle.js +1 -1
  10. package/dist/4064.app.bundle.js +1 -1
  11. package/dist/4117.app.bundle.js +1 -1
  12. package/dist/4140.app.bundle.js +1 -1
  13. package/dist/4493.app.bundle.js +1 -1
  14. package/dist/4715.app.bundle.js +1 -1
  15. package/dist/5155.app.bundle.js +1 -1
  16. package/dist/5306.app.bundle.js +1 -1
  17. package/dist/5610.app.bundle.js +1 -1
  18. package/dist/5699.app.bundle.js +1 -1
  19. package/dist/5830.app.bundle.js +1 -1
  20. package/dist/6034.app.bundle.js +1 -1
  21. package/dist/6246.app.bundle.js +1 -1
  22. package/dist/6247.app.bundle.js +1 -1
  23. package/dist/641.app.bundle.js +1 -1
  24. package/dist/6527.app.bundle.js +1 -1
  25. package/dist/6655.app.bundle.js +2 -0
  26. package/dist/712.app.bundle.js +1 -1
  27. package/dist/7367.app.bundle.js +1 -1
  28. package/dist/7531.app.bundle.js +1 -1
  29. package/dist/7663.app.bundle.js +1 -1
  30. package/dist/7821.app.bundle.js +1 -1
  31. package/dist/8175.app.bundle.js +1 -1
  32. package/dist/82.app.bundle.js +1 -1
  33. package/dist/8762.app.bundle.js +1 -1
  34. package/dist/9157.app.bundle.js +1 -1
  35. package/dist/9161.app.bundle.js +1 -0
  36. package/dist/9288.app.bundle.js +1 -1
  37. package/dist/9670.app.bundle.js +1 -1
  38. package/dist/9724.app.bundle.js +1 -1
  39. package/dist/9800.app.bundle.js +1 -1
  40. package/dist/app.bundle.js +1 -1
  41. package/dist/components/types/components.d.ts +238 -162
  42. package/dist/components/utils.js +1 -1
  43. package/dist/components/va-accordion.js +1 -1
  44. package/dist/components/va-additional-info.js +1 -1
  45. package/dist/components/va-alert-expandable.js +1 -1
  46. package/dist/components/va-button2.js +1 -1
  47. package/dist/components/va-card2.js +1 -1
  48. package/dist/components/va-checkbox2.js +1 -1
  49. package/dist/components/va-file-input-multiple.js +1 -1
  50. package/dist/components/va-file-input2.js +1 -1
  51. package/dist/components/va-header-minimal.js +1 -1
  52. package/dist/components/va-icon2.js +1 -1
  53. package/dist/components/va-language-toggle.js +1 -1
  54. package/dist/components/va-link-action.js +1 -1
  55. package/dist/components/va-loading-indicator.js +1 -1
  56. package/dist/components/va-minimal-footer.js +1 -1
  57. package/dist/components/va-need-help.js +1 -1
  58. package/dist/components/va-official-gov-banner2.js +1 -1
  59. package/dist/components/va-omb-info.js +1 -1
  60. package/dist/components/va-privacy-agreement.js +1 -1
  61. package/dist/components/va-process-list-item.js +1 -1
  62. package/dist/components/va-process-list.js +1 -1
  63. package/dist/components/va-progress-bar.js +1 -1
  64. package/dist/components/va-progress-bar2.js +1 -0
  65. package/dist/components/va-radio-option.js +1 -1
  66. package/dist/components/va-radio.js +1 -1
  67. package/dist/components/va-search-input.js +1 -1
  68. package/dist/components/va-select2.js +1 -1
  69. package/dist/components/va-service-list-item.js +1 -1
  70. package/dist/components/va-statement-of-truth.js +1 -1
  71. package/dist/components/va-summary-box.js +1 -1
  72. package/dist/components/va-table-inner2.js +1 -1
  73. package/dist/components/va-table-row.js +1 -1
  74. package/dist/components/va-table.js +1 -1
  75. package/dist/components/va-telephone2.js +1 -1
  76. package/dist/components/va-textarea.js +1 -1
  77. package/package.json +2 -2
  78. package/dist/196.app.bundle.js +0 -2
  79. package/dist/326.app.bundle.js +0 -1
  80. package/dist/5628.app.bundle.js +0 -1
  81. /package/dist/{196.app.bundle.js.LICENSE.txt → 6655.app.bundle.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3071],{3071:function(e,t,s){s.r(t),s.d(t,{va_process_list:function(){return r}});var o=s(3798),r=function(){function e(e){(0,o.r)(this,e)}return e.prototype.render=function(){return(0,o.h)("ol",{key:"7fb978adbff4a59b7a0566ff68d0731639b65b2e",role:"list",class:"usa-process-list"},(0,o.h)("slot",{key:"6bcd26f0a27ee385bb4c31f0941332811291428f"}))},e}();r.style='.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-process-list{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;counter-reset:usa-numbered-list;padding:20px 0 0 calc((2.5rem / 2) - (0.5rem / 2));position:relative}.usa-process-list>li{margin-bottom:0;max-width:unset}.usa-process-list>.usa-process-list__item{max-width:72ex}.usa-process-list__item{border-left:0.5rem solid #d9e8f6;font-size:1.06rem;margin-bottom:0;padding-bottom:2rem;padding-left:calc(calc(\n (2.5rem / 2) - 0.25rem\n) * 2)}.usa-prose .usa-process-list{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;counter-reset:usa-numbered-list;padding:20px 0 0 calc((2.5rem / 2) - (0.5rem / 2));position:relative}.usa-prose .usa-process-list>li{margin-bottom:0;max-width:unset}.usa-prose .usa-process-list>.usa-process-list__item{max-width:72ex}.usa-prose .usa-process-list__item{border-left:0.5rem solid #d9e8f6;font-size:1.06rem;margin-bottom:0;padding-bottom:2rem;padding-left:calc(calc(\n (2.5rem / 2) - 0.25rem\n) * 2)}.usa-process-list__item:last-child{border-left:0.5rem solid transparent}.usa-process-list__item::before{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.5rem;border-radius:99rem;width:2.5rem;background-color:white;border:0.25rem solid #1b1b1b;-webkit-box-shadow:0 0 0 0.25rem white;box-shadow:0 0 0 0.25rem white;color:#1b1b1b;content:counter(usa-numbered-list, decimal);counter-increment:usa-numbered-list;display:-ms-flexbox;display:flex;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;font-weight:700;height:2.5rem;left:0;line-height:0.9;margin-top:-0.4rem;position:absolute;width:2.5rem}.usa-process-list__item ul{list-style-type:disc}.usa-process-list__item ul li{margin-bottom:0.25rem}.usa-process-list__item ul li:last-child{margin-bottom:0}.usa-process-list__item>*:first-child{margin-top:0}.usa-process-list__item>*:last-child{margin-bottom:0}.usa-process-list__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:1.1;color:#1b1b1b;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-weight:700;margin:0}.usa-process-list__heading+*{margin-top:0.25rem}*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}:host{counter-reset:usa-numbered-list}::slotted(va-process-list-item[checkmark=true]):before{color:var(--vads-color-success-dark) !important;border-color:var(--vads-color-success-dark) !important;content:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2218px%22 height%3D%2215px%22 viewBox%3D%220 0 18 15%22 version%3D%221.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%3E %3Ctitle%3EIcons %2F Font Awesome %2F fa-check%3C%2Ftitle%3E %3Cg id%3D%22----Process-List%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22Process-List-%2F-_elements-%2F-number-%2F-complete-%22 transform%3D%22translate(-11.000000%2C -12.000000)%22 fill%3D%22%23008817%22%3E %3Cg id%3D%22Icons-%2F-Font-Awesome-%2F-fa-check%22 transform%3D%22translate(11.000000%2C 12.250000)%22%3E %3Cpath d%3D%22M18%2C2.69419355 C18%2C2.98451613 17.883871%2C3.27483871 17.6748387%2C3.48387097 L7.68774194%2C13.4709677 C7.47870968%2C13.68 7.1883871%2C13.796129 6.89806452%2C13.796129 C6.60774194%2C13.796129 6.31741935%2C13.68 6.1083871%2C13.4709677 L0.32516129%2C7.68774194 C0.116129032%2C7.47870968 0%2C7.1883871 0%2C6.89806452 C0%2C6.60774194 0.116129032%2C6.31741935 0.32516129%2C6.1083871 L1.90451613%2C4.52903226 C2.11354839%2C4.32 2.40387097%2C4.20387097 2.69419355%2C4.20387097 C2.98451613%2C4.20387097 3.27483871%2C4.32 3.48387097%2C4.52903226 L6.89806452%2C7.95483871 L14.516129%2C0.32516129 C14.7251613%2C0.116129032 15.0154839%2C-1.77635684e-15 15.3058065%2C-1.77635684e-15 C15.596129%2C-1.77635684e-15 15.8864516%2C0.116129032 16.0954839%2C0.32516129 L17.6748387%2C1.90451613 C17.883871%2C2.11354839 18%2C2.40387097 18%2C2.69419355 Z%22 id%3D%22icon%22%3E%3C%2Fpath%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E") !important;content:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2218px%22 height%3D%2215px%22 viewBox%3D%220 0 18 15%22 version%3D%221.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%3E %3Ctitle%3EIcons %2F Font Awesome %2F fa-check%3C%2Ftitle%3E %3Cg id%3D%22----Process-List%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22Process-List-%2F-_elements-%2F-number-%2F-complete-%22 transform%3D%22translate(-11.000000%2C -12.000000)%22 fill%3D%22%23008817%22%3E %3Cg id%3D%22Icons-%2F-Font-Awesome-%2F-fa-check%22 transform%3D%22translate(11.000000%2C 12.250000)%22%3E %3Cpath d%3D%22M18%2C2.69419355 C18%2C2.98451613 17.883871%2C3.27483871 17.6748387%2C3.48387097 L7.68774194%2C13.4709677 C7.47870968%2C13.68 7.1883871%2C13.796129 6.89806452%2C13.796129 C6.60774194%2C13.796129 6.31741935%2C13.68 6.1083871%2C13.4709677 L0.32516129%2C7.68774194 C0.116129032%2C7.47870968 0%2C7.1883871 0%2C6.89806452 C0%2C6.60774194 0.116129032%2C6.31741935 0.32516129%2C6.1083871 L1.90451613%2C4.52903226 C2.11354839%2C4.32 2.40387097%2C4.20387097 2.69419355%2C4.20387097 C2.98451613%2C4.20387097 3.27483871%2C4.32 3.48387097%2C4.52903226 L6.89806452%2C7.95483871 L14.516129%2C0.32516129 C14.7251613%2C0.116129032 15.0154839%2C-1.77635684e-15 15.3058065%2C-1.77635684e-15 C15.596129%2C-1.77635684e-15 15.8864516%2C0.116129032 16.0954839%2C0.32516129 L17.6748387%2C1.90451613 C17.883871%2C2.11354839 18%2C2.40387097 18%2C2.69419355 Z%22 id%3D%22icon%22%3E%3C%2Fpath%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E")/"Completed" !important}::slotted(va-process-list-item[active=true]):before{color:var(--vads-color-primary) !important;border-color:var(--vads-color-primary) !important}::slotted(va-process-list-item[pending=true]):before{color:var(--vads-process-list-color-text-pending-on-light) !important;border-color:var(--vads-color-gray-medium) !important}::slotted(va-process-list-item[pending=true]){color:var(--vads-process-list-color-text-pending-on-light) !important}::slotted(va-process-list-item){border-left:8px solid var(--vads-color-gray-cool-light)}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3071],{3071:function(e,t,s){s.r(t),s.d(t,{va_process_list:function(){return r}});var o=s(3798),r=function(){function e(e){(0,o.r)(this,e)}return e.prototype.render=function(){return(0,o.h)("ol",{key:"a5175ee2701962137713bb8a3c300a6b4f504d75",role:"list",class:"usa-process-list"},(0,o.h)("slot",{key:"88330c4eb6291d9536333b49d396ef3d21c8e47e"}))},e}();r.style='.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-process-list{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;counter-reset:usa-numbered-list;padding:20px 0 0 calc((2.5rem / 2) - (0.5rem / 2));position:relative}.usa-process-list>li{margin-bottom:0;max-width:unset}.usa-process-list>.usa-process-list__item{max-width:72ex}.usa-process-list__item{border-left:0.5rem solid #d9e8f6;font-size:1.06rem;margin-bottom:0;padding-bottom:2rem;padding-left:calc(calc(\n (2.5rem / 2) - 0.25rem\n) * 2)}.usa-prose .usa-process-list{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;counter-reset:usa-numbered-list;padding:20px 0 0 calc((2.5rem / 2) - (0.5rem / 2));position:relative}.usa-prose .usa-process-list>li{margin-bottom:0;max-width:unset}.usa-prose .usa-process-list>.usa-process-list__item{max-width:72ex}.usa-prose .usa-process-list__item{border-left:0.5rem solid #d9e8f6;font-size:1.06rem;margin-bottom:0;padding-bottom:2rem;padding-left:calc(calc(\n (2.5rem / 2) - 0.25rem\n) * 2)}.usa-process-list__item:last-child{border-left:0.5rem solid transparent}.usa-process-list__item::before{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.5rem;border-radius:99rem;width:2.5rem;background-color:white;border:0.25rem solid #1b1b1b;-webkit-box-shadow:0 0 0 0.25rem white;box-shadow:0 0 0 0.25rem white;color:#1b1b1b;content:counter(usa-numbered-list, decimal);counter-increment:usa-numbered-list;display:-ms-flexbox;display:flex;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;font-weight:700;height:2.5rem;left:0;line-height:0.9;margin-top:-0.4rem;position:absolute;width:2.5rem}.usa-process-list__item ul{list-style-type:disc}.usa-process-list__item ul li{margin-bottom:0.25rem}.usa-process-list__item ul li:last-child{margin-bottom:0}.usa-process-list__item>*:first-child{margin-top:0}.usa-process-list__item>*:last-child{margin-bottom:0}.usa-process-list__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:1.1;color:#1b1b1b;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-weight:700;margin:0}.usa-process-list__heading+*{margin-top:0.25rem}*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}:host{counter-reset:usa-numbered-list}::slotted(va-process-list-item[checkmark=true]):before{color:var(--vads-color-success-dark) !important;border-color:var(--vads-color-success-dark) !important;content:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2218px%22 height%3D%2215px%22 viewBox%3D%220 0 18 15%22 version%3D%221.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%3E %3Ctitle%3EIcons %2F Font Awesome %2F fa-check%3C%2Ftitle%3E %3Cg id%3D%22----Process-List%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22Process-List-%2F-_elements-%2F-number-%2F-complete-%22 transform%3D%22translate(-11.000000%2C -12.000000)%22 fill%3D%22%23008817%22%3E %3Cg id%3D%22Icons-%2F-Font-Awesome-%2F-fa-check%22 transform%3D%22translate(11.000000%2C 12.250000)%22%3E %3Cpath d%3D%22M18%2C2.69419355 C18%2C2.98451613 17.883871%2C3.27483871 17.6748387%2C3.48387097 L7.68774194%2C13.4709677 C7.47870968%2C13.68 7.1883871%2C13.796129 6.89806452%2C13.796129 C6.60774194%2C13.796129 6.31741935%2C13.68 6.1083871%2C13.4709677 L0.32516129%2C7.68774194 C0.116129032%2C7.47870968 0%2C7.1883871 0%2C6.89806452 C0%2C6.60774194 0.116129032%2C6.31741935 0.32516129%2C6.1083871 L1.90451613%2C4.52903226 C2.11354839%2C4.32 2.40387097%2C4.20387097 2.69419355%2C4.20387097 C2.98451613%2C4.20387097 3.27483871%2C4.32 3.48387097%2C4.52903226 L6.89806452%2C7.95483871 L14.516129%2C0.32516129 C14.7251613%2C0.116129032 15.0154839%2C-1.77635684e-15 15.3058065%2C-1.77635684e-15 C15.596129%2C-1.77635684e-15 15.8864516%2C0.116129032 16.0954839%2C0.32516129 L17.6748387%2C1.90451613 C17.883871%2C2.11354839 18%2C2.40387097 18%2C2.69419355 Z%22 id%3D%22icon%22%3E%3C%2Fpath%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E") !important;content:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2218px%22 height%3D%2215px%22 viewBox%3D%220 0 18 15%22 version%3D%221.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%3E %3Ctitle%3EIcons %2F Font Awesome %2F fa-check%3C%2Ftitle%3E %3Cg id%3D%22----Process-List%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22Process-List-%2F-_elements-%2F-number-%2F-complete-%22 transform%3D%22translate(-11.000000%2C -12.000000)%22 fill%3D%22%23008817%22%3E %3Cg id%3D%22Icons-%2F-Font-Awesome-%2F-fa-check%22 transform%3D%22translate(11.000000%2C 12.250000)%22%3E %3Cpath d%3D%22M18%2C2.69419355 C18%2C2.98451613 17.883871%2C3.27483871 17.6748387%2C3.48387097 L7.68774194%2C13.4709677 C7.47870968%2C13.68 7.1883871%2C13.796129 6.89806452%2C13.796129 C6.60774194%2C13.796129 6.31741935%2C13.68 6.1083871%2C13.4709677 L0.32516129%2C7.68774194 C0.116129032%2C7.47870968 0%2C7.1883871 0%2C6.89806452 C0%2C6.60774194 0.116129032%2C6.31741935 0.32516129%2C6.1083871 L1.90451613%2C4.52903226 C2.11354839%2C4.32 2.40387097%2C4.20387097 2.69419355%2C4.20387097 C2.98451613%2C4.20387097 3.27483871%2C4.32 3.48387097%2C4.52903226 L6.89806452%2C7.95483871 L14.516129%2C0.32516129 C14.7251613%2C0.116129032 15.0154839%2C-1.77635684e-15 15.3058065%2C-1.77635684e-15 C15.596129%2C-1.77635684e-15 15.8864516%2C0.116129032 16.0954839%2C0.32516129 L17.6748387%2C1.90451613 C17.883871%2C2.11354839 18%2C2.40387097 18%2C2.69419355 Z%22 id%3D%22icon%22%3E%3C%2Fpath%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E")/"Completed" !important}::slotted(va-process-list-item[active=true]):before{color:var(--vads-color-primary) !important;border-color:var(--vads-color-primary) !important}::slotted(va-process-list-item[pending=true]):before{color:var(--vads-process-list-color-text-pending-on-light) !important;border-color:var(--vads-color-gray-medium) !important}::slotted(va-process-list-item[pending=true]){color:var(--vads-process-list-color-text-pending-on-light) !important}::slotted(va-process-list-item){border-left:8px solid var(--vads-color-gray-cool-light)}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3156],{3156:function(e,a,i){i.r(a),i.d(a,{va_header_minimal:function(){return o}});var t=i(3798),o=function(){function e(e){(0,t.r)(this,e),this.shifted=!1,this.header=void 0,this.subheader=void 0,this.enableHeadings=!1}return e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,a=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-crisis-line-modal").shadowRoot.querySelector("va-modal"),i=null==a?void 0:a.getAttribute("visible");if(null!==i&&"false"!==i){var t=void 0,o=this.shifted?".last-focusable-child":".va-modal-close";null==(t=this.shifted?null==a?void 0:a.querySelector(o):null==a?void 0:a.shadowRoot.querySelector(o))||t.focus()}},e.prototype.render=function(){var e=this,a=this,i=a.header,o=a.subheader,r=a.enableHeadings;return(0,t.h)(t.H,{key:"636ba9f55757cb15abba2863242489cdf51d1a0f",role:"banner"},(0,t.h)("va-official-gov-banner",{key:"3a8c684922f16ed6e649aac109b2506269b895e5"}),(0,t.h)("va-crisis-line-modal",{key:"0a97151788f17c124b317fd4da5c9266c89c4337"}),(0,t.h)("div",{key:"133c6ff93d5bc2b5b2474eeb576731d8005334e5",onFocusin:function(){return e.trapFocus()},class:"va-header"},(0,t.h)("a",{key:"26f72706e303fcd78931fdaf5b17aaef0102f728",href:"/",title:"Go to VA.gov",class:"va-logo-link"},(0,t.h)("img",{key:"5e42e60405758c2e76cd47f10cf151bbb6b265a6",class:"va-logo",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1Ny42IDM1LjIiIHJvbGU9ImltZyI+PHRpdGxlPlZBPC90aXRsZT48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJNMTEuMSAzNS4yTDAgMGg4LjZsNC4yIDE0LjljMS4yIDQuMiAyLjIgOC4yIDMuMSAxMi42aC4xYy45LTQuMiAxLjktOC40IDMuMS0xMi40TDIzLjUgMGg4LjNMMjAuMiAzNS4yaC05LjF6TTM2LjYgMjYuMmwtMi41IDloLThMMzYuNiAwaDEwLjJsMTAuOCAzNS4yaC04LjVsLTIuNy05aC05Ljh6bTguOC02bC0yLjItNy41Yy0uNi0yLjEtMS4yLTQuNy0xLjctNi44aC0uMWMtLjUgMi4xLTEgNC44LTEuNiA2LjhsLTIgNy41aDcuNnoiPjwvcGF0aD48L2c+PC9zdmc+",alt:"VA logo and Seal, U.S. Department of Veterans Affairs"})),(0,t.h)("div",{key:"d35f4d251ae9dd0aa5bf5c2fca23d92e58752150",class:"header-container"},r?(0,t.h)("h1",null,i):(0,t.h)("div",{class:"header"},i),o&&(r?(0,t.h)("h2",null,o):(0,t.h)("div",{class:"subheader"},o)))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),e}();o.style=".va-header{display:-ms-flexbox;display:flex;margin-left:auto;margin-right:auto;max-width:1000px;background-color:var(--vads-color-primary-darker);color:var(--vads-button-color-text-primary-alt-on-light);-ms-flex-align:center;align-items:center;padding:10px 8px;line-height:22px}@media (min-width: 481px){.va-header{padding:10px 16px}}.va-logo-link:focus{outline:2px solid var(--vads-color-action-focus-on-light)}.va-logo{margin-right:8px;min-height:30px;min-width:48px}@media (min-width: 481px){.va-logo{margin-right:16px}}.header-container{padding-left:8px;border-left:1px solid var(--vads-color-white)}@media (min-width: 481px){.header-container{padding-left:16px}}.header-container h1,.header-container .header{font-size:20px;margin:0;font-weight:700}.header-container h2,.header-container .subheader{font-size:20px;margin:0;font-weight:100}@media (min-width: 1008px){va-crisis-line-modal::part(button){position:absolute;right:0;bottom:-5px}}"}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3156],{3156:function(e,a,i){i.r(a),i.d(a,{va_header_minimal:function(){return o}});var t=i(3798),o=function(){function e(e){(0,t.r)(this,e),this.shifted=!1,this.header=void 0,this.subheader=void 0,this.enableHeadings=!1}return e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,a=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-crisis-line-modal").shadowRoot.querySelector("va-modal"),i=null==a?void 0:a.getAttribute("visible");if(null!==i&&"false"!==i){var t=void 0,o=this.shifted?".last-focusable-child":".va-modal-close";null==(t=this.shifted?null==a?void 0:a.querySelector(o):null==a?void 0:a.shadowRoot.querySelector(o))||t.focus()}},e.prototype.render=function(){var e=this,a=this,i=a.header,o=a.subheader,r=a.enableHeadings;return(0,t.h)(t.H,{key:"de6ef144d4f44b7b21319ee9500274b48e294dfd",role:"banner"},(0,t.h)("va-official-gov-banner",{key:"579da9295024a5605162e2591f1eb6ba12b8a098"}),(0,t.h)("va-crisis-line-modal",{key:"fb9d5ae72e3037cfece2cbfc0eb16951ce94f7e6"}),(0,t.h)("div",{key:"168a6172790ef34e6efca39a0bfce58b9e3d670f",onFocusin:function(){return e.trapFocus()},class:"va-header"},(0,t.h)("a",{key:"3db676d77c032470718306337d662b38d6589f90",href:"/",title:"Go to VA.gov",class:"va-logo-link"},(0,t.h)("img",{key:"d41fd05286d3fca0d38549639cec8d29627fc9f0",class:"va-logo",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1Ny42IDM1LjIiIHJvbGU9ImltZyI+PHRpdGxlPlZBPC90aXRsZT48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJNMTEuMSAzNS4yTDAgMGg4LjZsNC4yIDE0LjljMS4yIDQuMiAyLjIgOC4yIDMuMSAxMi42aC4xYy45LTQuMiAxLjktOC40IDMuMS0xMi40TDIzLjUgMGg4LjNMMjAuMiAzNS4yaC05LjF6TTM2LjYgMjYuMmwtMi41IDloLThMMzYuNiAwaDEwLjJsMTAuOCAzNS4yaC04LjVsLTIuNy05aC05Ljh6bTguOC02bC0yLjItNy41Yy0uNi0yLjEtMS4yLTQuNy0xLjctNi44aC0uMWMtLjUgMi4xLTEgNC44LTEuNiA2LjhsLTIgNy41aDcuNnoiPjwvcGF0aD48L2c+PC9zdmc+",alt:"VA logo and Seal, U.S. Department of Veterans Affairs"})),(0,t.h)("div",{key:"9a3ce33c9dee2afd43c310fd76d303ef472d74a3",class:"header-container"},r?(0,t.h)("h1",null,i):(0,t.h)("div",{class:"header"},i),o&&(r?(0,t.h)("h2",null,o):(0,t.h)("div",{class:"subheader"},o)))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),e}();o.style=".va-header{display:-ms-flexbox;display:flex;margin-left:auto;margin-right:auto;max-width:1000px;background-color:var(--vads-color-primary-darker);color:var(--vads-button-color-text-primary-alt-on-light);-ms-flex-align:center;align-items:center;padding:10px 8px;line-height:22px}@media (min-width: 481px){.va-header{padding:10px 16px}}.va-logo-link:focus{outline:2px solid var(--vads-color-action-focus-on-light)}.va-logo{margin-right:8px;min-height:30px;min-width:48px}@media (min-width: 481px){.va-logo{margin-right:16px}}.header-container{padding-left:8px;border-left:1px solid var(--vads-color-white)}@media (min-width: 481px){.header-container{padding-left:16px}}.header-container h1,.header-container .header{font-size:20px;margin:0;font-weight:700}.header-container h2,.header-container .subheader{font-size:20px;margin:0;font-weight:100}@media (min-width: 1008px){va-crisis-line-modal::part(button){position:absolute;right:0;bottom:-5px}}"}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[326,4064],{326:function(e,t,a){function i(e){return!Number.isNaN(parseFloat(e))}function n(e,t){var a=e.shadowRoot.querySelector("slot").assignedNodes();return null!==t?Array.from(a).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(a)}function o(e){return 1===e?"":"s"}function r(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(o(t)," allowed");var a;if(e.length<=t){var i=t-e.length;a="".concat(i," character").concat(o(i)," left")}else i=e.length-t,a="".concat(i," character").concat(o(i)," over limit");return a}function s(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 f},b:function(){return r},g:function(){return n},i:function(){return i},m:function(){return s},s:function(){return c}}),a(3798);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function c(e,t){var a=function(e,t){if("string"!=typeof e)return[];if(!t||!l(t))return[];var a=t.shadowRoot.querySelectorAll(e);return Array.from(a)}(e,t);return"string"!=typeof e||l(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 f(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}},4064:function(e,t,a){a.r(t),a.d(t,{va_file_input:function(){return W}});var i=a(3798),n=(a(2465),a(326)),o=a(9425),r="usa",s="".concat(r,"-file-input"),l=".".concat(s),c="".concat(r,"-file-input__input"),d="".concat(r,"-file-input__target"),f=".".concat(c),h="".concat(r,"-file-input__box"),u="".concat(r,"-file-input__instructions"),p="".concat(r,"-file-input__preview"),m="".concat(r,"-file-input__preview-heading"),b="".concat(r,"-file-input--disabled"),g="".concat(r,"-file-input__choose"),v="".concat(r,"-file-input__accepted-files-message"),y="".concat(r,"-file-input__drag-text"),x="".concat(r,"-file-input--drag"),w="is-loading",k="has-invalid-file",A="".concat(r,"-file-input__preview-image"),z="".concat(A,"--generic"),S="".concat(A,"--pdf"),T="".concat(A,"--word"),L="".concat(A,"--video"),M="".concat(A,"--excel"),C="".concat(r,"-sr-only"),_="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",F=Boolean(!0),E="",q="",H=function(e){var t=e.charCodeAt(0);return 32===t?"-":t>=65&&t<=90?"img_".concat(e.toLowerCase()):"__000".concat(t.toString(16).slice(-4))},B=function(e){return e.hasAttribute("multiple")?"files":"file"},N=function(e){var t=e.hasAttribute("aria-disabled")||e.hasAttribute("disabled"),a=function(e){var t=document.createElement("div"),a=document.createElement("div"),i=document.createElement("div");return e.classList.remove(s),e.classList.add(c),t.classList.add(s),i.classList.add(h),a.classList.add(d),a.prepend(i),e.parentNode.insertBefore(a,e),e.parentNode.insertBefore(t,a),a.appendChild(e),t.appendChild(a),a}(e),i=function(e){var t=e.closest(l),a=B(e),i=document.createElement("div"),o="Drag ".concat(a," here or"),r="choose from folder";return E="".concat(o," ").concat(r),i.classList.add(u),i.setAttribute("aria-hidden","true"),e.setAttribute("aria-label",E),i.innerHTML=n.S.escapeHTML('<span class="'.concat(y,'">').concat(o,'</span> <span class="').concat(g,'">').concat(r,"</span>")),e.parentNode.insertBefore(i,e),(/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.querySelector(".".concat(y)).outerHTML=""),i}(e),o=function(e){var t=e.closest(l);if(!t)throw new Error("Element is missing outer ".concat(l));var a=t.querySelector(f);return{dropZoneEl:t,inputEl:a}}(e).dropZoneEl;return t?o.classList.add(b):function(e){var t=document.createElement("div"),a=B(e),i=e.closest(l),n=e.closest(".".concat(d));q="No ".concat(a," selected."),t.classList.add(C),t.setAttribute("aria-live","polite"),t.textContent=q,i.insertBefore(t,n)}(e),{instructions:i,dropTarget:a}},R=function(e,t){var a=e.querySelectorAll(".".concat(p)),i=e.querySelector(".".concat(m)),n=e.querySelector(".".concat(v));i&&(i.outerHTML=""),n&&(n.outerHTML="",e.classList.remove(k)),null!==a&&(t&&t.removeAttribute("hidden"),Array.prototype.forEach.call(a,(function(e){e.parentNode.removeChild(e)})))},j=function(e,t,a,i){!function(e,t,a,i){var n=t.getAttribute("accept");i.classList.remove(k);var o=function(e,t){var a=!1;return e.indexOf(t)>=0&&(a=!0),a};if(n){for(var r=n.split(","),s=document.createElement("div"),l=!0,c=e.target.files||e.dataTransfer.files,d=0;d<c.length;d+=1){var f=c[d];if(!l)break;for(var h=0;h<r.length;h+=1){var u=r[h];if(l=f.name.indexOf(u)>0||o(f.type,u.replace(/\*/g,""))){F=!0;break}}}l||(R(i,a),t.value="",i.insertBefore(s,t),s.textContent=t.dataset.errormessage||"This is not a valid file type.",s.classList.add(v),i.classList.add(k),F=!1,e.preventDefault(),e.stopPropagation())}}(e,t,a,i),!0===F&&function(e,t,a,i){var o=t.getAttribute("multiple")?e.target.files:[e.target.files[0]],r=i.closest(".".concat(s)).querySelector(".".concat(C)),l=[];R(i,a);for(var c=function(e){var t,r=new FileReader,s=o[e].name;l.push(s),r.onloadstart=function(){t=function(e){return"".concat(e,"-").concat(Math.floor(Date.now()/1e3))}(function(e){return e.replace(/[^a-z0-9]/g,H)}(s)),a.insertAdjacentHTML("afterend",n.S.escapeHTML('<div class="'.concat(p,'" aria-hidden="true">\n <img id="').concat(t,'" src="').concat(_,'" alt="" class="').concat(A," ").concat(w,'"/>').concat(s,"\n <div>")))},r.onloadend=function(){var e=i.querySelector("#".concat(t));s.indexOf(".pdf")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(S,'")')):s.indexOf(".doc")>0||s.indexOf(".pages")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(T,'")')):s.indexOf(".xls")>0||s.indexOf(".numbers")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(M,'")')):s.indexOf(".mov")>0||s.indexOf(".mp4")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(L,'")')):e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(z,'")')),e.classList.remove(w),e.src=r.result},o[e]&&r.readAsDataURL(o[e])},f=0;f<o.length;f+=1)c(f);0===o.length?t.setAttribute("aria-label",E):function(e,t){var a=document.createElement("div"),i=e.closest(".".concat(d)),o=i.querySelector(".".concat(u)),r="Change file",s="";1===t.length?s=n.S.escapeHTML('Selected file <span class="usa-file-input__choose">'.concat(r,"</span>")):t.length>1&&(r="Change files",s=n.S.escapeHTML("".concat(t.length,' files selected <span class="usa-file-input__choose">').concat(r,"</span>"))),o.setAttribute("hidden","true"),a.classList.add(m),a.innerHTML=s,i.insertBefore(a,o),e.setAttribute("aria-label",r)}(t,o),function(e,t,a){var i=e,n=q;1===t.length?n="You have selected the file: ".concat(a):t.length>1&&(n="You have selected ".concat(t.length," files: ").concat(a.join(", "))),setTimeout((function(){i.textContent=n}),1e3)}(r,o,l)}(e,t,a,i)},O={".txt":"text/plain",".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".odt":"application/vnd.oasis.opendocument.text",".rtf":"application/rtf",".csv":"text/csv",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".ppt":"application/vnd.ms-powerpoint",".pptx":"application/vnd.openxmlformats-officedocument.presentationml.presentation",".jpg":"image/jpeg",".jpeg":"image/jpeg",".png":"image/png",".gif":"image/gif",".bmp":"image/bmp",".webp":"image/webp",".tif":"image/tiff",".tiff":"image/tiff",".svg":"image/svg+xml",".mp3":"audio/mpeg",".wav":"audio/wav",".ogg":"audio/ogg",".m4a":"audio/mp4",".aac":"audio/aac",".mp4":"video/mp4",".avi":"video/x-msvideo",".mov":"video/quicktime",".wmv":"video/x-ms-wmv",".flv":"video/x-flv",".mkv":"video/x-matroska",".webm":"video/webm",".zip":"application/zip",".rar":"application/x-rar-compressed",".7z":"application/x-7z-compressed",".tar":"application/x-tar",".gz":"application/gzip",".json":"application/json",".xml":"application/xml",".html":"text/html",".htm":"text/html",".css":"text/css",".js":"application/javascript"},W=function(){function e(e){var t=this;(0,i.r)(this,e),this.vaChange=(0,i.c)(this,"vaChange",7),this.componentLibraryAnalytics=(0,i.c)(this,"component-library-analytics",7),this.uploadStatus="idle",this.defaultUploadMessage=(0,i.h)("span",null,"Drag a file here or"," ",(0,i.h)("span",{class:"file-input-choose-text"},"choose from folder")),this.handleChange=function(e){var a=e.target;a.files&&a.files.length>0&&t.handleFile(a.files[0]),a.value=""},this.handleDrop=function(e){e.preventDefault(),e.stopPropagation();var a=e.dataTransfer.files;a.length>0&&t.handleFile(a[0])},this.handleFile=function(e,a){if(void 0===a&&(a=!0),t.accept){var i=t.normalizeAcceptProp(t.accept);if(!t.isAcceptedFileType(e.type,i))return t.removeFile(!1),void(t.internalError="This is not a valid file type.")}if(e.size>t.maxFileSize)return t.internalError="\n We can't upload your file because it's too big. Files must be less than ".concat(t.formatFileSize(t.maxFileSize),"."),t.fileContents=null,void(t.uploadStatus="idle");t.uploadedFile=null,t.file=e,a&&t.vaChange.emit({files:[t.file]}),t.uploadStatus="success",t.internalError=null,t.generateFileContents(t.file),t.updateStatusMessage("You have selected the file: ".concat(t.file.name)),t.el.focus(),t.enableAnalytics&&t.componentLibraryAnalytics.emit({componentName:"va-file-input",action:"change",details:{label:t.label}})},this.removeFile=function(e){void 0===e&&(e=!0),t.closeModal(),t.uploadStatus="idle",t.internalError=null,e&&t.vaChange.emit({files:[]}),t.file=null,t.uploadedFile=null,t.updateStatusMessage("File removed. No file selected."),t.el.focus()},this.openModal=function(){t.el.shadowRoot.querySelector("va-modal").setAttribute("status","warning"),t.showModal=!0},this.closeModal=function(){t.showModal=!1,setTimeout((function(){t.fileInputRef.focus()}),0)},this.changeFile=function(){t.fileInputRef&&t.fileInputRef.click()},this.formatFileSize=function(e){var t=["B","KB","MB","GB","TB"];if(0===e)return"0 B";var a=Math.floor(Math.log(e)/Math.log(1024));if(0===a)return"".concat(e," ").concat(t[a]);var i=(e/Math.pow(1024,a)).toFixed(a<2?0:1);return"".concat(i," ").concat(t[a])},this.normalizeAcceptProp=function(e){return e.split(",").map((function(e){return(e=e.trim()).startsWith(".")?O[e]:e}))},this.isAcceptedFileType=function(e,t){for(var a=0,i=t;a<i.length;a++){var n=i[a];if(n===e)return!0;if(n.endsWith("/*")&&e.startsWith(n.slice(0,-1)))return!0}return!1},this.renderLabelOrHeader=function(e,t,a){var n=t?(0,i.h)("span",{class:"required"}," ",o.i.t("required")):null;if(a&&a>=1&&a<=6){var r="h".concat(a);return(0,i.h)("div",{class:"label-header"},(0,i.h)(r,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,n))}return(0,i.h)("div",{class:"label-header"},(0,i.h)("label",{htmlFor:"fileInputField",part:"label",class:"usa-label"},e,n))},this.file=void 0,this.fileContents=void 0,this.internalError=void 0,this.showModal=!1,this.showSeparator=!0,this.label=void 0,this.name=void 0,this.buttonText=void 0,this.value=void 0,this.required=!1,this.accept=void 0,this.error=void 0,this.hint=void 0,this.statusText=void 0,this.uploadMessage=this.defaultUploadMessage,this.enableAnalytics=!1,this.headerSize=void 0,this.headless=!1,this.readOnly=!1,this.uploadedFile=void 0,this.maxFileSize=1/0}return e.prototype.handleValueChange=function(e){var t=this;setTimeout((function(){t.updateStatusMessage(e)}))},e.prototype.updateStatusMessage=function(e){var t=this;setTimeout((function(){var a=t.el.shadowRoot.querySelector("#statusMessage");a&&(a.textContent=e)}),1e3)},e.prototype.generateFileContents=function(e){var t=this;if(e){var a=new FileReader;this.fileType=e.type,a.onloadend=function(){t.fileContents=a.result},this.fileType&&("application/pdf"===this.fileType||this.fileType.startsWith("image/"))&&a.readAsDataURL(e)}},e.prototype.componentWillRender=function(){var e=!!this.el.querySelector(":scope > *"),t=!(!this.value&&!this.file||this.readOnly);this.showSeparator=e||t},e.prototype.componentDidLoad=function(){!function(e){(0,n.s)(l,e).forEach((function(e){var t=N(e),a=t.instructions,i=t.dropTarget;i.addEventListener("dragover",(function(){this.classList.add(x)}),!1),i.addEventListener("dragleave",(function(){this.classList.remove(x)}),!1),i.addEventListener("drop",(function(t){t.preventDefault(),this.classList.remove(x);var n=t.dataTransfer;if(t.target.files=n.files,!(n.files.length>1)){j(t,e,a,i);var o=new CustomEvent("change",{detail:{files:n.files}});e.dispatchEvent(o)}}),!1),e.addEventListener("input",(function(t){return j(t,e,a,i)}),!1)}))}(this.el)},e.prototype.connectedCallback=function(){this.el.addEventListener("change",this.handleChange)},e.prototype.disconnectedCallback=function(){this.el.removeEventListener("change",this.handleChange)},e.prototype.render=function(){var e=this,t=this,a=t.label,n=t.name,r=t.required,s=t.accept,l=t.error,c=t.hint,d=t.file,f=t.uploadStatus,h=t.headerSize,u=t.fileContents,p=t.fileType,m=t.headless,b=t.value,g=t.readOnly,v=t.statusText,y=t.uploadedFile;b&&!this.file&&this.handleFile(b,!1);var x=this.error||this.internalError,w="".concat(c?"input-hint-message":""," ").concat(x?"input-error-message":"").trim()||null,k="file-input-target ".concat(x?"file-input-target-error":"").trim(),A=(0,i.h)("div",{key:"3e8efca0574c8f108430a51a2a7ea5a8ae17dafa",class:"thumbnail-container"},(0,i.h)("svg",{key:"50d7c7ea68af6181192edc84f999ee8e9a30a504",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"#07648d",width:"40px",height:"40px"},(0,i.h)("path",{key:"86ad1748bd645dfe8346691e2c28eb4acff006da",d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"})));l?A=(0,i.h)("div",{key:"92440eef89f475c37f64051b616906366862e254",class:"thumbnail-container"},(0,i.h)("va-icon",{key:"4e89831979f2072032b5ca38e247447647cb18c4",icon:"error",size:3,class:"thumbnail-preview thumbnail-error"})):u&&(p.startsWith("image/")?A=(0,i.h)("div",{key:"7b29fed2faf6f85401b763de2d6ba5eba89704f8",class:"thumbnail-container","aria-hidden":"true"},(0,i.h)("img",{key:"023d31cfcaa04a4e5c4b9fd37f917f65a2a01743",class:"thumbnail-preview",src:u,alt:"image"})):"application/pdf"===p&&(A=(0,i.h)("div",{key:"8fdd003cb85a48af9d7c740109571b3efa394aa5",class:"thumbnail-container","aria-hidden":"true"},(0,i.h)("object",{key:"ef47974e865159f174003b7c6c3b4d343902bab9",class:"thumbnail-preview",data:u,type:"application/pdf"}))));var z=m?"headless-selected-files-wrapper":"selected-files-wrapper",S="usa-hint"+(m?" usa-sr-only":"");return this.uploadMessage||(this.uploadMessage=this.defaultUploadMessage),(0,i.h)(i.H,{key:"96b44ab0795e3717161642e710b6b6dd9d3ba58b",class:{"has-error":!!x}},!g&&(0,i.h)("span",{key:"de069e5dd67aed4ddeaf4545d3ed8d9b653e7b08",class:{"usa-sr-only":!!m}},a&&this.renderLabelOrHeader(a,r,h)),c&&!g&&(0,i.h)("div",{key:"5c7199fa7ef90c10a948e25642781b381741f95d",class:S,id:"input-hint-message"},c),(0,i.h)("div",{key:"c9db72045b9b7e2e273ab0d36898418b5c1bf308",class:"file-input-wrapper",onDrop:this.handleDrop},(0,i.h)("input",{key:"bc4c03bff3b7388faf88cb20710e8756add90ee0",id:"fileInputField",class:"file-input",style:{visibility:"success"===this.uploadStatus||y?"hidden":"unset"},type:"file",ref:function(t){return e.fileInputRef=t},name:n,accept:s,"aria-describedby":w,onChange:this.handleChange}),"idle"===f&&!y&&(0,i.h)("div",{key:"7d1c8a9263d55a4fde3121fd18f847e8f5852903"},(0,i.h)("span",{key:"53fa3d4cb839675e4e1dad53e4157d657ce9e7b5",id:"file-input-error-alert",role:"alert"},x&&(0,i.h)(i.F,{key:"2e096625c0fd0a737b83ac8aba8fd18a42709105"},(0,i.h)("span",{key:"31147d267e77dada42de01905b44572dd43549bc",class:"usa-sr-only"},o.i.t("error")),(0,i.h)("span",{key:"78c42a70b014ca5c7bbcfb805c4a8d6b81c53e0d",class:"usa-error-message"},x))),(0,i.h)("div",{key:"81a7912d90add005d5e64b05295a2a42863aa820",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),(0,i.h)("div",{key:"f57fde03877c46977017b725708286314837e9f8",class:k},(0,i.h)("div",{key:"769603eb75b4249e68c4a27408c18beddc1be2aa",class:"file-input-box"}),(0,i.h)("div",{key:"0db8e557dba1305e51be5669e8da5f4dee34a28f",class:"file-input-instructions"},this.uploadMessage))),("idle"!==f||y)&&(0,i.h)("div",{key:"255b524bbdc614ed7e4fccf15c1d60cf7957e0be",class:z},!m&&(0,i.h)("div",{key:"daa7440fb894a006da36e431dc58e3c2fd348f7b",class:"selected-files-label"},g?"Files you uploaded":"Selected files"),(0,i.h)("div",{key:"1003b5af2f05acdb9728a3a9917a542cdd8429f8",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),(0,i.h)("va-card",{key:"1b5e91c1a025fdf3c9576d3b9f9ba26eef890914",class:"va-card"},(0,i.h)("div",{key:"b57d78d5b657105e810165c8912cba90c1eef9ee",class:"file-info-section"},A,(0,i.h)("div",{key:"919dffa1bcd597aa1f03deccf58440476c858096",class:"file-info-group vads-u-line-height--2"},(0,i.h)("span",{key:"4afe8567c8e7b4603c355be3238860b212669212",class:"file-label"},d?d.name:y.name),x&&(0,i.h)("span",{key:"e15122e51d79e458624f74b2de226cb58f25c750",id:"input-error-message",role:"alert"},(0,i.h)("span",{key:"f68eed793dbf3ff89e2a2c1f72eb3a688cdf32c4",class:"usa-sr-only"},o.i.t("error")),(0,i.h)("span",{key:"a579ebd3c406405b5794bf3e50fed81277925e81","aria-live":"polite",class:"usa-error-message"},x)),(0,i.h)("span",{key:"deb5248a5f7383caf27c883eec74d382fbd23aee",class:"file-size-label"},this.formatFileSize(d?d.size:y.size)),(0,i.h)("span",{key:"c5cd604ce89b6411877971c473411b264b97aaf7",class:"file-status-label","aria-live":"polite"},v))),(d||b||y)&&(0,i.h)("div",{key:"b8a7e0305002bf2d5a6ef9becff539d1486b4b86"},this.showSeparator&&(0,i.h)("hr",{key:"157d4a48b8af4d491b7e88d1422e716cf6d26897",class:"separator"}),(0,i.h)("div",{key:"9a6ec7a02e6762c26ba6a62aee83fb755d9dda09",class:"additional-info-slot"},(0,i.h)("slot",{key:"9b7788eff459d0ca2f9f925b54f600fec1e3dd05"})),!g&&(0,i.h)(i.F,{key:"c5918f662a7985bb59711d9b57e4455b003bdfe9"},(0,i.h)("div",{key:"5a54f1605024bf2097d9cfbdf95006c709d817d1",class:"file-button-section"},(0,i.h)("va-button-icon",{key:"e33937a36f6caa74436217add397e63739333c8c",buttonType:"change-file",onClick:this.changeFile,label:"Change file","aria-label":"change file ".concat(d?d.name:y.name)}),(0,i.h)("va-button-icon",{key:"a2d1cc377c86989915d9d6fdf478639a29525790",buttonType:"delete",onClick:this.openModal,"aria-label":"delete file ".concat(d?d.name:y.name),label:"Delete"})),(0,i.h)("va-modal",{key:"efc41bdd35f5bb519be1ea342564f5feaabdf817",modalTitle:"Delete this file?",visible:this.showModal,primaryButtonText:"Yes, remove this",secondaryButtonText:"No, keep this",onCloseEvent:this.closeModal,onPrimaryButtonClick:function(){return e.removeFile(!0)},onSecondaryButtonClick:this.closeModal},"We'll remove the uploaded document"," ",(0,i.h)("span",{key:"d7f9a7d86d5081ee64ca8af6ba72103af36ca148",class:"file-label"},d?d.name:y.name))))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{statusText:["handleValueChange"]}},enumerable:!1,configurable:!0}),e}();W.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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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{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(.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}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4064,9161],{9161:function(e,t,a){function i(e){return!Number.isNaN(parseFloat(e))}function n(e,t,a){void 0===a&&(a="slot");var i=e.shadowRoot.querySelector(a).assignedNodes();return null!==t?Array.from(i).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(i)}function o(e){return 1===e?"":"s"}function r(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(o(t)," allowed");var a;if(e.length<=t){var i=t-e.length;a="".concat(i," character").concat(o(i)," left")}else i=e.length-t,a="".concat(i," character").concat(o(i)," over limit");return a}function s(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 f},b:function(){return r},g:function(){return n},i:function(){return i},m:function(){return s},s:function(){return c}}),a(3798);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function c(e,t){var a=function(e,t){if("string"!=typeof e)return[];if(!t||!l(t))return[];var a=t.shadowRoot.querySelectorAll(e);return Array.from(a)}(e,t);return"string"!=typeof e||l(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 f(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}},4064:function(e,t,a){a.r(t),a.d(t,{va_file_input:function(){return O}});var i=a(3798),n=(a(2465),a(9161)),o=a(9425),r="usa",s="".concat(r,"-file-input"),l=".".concat(s),c="".concat(r,"-file-input__input"),d="".concat(r,"-file-input__target"),f=".".concat(c),h="".concat(r,"-file-input__box"),u="".concat(r,"-file-input__instructions"),p="".concat(r,"-file-input__preview"),m="".concat(r,"-file-input__preview-heading"),b="".concat(r,"-file-input--disabled"),v="".concat(r,"-file-input__choose"),g="".concat(r,"-file-input__accepted-files-message"),y="".concat(r,"-file-input__drag-text"),x="".concat(r,"-file-input--drag"),w="is-loading",k="has-invalid-file",A="".concat(r,"-file-input__preview-image"),S="".concat(A,"--generic"),z="".concat(A,"--pdf"),T="".concat(A,"--word"),C="".concat(A,"--video"),L="".concat(A,"--excel"),M="".concat(r,"-sr-only"),_="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",F=Boolean(!0),E="",q="",H=function(e){var t=e.charCodeAt(0);return 32===t?"-":t>=65&&t<=90?"img_".concat(e.toLowerCase()):"__000".concat(t.toString(16).slice(-4))},B=function(e){return e.hasAttribute("multiple")?"files":"file"},N=function(e){var t=e.hasAttribute("aria-disabled")||e.hasAttribute("disabled"),a=function(e){var t=document.createElement("div"),a=document.createElement("div"),i=document.createElement("div");return e.classList.remove(s),e.classList.add(c),t.classList.add(s),i.classList.add(h),a.classList.add(d),a.prepend(i),e.parentNode.insertBefore(a,e),e.parentNode.insertBefore(t,a),a.appendChild(e),t.appendChild(a),a}(e),i=function(e){var t=e.closest(l),a=B(e),i=document.createElement("div"),o="Drag ".concat(a," here or"),r="choose from folder";return E="".concat(o," ").concat(r),i.classList.add(u),i.setAttribute("aria-hidden","true"),e.setAttribute("aria-label",E),i.innerHTML=n.S.escapeHTML('<span class="'.concat(y,'">').concat(o,'</span> <span class="').concat(v,'">').concat(r,"</span>")),e.parentNode.insertBefore(i,e),(/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.querySelector(".".concat(y)).outerHTML=""),i}(e),o=function(e){var t=e.closest(l);if(!t)throw new Error("Element is missing outer ".concat(l));var a=t.querySelector(f);return{dropZoneEl:t,inputEl:a}}(e).dropZoneEl;return t?o.classList.add(b):function(e){var t=document.createElement("div"),a=B(e),i=e.closest(l),n=e.closest(".".concat(d));q="No ".concat(a," selected."),t.classList.add(M),t.setAttribute("aria-live","polite"),t.textContent=q,i.insertBefore(t,n)}(e),{instructions:i,dropTarget:a}},R=function(e,t){var a=e.querySelectorAll(".".concat(p)),i=e.querySelector(".".concat(m)),n=e.querySelector(".".concat(g));i&&(i.outerHTML=""),n&&(n.outerHTML="",e.classList.remove(k)),null!==a&&(t&&t.removeAttribute("hidden"),Array.prototype.forEach.call(a,(function(e){e.parentNode.removeChild(e)})))},j=function(e,t,a,i){!function(e,t,a,i){var n=t.getAttribute("accept");i.classList.remove(k);var o=function(e,t){var a=!1;return e.indexOf(t)>=0&&(a=!0),a};if(n){for(var r=n.split(","),s=document.createElement("div"),l=!0,c=e.target.files||e.dataTransfer.files,d=0;d<c.length;d+=1){var f=c[d];if(!l)break;for(var h=0;h<r.length;h+=1){var u=r[h];if(l=f.name.indexOf(u)>0||o(f.type,u.replace(/\*/g,""))){F=!0;break}}}l||(R(i,a),t.value="",i.insertBefore(s,t),s.textContent=t.dataset.errormessage||"This is not a valid file type.",s.classList.add(g),i.classList.add(k),F=!1,e.preventDefault(),e.stopPropagation())}}(e,t,a,i),!0===F&&function(e,t,a,i){var o=t.getAttribute("multiple")?e.target.files:[e.target.files[0]],r=i.closest(".".concat(s)).querySelector(".".concat(M)),l=[];R(i,a);for(var c=function(e){var t,r=new FileReader,s=o[e].name;l.push(s),r.onloadstart=function(){t=function(e){return"".concat(e,"-").concat(Math.floor(Date.now()/1e3))}(function(e){return e.replace(/[^a-z0-9]/g,H)}(s)),a.insertAdjacentHTML("afterend",n.S.escapeHTML('<div class="'.concat(p,'" aria-hidden="true">\n <img id="').concat(t,'" src="').concat(_,'" alt="" class="').concat(A," ").concat(w,'"/>').concat(s,"\n <div>")))},r.onloadend=function(){var e=i.querySelector("#".concat(t));s.indexOf(".pdf")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(z,'")')):s.indexOf(".doc")>0||s.indexOf(".pages")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(T,'")')):s.indexOf(".xls")>0||s.indexOf(".numbers")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(L,'")')):s.indexOf(".mov")>0||s.indexOf(".mp4")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(C,'")')):e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(_,'"; this.classList.add("').concat(S,'")')),e.classList.remove(w),e.src=r.result},o[e]&&r.readAsDataURL(o[e])},f=0;f<o.length;f+=1)c(f);0===o.length?t.setAttribute("aria-label",E):function(e,t){var a=document.createElement("div"),i=e.closest(".".concat(d)),o=i.querySelector(".".concat(u)),r="Change file",s="";1===t.length?s=n.S.escapeHTML('Selected file <span class="usa-file-input__choose">'.concat(r,"</span>")):t.length>1&&(r="Change files",s=n.S.escapeHTML("".concat(t.length,' files selected <span class="usa-file-input__choose">').concat(r,"</span>"))),o.setAttribute("hidden","true"),a.classList.add(m),a.innerHTML=s,i.insertBefore(a,o),e.setAttribute("aria-label",r)}(t,o),function(e,t,a){var i=e,n=q;1===t.length?n="You have selected the file: ".concat(a):t.length>1&&(n="You have selected ".concat(t.length," files: ").concat(a.join(", "))),setTimeout((function(){i.textContent=n}),1e3)}(r,o,l)}(e,t,a,i)},D={".txt":"text/plain",".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".odt":"application/vnd.oasis.opendocument.text",".rtf":"application/rtf",".csv":"text/csv",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".ppt":"application/vnd.ms-powerpoint",".pptx":"application/vnd.openxmlformats-officedocument.presentationml.presentation",".jpg":"image/jpeg",".jpeg":"image/jpeg",".png":"image/png",".gif":"image/gif",".bmp":"image/bmp",".webp":"image/webp",".tif":"image/tiff",".tiff":"image/tiff",".svg":"image/svg+xml",".mp3":"audio/mpeg",".wav":"audio/wav",".ogg":"audio/ogg",".m4a":"audio/mp4",".aac":"audio/aac",".mp4":"video/mp4",".avi":"video/x-msvideo",".mov":"video/quicktime",".wmv":"video/x-ms-wmv",".flv":"video/x-flv",".mkv":"video/x-matroska",".webm":"video/webm",".zip":"application/zip",".rar":"application/x-rar-compressed",".7z":"application/x-7z-compressed",".tar":"application/x-tar",".gz":"application/gzip",".json":"application/json",".xml":"application/xml",".html":"text/html",".htm":"text/html",".css":"text/css",".js":"application/javascript"},O=function(){function e(e){var t=this;(0,i.r)(this,e),this.vaChange=(0,i.c)(this,"vaChange",7),this.componentLibraryAnalytics=(0,i.c)(this,"component-library-analytics",7),this.uploadStatus="idle",this.handleChange=function(e){var a=e.target;a.files&&a.files.length>0&&t.handleFile(a.files[0]),a.value=""},this.handleDrop=function(e){e.preventDefault(),e.stopPropagation();var a=e.dataTransfer.files;a.length>0&&t.handleFile(a[0])},this.handleFile=function(e,a){if(void 0===a&&(a=!0),t.accept){var i=t.normalizeAcceptProp(t.accept);if(!t.isAcceptedFileType(e.type,i))return t.removeFile(!1),void(t.internalError="This is not a valid file type.")}if(e.size>t.maxFileSize)return t.internalError="\n We can't upload your file because it's too big. Files must be less than ".concat(t.formatFileSize(t.maxFileSize),"."),t.fileContents=null,void(t.uploadStatus="idle");t.uploadedFile=null,t.file=e,a&&t.vaChange.emit({files:[t.file]}),t.uploadStatus="success",t.internalError=null,t.generateFileContents(t.file),t.updateStatusMessage("You have selected the file: ".concat(t.file.name)),t.el.focus(),t.enableAnalytics&&t.componentLibraryAnalytics.emit({componentName:"va-file-input",action:"change",details:{label:t.label}})},this.removeFile=function(e){void 0===e&&(e=!0),t.closeModal(),t.uploadStatus="idle",t.internalError=null,e&&t.vaChange.emit({files:[]}),t.file=null,t.uploadedFile=null,t.updateStatusMessage("File removed. No file selected."),t.el.focus()},this.openModal=function(){t.el.shadowRoot.querySelector("va-modal").setAttribute("status","warning"),t.showModal=!0},this.closeModal=function(){t.showModal=!1,setTimeout((function(){t.fileInputRef.focus()}),0)},this.changeFile=function(){t.fileInputRef&&t.fileInputRef.click()},this.formatFileSize=function(e){var t=["B","KB","MB","GB","TB"];if(0===e)return"0 B";var a=Math.floor(Math.log(e)/Math.log(1024));if(0===a)return"".concat(e," ").concat(t[a]);var i=(e/Math.pow(1024,a)).toFixed(a<2?0:1);return"".concat(i," ").concat(t[a])},this.normalizeAcceptProp=function(e){return e.split(",").map((function(e){return(e=e.trim()).startsWith(".")?D[e]:e}))},this.isAcceptedFileType=function(e,t){for(var a=0,i=t;a<i.length;a++){var n=i[a];if(n===e)return!0;if(n.endsWith("/*")&&e.startsWith(n.slice(0,-1)))return!0}return!1},this.renderLabelOrHeader=function(e,t,a){var n=t?(0,i.h)("span",{class:"required"}," ",o.i.t("required")):null;if(a&&a>=1&&a<=6){var r="h".concat(a);return(0,i.h)("div",{class:"label-header"},(0,i.h)(r,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,n))}return(0,i.h)("div",{class:"label-header"},(0,i.h)("label",{htmlFor:"fileInputField",part:"label",class:"usa-label"},e,n))},this.file=void 0,this.fileContents=void 0,this.internalError=void 0,this.showModal=!1,this.showSeparator=!0,this.label=void 0,this.name=void 0,this.buttonText=void 0,this.value=void 0,this.required=!1,this.accept=void 0,this.error=void 0,this.hint=void 0,this.statusText=void 0,this.uploadMessage=null,this.enableAnalytics=!1,this.headerSize=void 0,this.headless=!1,this.readOnly=!1,this.uploadedFile=void 0,this.maxFileSize=1/0,this.percentUploaded=null}return e.prototype.handleValueChange=function(e){var t=this;setTimeout((function(){t.updateStatusMessage(e)}))},e.prototype.percentHandler=function(e){e>=100&&this.resetState()},e.prototype.resetState=function(){this.fileContents=null,this.uploadStatus="idle",this.percentUploaded=null,(0,i.f)(this.el)},e.prototype.updateStatusMessage=function(e){var t=this;setTimeout((function(){var a=t.el.shadowRoot.querySelector("#statusMessage");a&&(a.textContent=e)}),1e3)},e.prototype.generateFileContents=function(e){var t=this;if(e){var a=new FileReader;this.fileType=e.type,a.onloadend=function(){t.fileContents=a.result},this.fileType&&("application/pdf"===this.fileType||this.fileType.startsWith("image/"))&&a.readAsDataURL(e)}},e.prototype.componentWillRender=function(){var e=!!this.el.querySelector(":scope > *"),t=!(!this.value&&!this.file||this.readOnly);this.showSeparator=e||t},e.prototype.componentDidLoad=function(){!function(e){(0,n.s)(l,e).forEach((function(e){var t=N(e),a=t.instructions,i=t.dropTarget;i.addEventListener("dragover",(function(){this.classList.add(x)}),!1),i.addEventListener("dragleave",(function(){this.classList.remove(x)}),!1),i.addEventListener("drop",(function(t){t.preventDefault(),this.classList.remove(x);var n=t.dataTransfer;if(t.target.files=n.files,!(n.files.length>1)){j(t,e,a,i);var o=new CustomEvent("change",{detail:{files:n.files}});e.dispatchEvent(o)}}),!1),e.addEventListener("input",(function(t){return j(t,e,a,i)}),!1)}))}(this.el)},e.prototype.connectedCallback=function(){this.el.addEventListener("change",this.handleChange)},e.prototype.disconnectedCallback=function(){this.el.removeEventListener("change",this.handleChange)},e.prototype.getDefaultUploadMessage=function(){return(0,i.h)("span",null,"Drag a file here or"," ",(0,i.h)("span",{class:"file-input-choose-text"},"choose from folder"))},e.prototype.render=function(){var e=this,t=this,a=t.label,n=t.name,r=t.required,s=t.accept,l=t.error,c=t.hint,d=t.file,f=t.uploadStatus,h=t.uploadMessage,u=t.headerSize,p=t.fileContents,m=t.fileType,b=t.headless,v=t.value,g=t.readOnly,y=t.statusText,x=t.uploadedFile,w=t.percentUploaded;v&&!this.file&&this.handleFile(v,!1);var k=this.error||this.internalError,A="".concat(c?"input-hint-message":""," ").concat(k?"input-error-message":"").trim()||null,S="file-input-target ".concat(k?"file-input-target-error":"").trim(),z=(0,i.h)("div",{key:"9f8e203689fa7f65274910db83f9112c9cef19c9",class:"thumbnail-container"},(0,i.h)("svg",{key:"eb2928461ad5bd4f31d53743402136f827de9617",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"#07648d",width:"40px",height:"40px"},(0,i.h)("path",{key:"41df5984f061868da2f9d4a6665a440636f0ffbd",d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"})));l?z=(0,i.h)("div",{key:"381162923cb4530bd297371816ccfc39a318f43f",class:"thumbnail-container"},(0,i.h)("va-icon",{key:"3a3da39e02945a0a0880e06ba33ea66ee2e4b22b",icon:"error",size:3,class:"thumbnail-preview thumbnail-error"})):p&&(m.startsWith("image/")?z=(0,i.h)("div",{key:"d1bfc7717fc9088b2db1b20aa14985eb42c4fb5e",class:"thumbnail-container","aria-hidden":"true"},(0,i.h)("img",{key:"7ffe772b516bc71e325d57df21bd96ff38c991a2",class:"thumbnail-preview",src:p,alt:"image"})):"application/pdf"===m&&(z=(0,i.h)("div",{key:"b4cb552b8f013e694098b9d6b0f12916657562d9",class:"thumbnail-container","aria-hidden":"true"},(0,i.h)("object",{key:"aeaa42b5ac428f677864206f7ee6e0d9614e8f5b",class:"thumbnail-preview",data:p,type:"application/pdf"}))));var T=b?"headless-selected-files-wrapper":"selected-files-wrapper",C="usa-hint"+(b?" usa-sr-only":""),L=null!==w&&w<100,M="file-status-label";return L&&(M="".concat(M," uploading-status")),(0,i.h)(i.H,{key:"6c9b48b477fded6ed4354d6cda17a9229a7acf13",class:{"has-error":!!k}},!g&&(0,i.h)("span",{key:"c9d49d56d016277e124612b73d5545c0b81d7dcc",class:{"usa-sr-only":!!b}},a&&this.renderLabelOrHeader(a,r,u)),c&&!g&&(0,i.h)("div",{key:"377b5fbd3bdfb3690a4ca62321e0fc4d0b3ba9ce",class:C,id:"input-hint-message"},c),(0,i.h)("div",{key:"e96b7756754bf33b2e7b70bf2f604a0503af45ca",class:"file-input-wrapper",onDrop:this.handleDrop},(0,i.h)("input",{key:"a959904f8a3963d11bd9467ede7c05350ee521e1",id:"fileInputField",class:"file-input",style:{visibility:"success"===this.uploadStatus||x?"hidden":"unset"},type:"file",ref:function(t){return e.fileInputRef=t},name:n,accept:s,"aria-describedby":A,onChange:this.handleChange}),"idle"===f&&!x&&(0,i.h)("div",{key:"0fdf14f29b2b96d73b32f518b6b44425280a11bf"},(0,i.h)("span",{key:"da6b8276f2e20bce2d8a2a782db6a955eaca9a41",id:"file-input-error-alert",role:"alert"},k&&(0,i.h)(i.F,{key:"be5b28b5bbdce252918190b1e144d7643832acda"},(0,i.h)("span",{key:"71940d34379ef6fc82f090a83c04a7a8a51f4b18",class:"usa-sr-only"},o.i.t("error")),(0,i.h)("span",{key:"21716b6500017aa5eb70cad474df7517c6dcbfd1",class:"usa-error-message"},k))),(0,i.h)("div",{key:"5053f27dec8c14d782aad5563423fad9748d6223",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),(0,i.h)("div",{key:"45b912aaddfb6252c1def9307f2bb75f68238837",class:S},(0,i.h)("div",{key:"ea6161c7e84ac98addeaf190e8985b146ee2be89",class:"file-input-box"}),(0,i.h)("div",{key:"7ba29054f1e665e823abc5c2505f3dd6572f61ee",class:"file-input-instructions"},h||this.getDefaultUploadMessage()))),("idle"!==f||x)&&(0,i.h)("div",{key:"c2dc6962183a87cd8480f50619c9401e8bc146b9",class:T},!b&&(0,i.h)("div",{key:"70aedc0fc485a9755a9df59011b9edff09012d00",class:"selected-files-label"},g?"Files you uploaded":"Selected files"),(0,i.h)("div",{key:"2ca9e11dabf4ce8e38202ac3d2af413a43500eab",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),(0,i.h)("va-card",{key:"43be7636f45de6c82c58d7c2e90ed608adefd48c",class:"va-card"},(0,i.h)("div",{key:"d029783a2cabaed5a4b0623af860bcd97e8f1581",class:"file-info-section"},z,(0,i.h)("div",{key:"9a59e620e4abe4239ca5206b3824f10b9c3b57bc",class:"file-info-group vads-u-line-height--2"},(0,i.h)("span",{key:"fab0ec83c61ee5990ed807b753ed8c8c644813d1",class:"file-label"},d?d.name:x.name),k&&(0,i.h)("span",{key:"88b64ef06647bc2d76f589f42676d93c4056f429",id:"input-error-message",role:"alert"},(0,i.h)("span",{key:"2fecacff9dd9cffc0a47cde2b4fb86534529ec84",class:"usa-sr-only"},o.i.t("error")),(0,i.h)("span",{key:"5dc5a761ee24f6b6a9c35bae9d3b8065cc8ad5d9","aria-live":"polite",class:"usa-error-message"},k)),!L&&(0,i.h)("span",{key:"2e40a6745ed843f6bf14094a22023f16529bae07",class:"file-size-label"},this.formatFileSize(d?d.size:x.size)),(0,i.h)("span",{key:"bd8990d4b0a416aa05ba23ed191d4aec38496e54",class:M,"aria-live":"polite"},L?"Uploading...":y))),(d||v||x)&&(0,i.h)("div",{key:"6e1b33f562b177edb347cec51b6c702a1147f0e7"},this.showSeparator&&(0,i.h)("hr",{key:"8c69afe1585d3b370d362b7c96e5ad2ee2b06a09",class:"separator"}),(0,i.h)("div",{key:"645ea76fa95616b4c67a5810cb1b39f7fa2ca0e2",class:"additional-info-slot"},(0,i.h)("slot",{key:"47e3afff538273690a94ccc22b298c93a45ff7cc"})),g?null:L?(0,i.h)(i.F,null,(0,i.h)("va-progress-bar",{percent:w}),(0,i.h)("va-button-icon",{buttonType:"cancel",onClick:this.resetState.bind(this)})):(0,i.h)(i.F,null,(0,i.h)("div",{class:"file-button-section"},(0,i.h)("va-button-icon",{buttonType:"change-file",onClick:this.changeFile,label:"Change file","aria-label":"change file ".concat(d?d.name:x.name)}),(0,i.h)("va-button-icon",{buttonType:"delete",onClick:this.openModal,"aria-label":"delete file ".concat(d?d.name:x.name),label:"Delete"})),(0,i.h)("va-modal",{modalTitle:"Delete this file?",visible:this.showModal,primaryButtonText:"Yes, remove this",secondaryButtonText:"No, keep this",onCloseEvent:this.closeModal,onPrimaryButtonClick:function(){return e.removeFile(!0)},onSecondaryButtonClick:this.closeModal},"We'll remove the uploaded document"," ",(0,i.h)("span",{class:"file-label"},d?d.name:x.name))))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{statusText:["handleValueChange"],percentUploaded:["percentHandler"]}},enumerable:!1,configurable:!0}),e}();O.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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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{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}'}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 4117.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([[20,326,4117],{20:function(e,a,t){t.r(a),t.d(a,{c:function(){return o}});var r,i={exports:{}};r=i,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)){if(i.length){var s=a.apply(null,i);s&&t.push(s)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var n in i)e.call(i,n)&&i[n]&&t.push(n);else t.push(i.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var o=i.exports},326:function(e,a,t){function r(e){return!Number.isNaN(parseFloat(e))}function i(e,a){var t=e.shadowRoot.querySelector("slot").assignedNodes();return null!==a?Array.from(t).filter((function(e){return e.nodeName.toLowerCase()===a})):Array.from(t)}function o(e){return 1===e?"":"s"}function s(e,a){if(void 0===e||""===e)return"".concat(a," character").concat(o(a)," allowed");var t;if(e.length<=a){var r=a-e.length;t="".concat(r," character").concat(o(r)," left")}else r=e.length-a,t="".concat(r," character").concat(o(r)," over limit");return t}function n(e,a){return Array.from({length:a-e+1},(function(a,t){return e+t}))}t.r(a),t.d(a,{S:function(){return d},a:function(){return c},b:function(){return s},g:function(){return i},i:function(){return r},m:function(){return n},s:function(){return u}}),t(3798);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function u(e,a){var t=function(e,a){if("string"!=typeof e)return[];if(!a||!l(a))return[];var t=a.shadowRoot.querySelectorAll(e);return Array.from(t)}(e,a);return"string"!=typeof e||l(a)&&a.matches(e)&&t.push(a),t}var d={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return d._entities[e]},escapeHTML:function(e){for(var a="",t=0;t<e.length;t++)a+=e[t],t+1<arguments.length&&(a+=String(arguments[t+1]||"").replace(d._entity,d.getEntity));return a}};function c(e){var a;return(a="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&a<=6?"h".concat(a):null}},4117:function(e,a,t){t.r(a),t.d(a,{va_textarea:function(){return n}});var r=t(3798),i=t(20),o=(t(2465),t(326)),s=t(9425),n=function(){function e(e){var a=this;(0,r.r)(this,e),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.handleInput=function(e){var t=e.target;a.value=t.value},this.handleBlur=function(){a.enableAnalytics&&a.value&&a.componentLibraryAnalytics.emit({componentName:"va-textarea",action:"blur",details:{label:a.label,value:a.value}})},this.label=void 0,this.error=void 0,this.placeholder=void 0,this.name=void 0,this.required=!1,this.hint=void 0,this.messageAriaDescribedby=void 0,this.maxlength=void 0,this.value=void 0,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0,this.charcount=!1}return e.prototype.connectedCallback=function(){var e=this;s.i.on("languageChanged",(function(){(0,r.f)(e.el)}))},e.prototype.disconnectedCallback=function(){s.i.off("languageChanged")},e.prototype.getMaxlength=function(){if(!(this.maxlength<=0))return this.maxlength},e.prototype.render=function(){var e=this,a=e.label,t=e.error,n=e.placeholder,l=e.name,u=e.required,d=e.value,c=e.hint,h=e.charcount,f=e.messageAriaDescribedby,b=e.useFormsPattern,m=e.formHeadingLevel,p=e.headerAriaDescribedby,g=e.formHeading,y=this.getMaxlength(),v="".concat(t?"input-error-message":""," ").concat(h&&y?"charcount-message":""," ").concat(f?"input-message":"").trim()||null,x="".concat(b&&g?"form-question":""," ").concat(b?"form-description":""," ").concat(b&&a?"input-label":"").trim()||null,w=(0,o.a)(this.labelHeaderLevel),k=p?"header-message":null,_=h&&(null==d?void 0:d.length)>y,z=(0,i.c)({"usa-label":!0,"usa-label--error":t}),S=(0,i.c)({"usa-textarea":!0,"usa-input--error":t}),T=(0,i.c)({"usa-hint":!0,"usa-character-count__status":h,"usa-character-count__status--invalid":h&&y&&(null==d?void 0:d.length)>y}),q=null;if("single"===b||"multiple"===b){var A=(0,o.a)(m);q=(0,r.h)(r.F,{key:"226aafdb8c559d042173d03e5c02c266b7b6caec"},g&&(0,r.h)(A,{key:"22490985ae870842628b9d11f725df0265a520c8",id:"form-question",part:"form-header"},g),(0,r.h)("div",{key:"1fcffcfa4ca047edfa4a157ddca2f786d564eba1",id:"form-description"},(0,r.h)("slot",{key:"cf0838abed58667f15b424e7edf3a31b55f4ff31",name:"form-description"})))}var N=(0,r.h)("label",{key:"262c57280fc982f9f33247261af3e21fd0fe5fdf",htmlFor:"input-type-textarea",id:"input-label",class:z,part:"label"},a,"multiple"===b&&(0,r.h)("span",{key:"e450982e520996b8a648fe5cfba3b2b8380827a6",id:"header-message",class:"usa-sr-only"},a),p&&(0,r.h)("span",{key:"6487065d8e007f42c0120cb1201460a38b416f4f",id:"header-message",class:"usa-sr-only"},p),u&&(0,r.h)("span",{key:"60a0d482518506073fcc344fc7c0db48a5c0bb40",class:"usa-label--required"}," ",s.i.t("required")),c&&(0,r.h)("div",{key:"827c2ea9f90eabbb5b8d3f45feb8f9bccb90d342",class:"usa-hint"},c));return(0,r.h)(r.H,{key:"c2d35b9a2ef240c53be13d1ed75d2de90649f60b"},q,(0,r.h)("div",{key:"f12498b515755f647eab5587d635f5f06c9ef77e",class:"input-wrap"},a&&w?(0,r.h)(w,{part:"header","aria-describedby":k},N):(0,r.h)(r.F,null,N),(0,r.h)("slot",{key:"8e9fc75b1217b7f4b506fe2fc79b57e6ae0a8a82"}),(0,r.h)("span",{key:"2136df4d5630cc5d398f0b79f8069341ecf5061e",id:"input-error-message",role:"alert"},t&&(0,r.h)(r.F,{key:"b870adf203e13af0e7fb4a85de54e6f2a97ddcf3"},(0,r.h)("span",{key:"b62683be68fbbd11b4907342506321cb2092a8f1",class:"usa-sr-only"},s.i.t("error")),(0,r.h)("span",{key:"4b3988313ea5d7283a6d4cea6e36786fad0edf03",class:"usa-error-message"},t))),(0,r.h)("textarea",{key:"d7f302507a871028df98c8c021abc95b14db12bc",class:S,"aria-describedby":v,"aria-invalid":t||_?"true":"false","aria-labelledby":x,onInput:this.handleInput,onBlur:this.handleBlur,id:"input-type-textarea",placeholder:n,name:l,maxLength:h?void 0:y,value:d,part:"input-type-textarea"}),!h&&y&&(null==d?void 0:d.length)>=y&&(0,r.h)("span",{key:"a050891f2a5c9655f38dae8a776f6d221ae6eb2e",class:T,"aria-live":"polite"},s.i.t("max-chars",{length:y})),h&&y&&(0,r.h)("span",{key:"07dc235150db380cf4e10ae806df0ade25ddac41",id:"charcount-message",class:T,"aria-live":"polite"},(0,o.b)(d,y)),f&&(0,r.h)("span",{key:"502db581124172cfaac4c34ae2dd84b7113cb677",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}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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-textarea,.usa-hint,.usa-input{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-textarea,.usa-input{border-width:1px;border-color:#565c65;border-style:solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;margin-top:0.5rem;max-width:30rem;padding:0.5rem;width:100%}.usa-sr-only{position:absolute;left:-999em;right:auto}.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-input:disabled,.usa-input[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#454545}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:0;color:GrayText}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:2px solid GrayText}}.usa-input--error{border-width:0.25rem;border-color:#b50909;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-input--success{border-width:0.25rem;border-color:#00a91c;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:0;color:GrayText}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:2px solid GrayText}}.usa-textarea{height:10rem}.usa-character-count__status{display:inline-block;padding-top:0.25rem}.usa-character-count__status.usa-character-count__status--invalid{color:#b50909;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{color:var(--vads-color-base);display:block;resize:both;font-family:var(--font-source-sans)}:host(:focus){outline:none !important}.usa-hint{display:block}h1 .usa-label,h2 .usa-label,h3 .usa-label,h4 .usa-label,h5 .usa-label,h6 .usa-label{font-family:inherit;font-size:inherit;font-weight:inherit}h1 .usa-label .usa-label--required,h2 .usa-label .usa-label--required,h3 .usa-label .usa-label--required,h4 .usa-label .usa-label--required,h5 .usa-label .usa-label--required,h6 .usa-label .usa-label--required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[20,4117,9161],{20:function(e,a,t){t.r(a),t.d(a,{c:function(){return o}});var r,i={exports:{}};r=i,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)){if(i.length){var s=a.apply(null,i);s&&t.push(s)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var n in i)e.call(i,n)&&i[n]&&t.push(n);else t.push(i.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var o=i.exports},9161:function(e,a,t){function r(e){return!Number.isNaN(parseFloat(e))}function i(e,a,t){void 0===t&&(t="slot");var r=e.shadowRoot.querySelector(t).assignedNodes();return null!==a?Array.from(r).filter((function(e){return e.nodeName.toLowerCase()===a})):Array.from(r)}function o(e){return 1===e?"":"s"}function s(e,a){if(void 0===e||""===e)return"".concat(a," character").concat(o(a)," allowed");var t;if(e.length<=a){var r=a-e.length;t="".concat(r," character").concat(o(r)," left")}else r=e.length-a,t="".concat(r," character").concat(o(r)," over limit");return t}function n(e,a){return Array.from({length:a-e+1},(function(a,t){return e+t}))}t.r(a),t.d(a,{S:function(){return c},a:function(){return d},b:function(){return s},g:function(){return i},i:function(){return r},m:function(){return n},s:function(){return u}}),t(3798);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function u(e,a){var t=function(e,a){if("string"!=typeof e)return[];if(!a||!l(a))return[];var t=a.shadowRoot.querySelectorAll(e);return Array.from(t)}(e,a);return"string"!=typeof e||l(a)&&a.matches(e)&&t.push(a),t}var c={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return c._entities[e]},escapeHTML:function(e){for(var a="",t=0;t<e.length;t++)a+=e[t],t+1<arguments.length&&(a+=String(arguments[t+1]||"").replace(c._entity,c.getEntity));return a}};function d(e){var a;return(a="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&a<=6?"h".concat(a):null}},4117:function(e,a,t){t.r(a),t.d(a,{va_textarea:function(){return n}});var r=t(3798),i=t(20),o=(t(2465),t(9161)),s=t(9425),n=function(){function e(e){var a=this;(0,r.r)(this,e),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.handleInput=function(e){var t=e.target;a.value=t.value},this.handleBlur=function(){a.enableAnalytics&&a.value&&a.componentLibraryAnalytics.emit({componentName:"va-textarea",action:"blur",details:{label:a.label,value:a.value}})},this.label=void 0,this.error=void 0,this.placeholder=void 0,this.name=void 0,this.required=!1,this.hint=void 0,this.messageAriaDescribedby=void 0,this.maxlength=void 0,this.value=void 0,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0,this.charcount=!1}return e.prototype.connectedCallback=function(){var e=this;s.i.on("languageChanged",(function(){(0,r.f)(e.el)}))},e.prototype.disconnectedCallback=function(){s.i.off("languageChanged")},e.prototype.getMaxlength=function(){if(!(this.maxlength<=0))return this.maxlength},e.prototype.render=function(){var e=this,a=e.label,t=e.error,n=e.placeholder,l=e.name,u=e.required,c=e.value,d=e.hint,h=e.charcount,f=e.messageAriaDescribedby,b=e.useFormsPattern,m=e.formHeadingLevel,p=e.headerAriaDescribedby,g=e.formHeading,y=this.getMaxlength(),v="".concat(t?"input-error-message":""," ").concat(h&&y?"charcount-message":""," ").concat(f?"input-message":"").trim()||null,x="".concat(b&&g?"form-question":""," ").concat(b?"form-description":""," ").concat(b&&a?"input-label":"").trim()||null,w=(0,o.a)(this.labelHeaderLevel),k=p?"header-message":null,_=h&&(null==c?void 0:c.length)>y,z=(0,i.c)({"usa-label":!0,"usa-label--error":t}),S=(0,i.c)({"usa-textarea":!0,"usa-input--error":t}),T=(0,i.c)({"usa-hint":!0,"usa-character-count__status":h,"usa-character-count__status--invalid":h&&y&&(null==c?void 0:c.length)>y}),q=null;if("single"===b||"multiple"===b){var A=(0,o.a)(m);q=(0,r.h)(r.F,{key:"5235d9d0aeb38ddbe5116feace39f60a6147561d"},g&&(0,r.h)(A,{key:"47c6d7a1068acb16f76ae300af4b8c4c205d919b",id:"form-question",part:"form-header"},g),(0,r.h)("div",{key:"ef99c40c952fc30f6e856eec93217673996dc860",id:"form-description"},(0,r.h)("slot",{key:"6787f2b67a5653d927d345447e244eaeefbec48e",name:"form-description"})))}var N=(0,r.h)("label",{key:"4f579d9e6ea4bb09bc72a467a4ec1a37537992d2",htmlFor:"input-type-textarea",id:"input-label",class:z,part:"label"},a,"multiple"===b&&(0,r.h)("span",{key:"a1d03a151abf4f9e30b63042b12ab2869a12e084",id:"header-message",class:"usa-sr-only"},a),p&&(0,r.h)("span",{key:"c8c4804f70dd0aad865504c39f5d7b99e8f55356",id:"header-message",class:"usa-sr-only"},p),u&&(0,r.h)("span",{key:"92b4ef6f7f6bc700982c6dd132cee688a2a96070",class:"usa-label--required"}," ",s.i.t("required")),d&&(0,r.h)("div",{key:"664b9711204fe0d59d58ec3b9eb7bcb9e1590fc6",class:"usa-hint"},d));return(0,r.h)(r.H,{key:"68792e446d005b0dc69e569f1390f5cf073271a4"},q,(0,r.h)("div",{key:"de79b530527c972305b43af8c89367486af37fda",class:"input-wrap"},a&&w?(0,r.h)(w,{part:"header","aria-describedby":k},N):(0,r.h)(r.F,null,N),(0,r.h)("slot",{key:"2f5a1ab2534ac153726617bb3074a4738348fb81"}),(0,r.h)("span",{key:"f4c231c50ac8b1232c1e013b1dd3dccdb4e9ebd6",id:"input-error-message",role:"alert"},t&&(0,r.h)(r.F,{key:"e01fe8c44fe3c7f92e607299eedb7c7e1d4021bd"},(0,r.h)("span",{key:"313e779f2b84785d686529a521b0be3ec1aef2ff",class:"usa-sr-only"},s.i.t("error")),(0,r.h)("span",{key:"65b08a00ee68bebe74b50ec96e41362b8905fcd9",class:"usa-error-message"},t))),(0,r.h)("textarea",{key:"d01067c9914aea44b1374a6c0f0c0d46c425dd5a",class:S,"aria-describedby":v,"aria-invalid":t||_?"true":"false","aria-labelledby":x,onInput:this.handleInput,onBlur:this.handleBlur,id:"input-type-textarea",placeholder:n,name:l,maxLength:h?void 0:y,value:c,part:"input-type-textarea"}),!h&&y&&(null==c?void 0:c.length)>=y&&(0,r.h)("span",{key:"8c6408877e1e059c349bca785b996dc47ea4f9a4",class:T,"aria-live":"polite"},s.i.t("max-chars",{length:y})),h&&y&&(0,r.h)("span",{key:"f5a8801ef70381b4c062fb9a8b06e7c8327bdeea",id:"charcount-message",class:T,"aria-live":"polite"},(0,o.b)(c,y)),f&&(0,r.h)("span",{key:"ace5b8c640626233565086c4ee640ab032510ca5",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}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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-textarea,.usa-hint,.usa-input{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-textarea,.usa-input{border-width:1px;border-color:#565c65;border-style:solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;margin-top:0.5rem;max-width:30rem;padding:0.5rem;width:100%}.usa-sr-only{position:absolute;left:-999em;right:auto}.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-input:disabled,.usa-input[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#454545}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:0;color:GrayText}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:2px solid GrayText}}.usa-input--error{border-width:0.25rem;border-color:#b50909;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-input--success{border-width:0.25rem;border-color:#00a91c;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:0;color:GrayText}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:2px solid GrayText}}.usa-textarea{height:10rem}.usa-character-count__status{display:inline-block;padding-top:0.25rem}.usa-character-count__status.usa-character-count__status--invalid{color:#b50909;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{color:var(--vads-color-base);display:block;resize:both;font-family:var(--font-source-sans)}:host(:focus){outline:none !important}.usa-hint{display:block}h1 .usa-label,h2 .usa-label,h3 .usa-label,h4 .usa-label,h5 .usa-label,h6 .usa-label{font-family:inherit;font-size:inherit;font-weight:inherit}h1 .usa-label .usa-label--required,h2 .usa-label .usa-label--required,h3 .usa-label .usa-label--required,h4 .usa-label .usa-label--required,h5 .usa-label .usa-label--required,h6 .usa-label .usa-label--required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4140],{4140: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(3798),o=a(2465),n=a(9425),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:"95dffb293057e7e690f20e4c74c0e450df53dfc9"},(0,i.h)("div",{key:"834c2522557996f2f70e5beca9df7a378365fca5",class:"va-crisis-line-container"},(0,i.h)("button",{key:"62f6f52a14122f5127ced40a0948352a2e4dbc11",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:"26272563b53c78f7936cd850d00042d19fb131a7",class:"va-crisis-line-inner"},(0,i.h)("span",{key:"212c397313a3dd72aa2881fe124a6362800faa26",class:"va-crisis-line-icon","aria-hidden":"true"}),(0,i.h)("span",{key:"9018a9c933f8c0b5893f8c03ff263640cc439901",class:"va-crisis-line-text"},"Talk to the ",(0,i.h)("strong",{key:"1dc7c2d284612291ea2e188cdc551b0a5c4cb92c"},"Veterans Crisis Line")," now"),(0,i.h)("va-icon",{key:"e8a3c4dbb7060817ad88478a523a2c35839af3ad",class:"va-icon__right-arrow",icon:"navigate_next",size:3})))),(0,i.h)("va-modal",{key:"564e427efe86050f6818d1a4e386c65785f4ce93",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:"53c7e713765f8c26993a5e39f641d79f8a6c0044"},"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:"9e1c10998509af5a615f8f8139ff2d80fdf6286a",class:"va-crisis-panel-list"},(0,i.h)("li",{key:"ad46e442d2033480d646380916d2e506ff6c3bd1"},(0,i.h)("va-icon",{key:"3d4ed1ff8931078c4a9e23d2ee32909097ed8060",class:"va-clm__icon",icon:"phone",size:3}),(0,i.h)("span",{key:"6b6c4630f7a6e07c0a9a670e85e042e77e375704"},"Call"," ",(0,i.h)("strong",{key:"20b6b88eb6115afd4bef8afc1f3c181b554ca934"},(0,i.h)("va-telephone",{key:"72b3399b3aad5c8f511f566c20259494633a3755",contact:"988"})," and select 1"))),(0,i.h)("li",{key:"a73f35551aefc6942fe8100d64c3a26c6337c441"},(0,i.h)("va-icon",{key:"a3a85f42c568196c49af8cf4f687a7d78553a0e4",icon:"phone_iphone",class:"va-clm__icon",size:3}),(0,i.h)("span",{key:"7f039210fd8c98fc91b2889e6901d11731b0231e"},"Text ",(0,i.h)("strong",{key:"035c41f8a9242b10fc9350d50e23b506932fb789"},(0,i.h)("va-telephone",{key:"3cbb424c8867f0f1e8a315720cf560b1cab71e07",sms:!0,contact:"838255"})))),(0,i.h)("li",{key:"4382af6e5b9855cb89df33b0c72fc78cc88055da"},(0,i.h)("va-icon",{key:"3d05064ca0411b9eea940a8d823fa4ffee4c5af0",icon:"chat",class:"va-clm__icon",size:3}),(0,i.h)("a",{key:"331d4f25a702b81c60b15db7cb287eacea62d1e0",class:"no-external-icon",href:"https://www.veteranscrisisline.net/get-help-now/chat/"},"Start a confidential chat")),(0,i.h)("li",{key:"a02a2db4b7aa09db25bd8d7f95f678d6679f047e"},(0,i.h)("va-icon",{key:"518c2dd6678807e6dd25477872c2850d409546fb",icon:"tty",class:"va-clm__icon",size:3}),(0,i.h)("p",{key:"447ae6f44ddb0ef334e9f332a742f62e8e11d948"},"Call TTY if you have hearing loss"," ",(0,i.h)("strong",{key:"0664bf4a0525db330e2d843025ea0a1f5fd78129"},(0,i.h)("va-telephone",{key:"39322f74070c6ac938dd218af58e79f2ba9b3ccf",tty:!0,contact:o.C.CRISIS_TTY}))))),(0,i.h)("p",{key:"79cc0588532e26567f2ee4481ecd731243ed341c"},"Get more resources at"," ",(0,i.h)("a",{key:"0088a6788b7cfb6fc05baa2653f3f973c3cba72f",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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.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:"07e5a79c57eb8e83e8a0d974167c8b591cc5e1f9"},(0,i.h)("div",{key:"f3ecd6032517537a80119b64644f4b867e87b984",class:"banner"},(0,i.h)("div",{key:"87265769bbc34549d1c0d848a7bcdfb40fedc869",class:"accordion"},(0,i.h)("div",{key:"7a9cf35a0e4838f3c1929f58cb9ff0871aa518fc",id:"header"},(0,i.h)("div",{key:"238c56ff0ad627e4ae504ce555fe42a370284a80",class:"inner"},(0,i.h)("div",{key:"c884dbdfa22b8d2b77da898c8d1d5bc18450d6a4",class:"grid-col-auto"},(0,i.h)("img",{key:"3f8cb2dc6ab8f166690f997e0bd116e69b7e58a1",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:"b75636a4910fc85cd80f5923fab81be0b92c47ad",class:"grid-col-fill","aria-hidden":"true"},(0,i.h)("p",{key:"d119200a531fa462cb3daaa2c816dd739add7284",class:"header-text"},n.i.t("gov-site-label")),(0,i.h)("p",{key:"c8eadec9f21c070ccaa7ff1f24470107a8ae3935",class:"header-action"},n.i.t("gov-site-button"))),(0,i.h)("button",{key:"e69f6c38f5aa9e90f244ecdf1b3939ba901e80fb",onClick:this.handleClick,type:"button","aria-expanded":"false","aria-controls":"official-gov-banner"},(0,i.h)("span",{key:"b50502c4324fc209a58a4b7151b648563318d155",class:"button-text"},n.i.t("gov-site-button"))))),(0,i.h)("div",{key:"9f243f33c499f23bc22129180d41238437842eeb",class:"content",id:"official-gov-banner",hidden:!0},(0,i.h)("div",{key:"6f4d937c83eb2961d2489ab50f396ffea4aab07e",class:"grid-row"},(0,i.h)("div",{key:"fd012b2cce92ffb8aeeb45445685b6d2c59fa360",class:"col"},(0,i.h)("img",{key:"ed551997c3a6c18bd9750a9526a8e189e287931b",src:"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzIgMGMxNy42NzMgMCAzMiAxNC4zMjcgMzIgMzJzLTE0LjMyNyAzMi0zMiAzMi0zMi0xNC4zMjctMzItMzIgMTQuMzI3LTMyIDMyLTMyem0wIDEuMjA4Yy0xNy4wMDYgMC0zMC43OTIgMTMuNzg2LTMwLjc5MiAzMC43OTJzMTMuNzg2IDMwLjc5MiAzMC43OTIgMzAuNzkyIDMwLjc5Mi0xMy43ODYgMzAuNzkyLTMwLjc5Mi0xMy43ODYtMzAuNzkyLTMwLjc5Mi0zMC43OTJ6bTAgMTguODg2YTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1IDcuMjQ1djMuMTAzaC41MmMuODYgMCAxLjU1Ny42OTggMS41NTcgMS41NTh2OS4zMjJjMCAuODYtLjY5NyAxLjU1OC0xLjU1NyAxLjU1OGgtMTUuNTNjLS44NiAwLTEuNTU3LS42OTctMS41NTctMS41NTh2LTkuMzIyYzAtLjg2LjY5Ny0xLjU1OCAxLjU1Ny0xLjU1OGguNTJ2LTMuMTAyYTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1LTcuMjQ2em0wIDMuMTAzYTQuMTQyIDQuMTQyIDAgMCAwIC00LjE0MiA0LjE0MnYzLjEwM2g4LjI4NHYtMy4xMDJhNC4xNDIgNC4xNDIgMCAwIDAgLTQuMTQyLTQuMTQzeiIgZmlsbD0iIzcxOWYyYSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",role:"presentation",alt:""}),(0,i.h)("div",{key:"8f4da5e8a18f4a46b32ecb2863e08db006378e85",class:"media-block"},(0,i.h)("p",{key:"3cf144c8fef6da0580790a6440b6f4b2c2cbfb18"},(0,i.h)("strong",{key:"c3a4cd4714dc089bcfbaac4405ccb915e2abf41f"},n.i.t("gov-site-website",{tld:e})),(0,i.h)("br",{key:"cc26e8ec260c86141128a98eeec5538f30aa41ef"}),(0,i.h)("span",{key:"b1292fe985635747762ce2b22e39660375943d61",class:"gov-site-explanation-text"},this.govSiteExplanationText())))),(0,i.h)("div",{key:"8514fe42bb251468768e4cf0c1c723c229b37bb1",class:"col"},(0,i.h)("img",{key:"6b01797ed8ea1a7c861b1c5b8932045cfa6290c7",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5pY29uLWRvdC1nb3Y8L3RpdGxlPjxwYXRoIGZpbGw9IiMyMzc4QzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMyIDBjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyIDAgMTcuNjczLTE0LjMyNyAzMi0zMiAzMkMxNC4zMjcgNjQgMCA0OS42NzMgMCAzMiAwIDE0LjMyNyAxNC4zMjcgMCAzMiAwem0wIDEuMjA4QzE0Ljk5NCAxLjIwOCAxLjIwOCAxNC45OTQgMS4yMDggMzJTMTQuOTk0IDYyLjc5MiAzMiA2Mi43OTIgNjIuNzkyIDQ5LjAwNiA2Mi43OTIgMzIgNDkuMDA2IDEuMjA4IDMyIDEuMjA4em0xMC41OSAzOC44NThhLjg1Ny44NTcgMCAwIDEgLjg4Mi44MjJ2MS42NDJIMTguODg2di0xLjY0MmEuODU3Ljg1NyAwIDAgMSAuODgyLS44MjJINDIuNTl6TTI1LjQ0MyAyNy43NzR2OS44MjloMS42NDJ2LTkuODNoMy4yNzN2OS44M0gzMnYtOS44M2gzLjI3MnY5LjgzaDEuNjQzdi05LjgzaDMuMjcydjkuODNoLjc2YS44NTcuODU3IDAgMCAxIC44ODIuODIxdi44MjFoLTIxLjN2LS44MDlhLjg1Ny44NTcgMCAwIDEgLjg4LS44MmguNzYydi05Ljg0MmgzLjI3MnptNS43MzYtOC4xODhsMTIuMjkzIDQuOTE1djEuNjQyaC0xLjYzYS44NTcuODU3IDAgMCAxLS44ODIuODIySDIxLjQxYS44NTcuODU3IDAgMCAxLS44ODItLjgyMmgtMS42NDJ2LTEuNjQybDEyLjI5My00LjkxNXoiLz48L3N2Zz4=",role:"presentation",alt:""}),(0,i.h)("div",{key:"1d249897c57f46f67c37c1fec6999cc73b76535d",class:"media-block"},(0,i.h)("p",{key:"3a259371d9b4edaf2ba1a4d7a40d9daf938681d2"},(0,i.h)("strong",{key:"76e2bac09b7fcae4d400239a1fcd520d5a4d445c"},n.i.t("gov-site-https",{tld:e})),(0,i.h)("br",{key:"672b2360bacd0fe710dcc7f3d3b54c50a6890d03"}),(0,i.h)("span",{key:"ba419dd39a681fb5591569ee01e937190b7e35ed",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([[4140],{4140: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(3798),o=a(2465),n=a(9425),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:"95dffb293057e7e690f20e4c74c0e450df53dfc9"},(0,i.h)("div",{key:"834c2522557996f2f70e5beca9df7a378365fca5",class:"va-crisis-line-container"},(0,i.h)("button",{key:"62f6f52a14122f5127ced40a0948352a2e4dbc11",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:"26272563b53c78f7936cd850d00042d19fb131a7",class:"va-crisis-line-inner"},(0,i.h)("span",{key:"212c397313a3dd72aa2881fe124a6362800faa26",class:"va-crisis-line-icon","aria-hidden":"true"}),(0,i.h)("span",{key:"9018a9c933f8c0b5893f8c03ff263640cc439901",class:"va-crisis-line-text"},"Talk to the ",(0,i.h)("strong",{key:"1dc7c2d284612291ea2e188cdc551b0a5c4cb92c"},"Veterans Crisis Line")," now"),(0,i.h)("va-icon",{key:"e8a3c4dbb7060817ad88478a523a2c35839af3ad",class:"va-icon__right-arrow",icon:"navigate_next",size:3})))),(0,i.h)("va-modal",{key:"564e427efe86050f6818d1a4e386c65785f4ce93",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:"53c7e713765f8c26993a5e39f641d79f8a6c0044"},"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:"9e1c10998509af5a615f8f8139ff2d80fdf6286a",class:"va-crisis-panel-list"},(0,i.h)("li",{key:"ad46e442d2033480d646380916d2e506ff6c3bd1"},(0,i.h)("va-icon",{key:"3d4ed1ff8931078c4a9e23d2ee32909097ed8060",class:"va-clm__icon",icon:"phone",size:3}),(0,i.h)("span",{key:"6b6c4630f7a6e07c0a9a670e85e042e77e375704"},"Call"," ",(0,i.h)("strong",{key:"20b6b88eb6115afd4bef8afc1f3c181b554ca934"},(0,i.h)("va-telephone",{key:"72b3399b3aad5c8f511f566c20259494633a3755",contact:"988"})," and select 1"))),(0,i.h)("li",{key:"a73f35551aefc6942fe8100d64c3a26c6337c441"},(0,i.h)("va-icon",{key:"a3a85f42c568196c49af8cf4f687a7d78553a0e4",icon:"phone_iphone",class:"va-clm__icon",size:3}),(0,i.h)("span",{key:"7f039210fd8c98fc91b2889e6901d11731b0231e"},"Text ",(0,i.h)("strong",{key:"035c41f8a9242b10fc9350d50e23b506932fb789"},(0,i.h)("va-telephone",{key:"3cbb424c8867f0f1e8a315720cf560b1cab71e07",sms:!0,contact:"838255"})))),(0,i.h)("li",{key:"4382af6e5b9855cb89df33b0c72fc78cc88055da"},(0,i.h)("va-icon",{key:"3d05064ca0411b9eea940a8d823fa4ffee4c5af0",icon:"chat",class:"va-clm__icon",size:3}),(0,i.h)("a",{key:"331d4f25a702b81c60b15db7cb287eacea62d1e0",class:"no-external-icon",href:"https://www.veteranscrisisline.net/get-help-now/chat/"},"Start a confidential chat")),(0,i.h)("li",{key:"a02a2db4b7aa09db25bd8d7f95f678d6679f047e"},(0,i.h)("va-icon",{key:"518c2dd6678807e6dd25477872c2850d409546fb",icon:"tty",class:"va-clm__icon",size:3}),(0,i.h)("p",{key:"447ae6f44ddb0ef334e9f332a742f62e8e11d948"},"Call TTY if you have hearing loss"," ",(0,i.h)("strong",{key:"0664bf4a0525db330e2d843025ea0a1f5fd78129"},(0,i.h)("va-telephone",{key:"39322f74070c6ac938dd218af58e79f2ba9b3ccf",tty:!0,contact:o.C.CRISIS_TTY}))))),(0,i.h)("p",{key:"79cc0588532e26567f2ee4481ecd731243ed341c"},"Get more resources at"," ",(0,i.h)("a",{key:"0088a6788b7cfb6fc05baa2653f3f973c3cba72f",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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.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:"ad5147195b23d5c65a7bbe183fa564070bc3c8b0"},(0,i.h)("div",{key:"8ab84bcd7bdb27b91429d4dfd0d0b1d7b546befa",class:"banner"},(0,i.h)("div",{key:"8c603fbfdc8d1645409175d5b27e12900d7400b8",class:"accordion"},(0,i.h)("div",{key:"985ee7530d1cabca1a128aa3cbc1b2cb8c8685fe",id:"header"},(0,i.h)("div",{key:"0070e1937f3f72677d5f0fc4141805fe4b4846f2",class:"inner"},(0,i.h)("div",{key:"02bafaeceaaea88bbe035a467920d1d372b6a3eb",class:"grid-col-auto"},(0,i.h)("img",{key:"7ac44df0e9b75a381d033a4856e1b07d9970094e",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:"0b15d926eb5633bcf34e08de04f357f835ff1695",class:"grid-col-fill","aria-hidden":"true"},(0,i.h)("p",{key:"0e162de7147745b503429ca93d78c5106c485e93",class:"header-text"},n.i.t("gov-site-label")),(0,i.h)("p",{key:"f9d0a443dc228ef30b2ffbe96cbefc19695630f3",class:"header-action"},n.i.t("gov-site-button"))),(0,i.h)("button",{key:"fad0c9054432c4ff4daca394ccfea08c92c78729",onClick:this.handleClick,type:"button","aria-expanded":"false","aria-controls":"official-gov-banner"},(0,i.h)("span",{key:"b17e57c13853fe5c6b29af0e00011336816d7664",class:"button-text"},n.i.t("gov-site-button"))))),(0,i.h)("div",{key:"fe401cb12a82e6be4bbbb06bce8ff7998cf88617",class:"content",id:"official-gov-banner",hidden:!0},(0,i.h)("div",{key:"3e9ca144ce8ea3d74f322aab26de612551cb16b3",class:"grid-row"},(0,i.h)("div",{key:"5d71802263151ac25ba741793162608316d66d39",class:"col"},(0,i.h)("img",{key:"b1e99dc530492bc9b6c02d76af55a7be3fb61965",src:"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzIgMGMxNy42NzMgMCAzMiAxNC4zMjcgMzIgMzJzLTE0LjMyNyAzMi0zMiAzMi0zMi0xNC4zMjctMzItMzIgMTQuMzI3LTMyIDMyLTMyem0wIDEuMjA4Yy0xNy4wMDYgMC0zMC43OTIgMTMuNzg2LTMwLjc5MiAzMC43OTJzMTMuNzg2IDMwLjc5MiAzMC43OTIgMzAuNzkyIDMwLjc5Mi0xMy43ODYgMzAuNzkyLTMwLjc5Mi0xMy43ODYtMzAuNzkyLTMwLjc5Mi0zMC43OTJ6bTAgMTguODg2YTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1IDcuMjQ1djMuMTAzaC41MmMuODYgMCAxLjU1Ny42OTggMS41NTcgMS41NTh2OS4zMjJjMCAuODYtLjY5NyAxLjU1OC0xLjU1NyAxLjU1OGgtMTUuNTNjLS44NiAwLTEuNTU3LS42OTctMS41NTctMS41NTh2LTkuMzIyYzAtLjg2LjY5Ny0xLjU1OCAxLjU1Ny0xLjU1OGguNTJ2LTMuMTAyYTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1LTcuMjQ2em0wIDMuMTAzYTQuMTQyIDQuMTQyIDAgMCAwIC00LjE0MiA0LjE0MnYzLjEwM2g4LjI4NHYtMy4xMDJhNC4xNDIgNC4xNDIgMCAwIDAgLTQuMTQyLTQuMTQzeiIgZmlsbD0iIzcxOWYyYSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",role:"presentation",alt:""}),(0,i.h)("div",{key:"3172c686280ca5e17450c7e396b13e4328974e35",class:"media-block"},(0,i.h)("p",{key:"cf5d4bffb8a664b2c20325162910106a93e99531"},(0,i.h)("strong",{key:"e55c2e04b94a0b05d20c9e8ee46269db763d46bf"},n.i.t("gov-site-website",{tld:e})),(0,i.h)("br",{key:"5ddf6dadeb6b0bdbe33db5a1c4279110aa46cf55"}),(0,i.h)("span",{key:"79bcfd4f32bcb8217727360b95d1f49cbab15f6f",class:"gov-site-explanation-text"},this.govSiteExplanationText())))),(0,i.h)("div",{key:"e3651b4656df565b739fe7738bf5cfff9df9448f",class:"col"},(0,i.h)("img",{key:"3ad03f7dacbb825d9a4920f6a38ee9c3c99c190f",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5pY29uLWRvdC1nb3Y8L3RpdGxlPjxwYXRoIGZpbGw9IiMyMzc4QzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMyIDBjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyIDAgMTcuNjczLTE0LjMyNyAzMi0zMiAzMkMxNC4zMjcgNjQgMCA0OS42NzMgMCAzMiAwIDE0LjMyNyAxNC4zMjcgMCAzMiAwem0wIDEuMjA4QzE0Ljk5NCAxLjIwOCAxLjIwOCAxNC45OTQgMS4yMDggMzJTMTQuOTk0IDYyLjc5MiAzMiA2Mi43OTIgNjIuNzkyIDQ5LjAwNiA2Mi43OTIgMzIgNDkuMDA2IDEuMjA4IDMyIDEuMjA4em0xMC41OSAzOC44NThhLjg1Ny44NTcgMCAwIDEgLjg4Mi44MjJ2MS42NDJIMTguODg2di0xLjY0MmEuODU3Ljg1NyAwIDAgMSAuODgyLS44MjJINDIuNTl6TTI1LjQ0MyAyNy43NzR2OS44MjloMS42NDJ2LTkuODNoMy4yNzN2OS44M0gzMnYtOS44M2gzLjI3MnY5LjgzaDEuNjQzdi05LjgzaDMuMjcydjkuODNoLjc2YS44NTcuODU3IDAgMCAxIC44ODIuODIxdi44MjFoLTIxLjN2LS44MDlhLjg1Ny44NTcgMCAwIDEgLjg4LS44MmguNzYydi05Ljg0MmgzLjI3MnptNS43MzYtOC4xODhsMTIuMjkzIDQuOTE1djEuNjQyaC0xLjYzYS44NTcuODU3IDAgMCAxLS44ODIuODIySDIxLjQxYS44NTcuODU3IDAgMCAxLS44ODItLjgyMmgtMS42NDJ2LTEuNjQybDEyLjI5My00LjkxNXoiLz48L3N2Zz4=",role:"presentation",alt:""}),(0,i.h)("div",{key:"d94a8eca430daeddb83b88e25df76b97a1c82cf9",class:"media-block"},(0,i.h)("p",{key:"71d36be413003c7b950731e5206705dfd0de262f"},(0,i.h)("strong",{key:"23efd407d92fedb6e767b722a66e1178ef63818a"},n.i.t("gov-site-https",{tld:e})),(0,i.h)("br",{key:"2699aa08cb9c999140e96d5eb4845acd013d2a3c"}),(0,i.h)("span",{key:"9921513211a1027e2386d55d5215af1d92f65f53",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,2 +1,2 @@
1
1
  /*! For license information please see 4493.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([[20,326,4493],{20:function(t,e,a){a.r(e),a.d(e,{c:function(){return r}});var o,n={exports:{}};o=n,function(){var t={}.hasOwnProperty;function e(){for(var a=[],o=0;o<arguments.length;o++){var n=arguments[o];if(n){var r=typeof n;if("string"===r||"number"===r)a.push(n);else if(Array.isArray(n)){if(n.length){var i=e.apply(null,n);i&&a.push(i)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var s in n)t.call(n,s)&&n[s]&&a.push(s);else a.push(n.toString())}}return a.join(" ")}o.exports?(e.default=e,o.exports=e):window.classNames=e}();var r=n.exports},326:function(t,e,a){function o(t){return!Number.isNaN(parseFloat(t))}function n(t,e){var a=t.shadowRoot.querySelector("slot").assignedNodes();return null!==e?Array.from(a).filter((function(t){return t.nodeName.toLowerCase()===e})):Array.from(a)}function r(t){return 1===t?"":"s"}function i(t,e){if(void 0===t||""===t)return"".concat(e," character").concat(r(e)," allowed");var a;if(t.length<=e){var o=e-t.length;a="".concat(o," character").concat(r(o)," left")}else o=t.length-e,a="".concat(o," character").concat(r(o)," over limit");return a}function s(t,e){return Array.from({length:e-t+1},(function(e,a){return t+a}))}a.r(e),a.d(e,{S:function(){return l},a:function(){return u},b:function(){return i},g:function(){return n},i:function(){return o},m:function(){return s},s:function(){return d}}),a(3798);var c=function(t){return t&&"object"==typeof t&&1===t.nodeType};function d(t,e){var a=function(t,e){if("string"!=typeof t)return[];if(!e||!c(e))return[];var a=e.shadowRoot.querySelectorAll(t);return Array.from(a)}(t,e);return"string"!=typeof t||c(e)&&e.matches(t)&&a.push(e),a}var l={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(t){return l._entities[t]},escapeHTML:function(t){for(var e="",a=0;a<t.length;a++)e+=t[a],a+1<arguments.length&&(e+=String(arguments[a+1]||"").replace(l._entity,l.getEntity));return e}};function u(t){var e;return(e="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&e<=6?"h".concat(e):null}},4493:function(t,e,a){a.r(e),a.d(e,{va_accordion:function(){return s}});var o=a(3798),n=a(326),r=(a(2465),a(20)),i=a(9425),s=function(){function t(t){var e=this;(0,o.r)(this,t),this.componentLibraryAnalytics=(0,o.c)(this,"component-library-analytics",7),this.accordionExpandCollapseAll=(0,o.c)(this,"accordionExpandCollapseAll",7),this.expandCollapseAll=function(t){e.expanded=t;var a=t?"allOpen":"allClosed";e.accordionExpandCollapseAll.emit({status:a}),(0,n.g)(e.el,"va-accordion-item").forEach((function(e){e.setAttribute("open","".concat(t))}))},this.expanded=!1,this.openSingle=!1,this.disableAnalytics=!1,this.sectionHeading=null}return t.prototype.itemToggledHandler=function(t){var e,a,o,r=t.target.closest("va-accordion-item"),i=r.querySelector('[slot="headline"]');i?(a=null==i?void 0:i.innerHTML,o=parseInt(null===(e=null==i?void 0:i.tagName)||void 0===e?void 0:e.toLowerCase().split("")[1])):(a=r.header,o=r.level),this.openSingle&&(0,n.g)(this.el,"va-accordion-item").filter((function(t){return t!==r})).forEach((function(t){return t.setAttribute("open","false")}));var s="true"===r.getAttribute("open");if(!this.disableAnalytics){var c={componentName:"va-accordion",action:s?"collapse":"expand",details:{header:a||r.header,subheader:r.subheader,level:o||r.level,sectionHeading:this.sectionHeading}};this.componentLibraryAnalytics.emit(c)}r.setAttribute("open",s?"false":"true"),this.isScrolledIntoView(r)||r.scrollIntoView(),this.accordionsOpened()},t.prototype.accordionsOpened=function(t){void 0===t&&(t="every");var e=function(t,e,a){if(a||2===arguments.length)for(var o,n=0,r=e.length;n<r;n++)!o&&n in e||(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}([],this.el.children,!0).filter((function(t){return"va-accordion-item"===t.tagName.toLowerCase()})).map((function(t){return t.open}));return e[t]((function(t){return!0===t}))?this.expanded=!0:e[t]((function(t){return!1===t}))?this.expanded=!1:void 0},t.prototype.isScrolledIntoView=function(t){var e=null==t?void 0:t.getBoundingClientRect().top;return!(!e&&0!==e)&&e>=0&&e<=window.innerHeight},t.prototype.connectedCallback=function(){var t=this;i.i.on("languageChanged",(function(){(0,o.f)(t.el)}))},t.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},t.prototype.componentWillLoad=function(){this.accordionsOpened("some")},t.prototype.render=function(){var t=this,e=this.openSingle,a=(0,r.c)({"usa-accordion":!0});return(0,o.h)(o.H,{key:"64470cbbed8b2996d54fbfb3ac0ba34a048a3f15"},(0,o.h)("div",{key:"4c93f1d409c1af7f340caceb2a12d71ec0961c1b",class:a,ref:function(e){return t.accordionContainer=e}},e?null:(0,o.h)("button",{"aria-expanded":"".concat(this.expanded),class:"va-accordion__button","data-testid":"expand-all-accordions",ref:function(e){return t.expandCollapseBtn=e},onClick:function(){return t.expandCollapseAll(!t.expanded)},"aria-label":this.expanded?i.i.t("collapse-all-aria-label"):i.i.t("expand-all-aria-label")},this.expanded?"".concat(i.i.t("collapse-all")," -"):"".concat(i.i.t("expand-all")," +")),(0,o.h)("slot",{key:"76855ca5e43c2f475686c44e78dddd5703b89b92"})))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),t}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.usa-accordion{margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;color:#1b1b1b;margin:0;padding:0;width:100%;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}.usa-accordion>li{margin-bottom:0;max-width:unset}.usa-accordion>ul li ul{list-style:disc}.usa-accordion>ul li ul>li>ul{list-style:circle}.usa-accordion>ul li ul>li>ul>li>ul{list-style:square}.usa-accordion+.usa-accordion,.usa-accordion+.usa-accordion--bordered{margin-top:0.5rem}.usa-accordion--bordered .usa-accordion__content{border-bottom:0.25rem solid #f0f0f0;border-left:0.25rem solid #f0f0f0;border-right:0.25rem solid #f0f0f0;padding-bottom:1rem}.usa-accordion--bordered .usa-accordion__heading{margin-bottom:0}.usa-accordion__heading,.usa-prose .usa-accordion__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:0.9;margin:0}.usa-accordion__heading:not(:first-child),.usa-prose .usa-accordion__heading:not(:first-child){margin-top:0.5rem}.usa-accordion__content{color:#1b1b1b;background-color:white;margin-top:0;overflow:auto;padding:1rem 1.25rem calc(1rem - 0.25rem) 1.25rem}.usa-accordion__content>*:first-child{margin-top:0}.usa-accordion__content>*:last-child{margin-bottom:0}.usa-accordion__button{color:#005ea2;text-decoration:underline;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;font-weight:normal;-ms-flex-pack:normal;justify-content:normal;text-align:left;margin:0;padding:0;width:auto;color:#1b1b1b;background-color:#f0f0f0;background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-position:right 1.25rem center;background-size:1.5rem;cursor:pointer;display:inline-block;font-weight:700;margin:0;padding:1rem 3.5rem 1rem 1.25rem;text-decoration:none;width:100%}.usa-accordion__button:visited{color:#54278f}.usa-accordion__button:hover{color:#1a4480}.usa-accordion__button:active{color:#162e51}.usa-accordion__button:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-accordion__button:hover,.usa-accordion__button.usa-button--hover,.usa-accordion__button:disabled:hover,.usa-accordion__button[aria-disabled=true]:hover,.usa-accordion__button:disabled.usa-button--hover,.usa-accordion__button[aria-disabled=true].usa-button--hover,.usa-accordion__button:active,.usa-accordion__button.usa-button--active,.usa-accordion__button:disabled:active,.usa-accordion__button[aria-disabled=true]:active,.usa-accordion__button:disabled.usa-button--active,.usa-accordion__button[aria-disabled=true].usa-button--active,.usa-accordion__button:disabled:focus,.usa-accordion__button[aria-disabled=true]:focus,.usa-accordion__button:disabled.usa-focus,.usa-accordion__button[aria-disabled=true].usa-focus,.usa-accordion__button:disabled,.usa-accordion__button[aria-disabled=true],.usa-accordion__button.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-accordion__button.usa-button--hover{color:#1a4480}.usa-accordion__button.usa-button--active{color:#162e51}.usa-accordion__button:disabled,.usa-accordion__button[aria-disabled=true],.usa-accordion__button:disabled:hover,.usa-accordion__button[aria-disabled=true]:hover,.usa-accordion__button[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-accordion__button:disabled,.usa-accordion__button[aria-disabled=true],.usa-accordion__button:disabled:hover,.usa-accordion__button[aria-disabled=true]:hover,.usa-accordion__button[aria-disabled=true]:focus{color:GrayText}}.usa-accordion__button:hover{color:#1b1b1b;background-color:#dfe1e2;background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;text-decoration:none}@media (forced-colors: active){.usa-accordion__button{border:2px solid transparent;position:relative}.usa-accordion__button::before{background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:1.5rem 1.5rem;display:inline-block;height:1.5rem;width:1.5rem;height:100%;position:absolute;right:1.25rem;top:0;content:""}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-accordion__button::before{background:none;background-color:ButtonText;-webkit-mask-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:1.5rem 1.5rem;mask-size:1.5rem 1.5rem}}}.usa-accordion__button[aria-expanded=false]{background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-size:1.5rem}.usa-accordion__button[aria-expanded=false]:hover{background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}@media (forced-colors: active){.usa-accordion__button[aria-expanded=false]::before{background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:1.5rem 1.5rem;display:inline-block;height:1.5rem;width:1.5rem;height:100%;position:absolute;right:1.25rem;top:0}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-accordion__button[aria-expanded=false]::before{background:none;background-color:ButtonText;-webkit-mask-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:1.5rem 1.5rem;mask-size:1.5rem 1.5rem}}}button.va-accordion__button{border:none;color:var(--vads-color-link);background:transparent;padding:0.625rem;cursor:pointer;font-family:inherit;font-weight:bold;float:right}@media print{button.va-accordion__button{display:none}}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[20,4493,9161],{20:function(t,e,a){a.r(e),a.d(e,{c:function(){return r}});var o,n={exports:{}};o=n,function(){var t={}.hasOwnProperty;function e(){for(var a=[],o=0;o<arguments.length;o++){var n=arguments[o];if(n){var r=typeof n;if("string"===r||"number"===r)a.push(n);else if(Array.isArray(n)){if(n.length){var i=e.apply(null,n);i&&a.push(i)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var s in n)t.call(n,s)&&n[s]&&a.push(s);else a.push(n.toString())}}return a.join(" ")}o.exports?(e.default=e,o.exports=e):window.classNames=e}();var r=n.exports},9161:function(t,e,a){function o(t){return!Number.isNaN(parseFloat(t))}function n(t,e,a){void 0===a&&(a="slot");var o=t.shadowRoot.querySelector(a).assignedNodes();return null!==e?Array.from(o).filter((function(t){return t.nodeName.toLowerCase()===e})):Array.from(o)}function r(t){return 1===t?"":"s"}function i(t,e){if(void 0===t||""===t)return"".concat(e," character").concat(r(e)," allowed");var a;if(t.length<=e){var o=e-t.length;a="".concat(o," character").concat(r(o)," left")}else o=t.length-e,a="".concat(o," character").concat(r(o)," over limit");return a}function s(t,e){return Array.from({length:e-t+1},(function(e,a){return t+a}))}a.r(e),a.d(e,{S:function(){return l},a:function(){return u},b:function(){return i},g:function(){return n},i:function(){return o},m:function(){return s},s:function(){return d}}),a(3798);var c=function(t){return t&&"object"==typeof t&&1===t.nodeType};function d(t,e){var a=function(t,e){if("string"!=typeof t)return[];if(!e||!c(e))return[];var a=e.shadowRoot.querySelectorAll(t);return Array.from(a)}(t,e);return"string"!=typeof t||c(e)&&e.matches(t)&&a.push(e),a}var l={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(t){return l._entities[t]},escapeHTML:function(t){for(var e="",a=0;a<t.length;a++)e+=t[a],a+1<arguments.length&&(e+=String(arguments[a+1]||"").replace(l._entity,l.getEntity));return e}};function u(t){var e;return(e="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&e<=6?"h".concat(e):null}},4493:function(t,e,a){a.r(e),a.d(e,{va_accordion:function(){return s}});var o=a(3798),n=a(9161),r=(a(2465),a(20)),i=a(9425),s=function(){function t(t){var e=this;(0,o.r)(this,t),this.componentLibraryAnalytics=(0,o.c)(this,"component-library-analytics",7),this.accordionExpandCollapseAll=(0,o.c)(this,"accordionExpandCollapseAll",7),this.expandCollapseAll=function(t){e.expanded=t;var a=t?"allOpen":"allClosed";e.accordionExpandCollapseAll.emit({status:a}),(0,n.g)(e.el,"va-accordion-item").forEach((function(e){e.setAttribute("open","".concat(t))}))},this.expanded=!1,this.openSingle=!1,this.disableAnalytics=!1,this.sectionHeading=null}return t.prototype.itemToggledHandler=function(t){var e,a=t.target.closest("va-accordion-item");if(this.el===a.parentElement){var o,r,i=a.querySelector('[slot="headline"]');i?(o=null==i?void 0:i.innerHTML,r=parseInt(null===(e=null==i?void 0:i.tagName)||void 0===e?void 0:e.toLowerCase().split("")[1])):(o=a.header,r=a.level),this.openSingle&&(0,n.g)(this.el,"va-accordion-item").filter((function(t){return t!==a})).forEach((function(t){return t.setAttribute("open","false")}));var s="true"===a.getAttribute("open");if(!this.disableAnalytics){var c={componentName:"va-accordion",action:s?"collapse":"expand",details:{header:o||a.header,subheader:a.subheader,level:r||a.level,sectionHeading:this.sectionHeading}};this.componentLibraryAnalytics.emit(c)}a.setAttribute("open",s?"false":"true"),this.isScrolledIntoView(a)||a.scrollIntoView(),this.accordionsOpened()}},t.prototype.accordionsOpened=function(t){void 0===t&&(t="every");var e=function(t,e,a){if(a||2===arguments.length)for(var o,n=0,r=e.length;n<r;n++)!o&&n in e||(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}([],this.el.children,!0).filter((function(t){return"va-accordion-item"===t.tagName.toLowerCase()})).map((function(t){return t.open}));return e[t]((function(t){return!0===t}))?this.expanded=!0:e[t]((function(t){return!1===t}))?this.expanded=!1:void 0},t.prototype.isScrolledIntoView=function(t){var e=null==t?void 0:t.getBoundingClientRect().top;return!(!e&&0!==e)&&e>=0&&e<=window.innerHeight},t.prototype.connectedCallback=function(){var t=this;i.i.on("languageChanged",(function(){(0,o.f)(t.el)}))},t.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},t.prototype.componentWillLoad=function(){this.accordionsOpened("some")},t.prototype.render=function(){var t=this,e=this.openSingle,a=(0,r.c)({"usa-accordion":!0});return(0,o.h)(o.H,{key:"82ee42cf9d5addb5c3e15ed49466e058884cf269"},(0,o.h)("div",{key:"987f2729d91b2084a291004dc7f220422c65d388",class:a,ref:function(e){return t.accordionContainer=e}},e?null:(0,o.h)("button",{"aria-expanded":"".concat(this.expanded),class:"va-accordion__button","data-testid":"expand-all-accordions",ref:function(e){return t.expandCollapseBtn=e},onClick:function(){return t.expandCollapseAll(!t.expanded)},"aria-label":this.expanded?i.i.t("collapse-all-aria-label"):i.i.t("expand-all-aria-label")},this.expanded?"".concat(i.i.t("collapse-all")," -"):"".concat(i.i.t("expand-all")," +")),(0,o.h)("slot",{key:"4f1e8b3e091dfb0881367ce29f672c17b2ebfcd0"})))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),t}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.usa-accordion{margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;color:#1b1b1b;margin:0;padding:0;width:100%;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}.usa-accordion>li{margin-bottom:0;max-width:unset}.usa-accordion>ul li ul{list-style:disc}.usa-accordion>ul li ul>li>ul{list-style:circle}.usa-accordion>ul li ul>li>ul>li>ul{list-style:square}.usa-accordion+.usa-accordion,.usa-accordion+.usa-accordion--bordered{margin-top:0.5rem}.usa-accordion--bordered .usa-accordion__content{border-bottom:0.25rem solid #f0f0f0;border-left:0.25rem solid #f0f0f0;border-right:0.25rem solid #f0f0f0;padding-bottom:1rem}.usa-accordion--bordered .usa-accordion__heading{margin-bottom:0}.usa-accordion__heading,.usa-prose .usa-accordion__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:0.9;margin:0}.usa-accordion__heading:not(:first-child),.usa-prose .usa-accordion__heading:not(:first-child){margin-top:0.5rem}.usa-accordion__content{color:#1b1b1b;background-color:white;margin-top:0;overflow:auto;padding:1rem 1.25rem calc(1rem - 0.25rem) 1.25rem}.usa-accordion__content>*:first-child{margin-top:0}.usa-accordion__content>*:last-child{margin-bottom:0}.usa-accordion__button{color:#005ea2;text-decoration:underline;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;font-weight:normal;-ms-flex-pack:normal;justify-content:normal;text-align:left;margin:0;padding:0;width:auto;color:#1b1b1b;background-color:#f0f0f0;background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-position:right 1.25rem center;background-size:1.5rem;cursor:pointer;display:inline-block;font-weight:700;margin:0;padding:1rem 3.5rem 1rem 1.25rem;text-decoration:none;width:100%}.usa-accordion__button:visited{color:#54278f}.usa-accordion__button:hover{color:#1a4480}.usa-accordion__button:active{color:#162e51}.usa-accordion__button:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-accordion__button:hover,.usa-accordion__button.usa-button--hover,.usa-accordion__button:disabled:hover,.usa-accordion__button[aria-disabled=true]:hover,.usa-accordion__button:disabled.usa-button--hover,.usa-accordion__button[aria-disabled=true].usa-button--hover,.usa-accordion__button:active,.usa-accordion__button.usa-button--active,.usa-accordion__button:disabled:active,.usa-accordion__button[aria-disabled=true]:active,.usa-accordion__button:disabled.usa-button--active,.usa-accordion__button[aria-disabled=true].usa-button--active,.usa-accordion__button:disabled:focus,.usa-accordion__button[aria-disabled=true]:focus,.usa-accordion__button:disabled.usa-focus,.usa-accordion__button[aria-disabled=true].usa-focus,.usa-accordion__button:disabled,.usa-accordion__button[aria-disabled=true],.usa-accordion__button.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-accordion__button.usa-button--hover{color:#1a4480}.usa-accordion__button.usa-button--active{color:#162e51}.usa-accordion__button:disabled,.usa-accordion__button[aria-disabled=true],.usa-accordion__button:disabled:hover,.usa-accordion__button[aria-disabled=true]:hover,.usa-accordion__button[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-accordion__button:disabled,.usa-accordion__button[aria-disabled=true],.usa-accordion__button:disabled:hover,.usa-accordion__button[aria-disabled=true]:hover,.usa-accordion__button[aria-disabled=true]:focus{color:GrayText}}.usa-accordion__button:hover{color:#1b1b1b;background-color:#dfe1e2;background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;text-decoration:none}@media (forced-colors: active){.usa-accordion__button{border:2px solid transparent;position:relative}.usa-accordion__button::before{background-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:1.5rem 1.5rem;display:inline-block;height:1.5rem;width:1.5rem;height:100%;position:absolute;right:1.25rem;top:0;content:""}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-accordion__button::before{background:none;background-color:ButtonText;-webkit-mask-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image: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 13H5v-2h14v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:1.5rem 1.5rem;mask-size:1.5rem 1.5rem}}}.usa-accordion__button[aria-expanded=false]{background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-size:1.5rem}.usa-accordion__button[aria-expanded=false]:hover{background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}@media (forced-colors: active){.usa-accordion__button[aria-expanded=false]::before{background-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:1.5rem 1.5rem;display:inline-block;height:1.5rem;width:1.5rem;height:100%;position:absolute;right:1.25rem;top:0}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-accordion__button[aria-expanded=false]::before{background:none;background-color:ButtonText;-webkit-mask-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image: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 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:1.5rem 1.5rem;mask-size:1.5rem 1.5rem}}}button.va-accordion__button{border:none;color:var(--vads-color-link);background:transparent;padding:0.625rem;cursor:pointer;font-family:inherit;font-weight:bold;float:right}@media print{button.va-accordion__button{display:none}}'}}]);