@department-of-veterans-affairs/component-library 54.2.0 → 54.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 (180) hide show
  1. package/Modal.unit.spec.js +1 -0
  2. package/dist/1214.app.bundle.js +1 -0
  3. package/dist/1339.app.bundle.js +2 -0
  4. package/dist/{6850.app.bundle.js → 1351.app.bundle.js} +1 -1
  5. package/dist/{6830.app.bundle.js → 1365.app.bundle.js} +1 -1
  6. package/dist/{7481.app.bundle.js → 1450.app.bundle.js} +1 -1
  7. package/dist/2222.app.bundle.js +2 -0
  8. package/dist/{7734.app.bundle.js → 2387.app.bundle.js} +1 -1
  9. package/dist/{4157.app.bundle.js → 2472.app.bundle.js} +1 -1
  10. package/dist/{3589.app.bundle.js → 2654.app.bundle.js} +2 -2
  11. package/dist/{2923.app.bundle.js → 2664.app.bundle.js} +2 -2
  12. package/dist/{7372.app.bundle.js → 2801.app.bundle.js} +2 -2
  13. package/dist/{3601.app.bundle.js → 2858.app.bundle.js} +2 -2
  14. package/dist/{6832.app.bundle.js → 3071.app.bundle.js} +1 -1
  15. package/dist/{6104.app.bundle.js → 3126.app.bundle.js} +1 -1
  16. package/dist/{4351.app.bundle.js → 3156.app.bundle.js} +1 -1
  17. package/dist/{4534.app.bundle.js → 3238.app.bundle.js} +1 -1
  18. package/dist/{6555.app.bundle.js → 4064.app.bundle.js} +1 -1
  19. package/dist/{6650.app.bundle.js → 4117.app.bundle.js} +2 -2
  20. package/dist/4140.app.bundle.js +1 -0
  21. package/dist/415.app.bundle.js +1 -0
  22. package/dist/{4569.app.bundle.js → 4164.app.bundle.js} +2 -2
  23. package/dist/{5341.app.bundle.js → 4708.app.bundle.js} +2 -2
  24. package/dist/{1822.app.bundle.js → 4715.app.bundle.js} +2 -2
  25. package/dist/{5938.app.bundle.js → 5019.app.bundle.js} +2 -2
  26. package/dist/{6718.app.bundle.js → 5155.app.bundle.js} +1 -1
  27. package/dist/5189.app.bundle.js +2 -0
  28. package/dist/{5845.app.bundle.js → 5306.app.bundle.js} +2 -2
  29. package/dist/{5689.app.bundle.js → 5610.app.bundle.js} +1 -1
  30. package/dist/{5990.app.bundle.js → 5699.app.bundle.js} +2 -2
  31. package/dist/575.app.bundle.js +2 -0
  32. package/dist/{5119.app.bundle.js → 5830.app.bundle.js} +2 -2
  33. package/dist/{7495.app.bundle.js → 6034.app.bundle.js} +2 -2
  34. package/dist/{7307.app.bundle.js → 6246.app.bundle.js} +2 -2
  35. package/dist/{2482.app.bundle.js → 6247.app.bundle.js} +1 -1
  36. package/dist/{7166.app.bundle.js → 6349.app.bundle.js} +2 -2
  37. package/dist/{960.app.bundle.js → 641.app.bundle.js} +1 -1
  38. package/dist/{9186.app.bundle.js → 6527.app.bundle.js} +2 -2
  39. package/dist/{6308.app.bundle.js → 6633.app.bundle.js} +2 -2
  40. package/dist/{1966.app.bundle.js → 6655.app.bundle.js} +2 -2
  41. package/dist/6683.app.bundle.js +2 -0
  42. package/dist/6771.app.bundle.js +1 -0
  43. package/dist/{8915.app.bundle.js → 6824.app.bundle.js} +2 -2
  44. package/dist/712.app.bundle.js +2 -0
  45. package/dist/{4400.app.bundle.js → 7367.app.bundle.js} +2 -2
  46. package/dist/{2986.app.bundle.js → 7531.app.bundle.js} +1 -1
  47. package/dist/{6498.app.bundle.js → 7663.app.bundle.js} +1 -1
  48. package/dist/{3305.app.bundle.js → 7814.app.bundle.js} +2 -2
  49. package/dist/{2236.app.bundle.js → 7821.app.bundle.js} +1 -1
  50. package/dist/8175.app.bundle.js +2 -0
  51. package/dist/82.app.bundle.js +2 -0
  52. package/dist/8206.app.bundle.js +1 -0
  53. package/dist/{4780.app.bundle.js → 8495.app.bundle.js} +2 -2
  54. package/dist/{4996.app.bundle.js → 8735.app.bundle.js} +2 -2
  55. package/dist/8762.app.bundle.js +2 -1
  56. package/dist/{6696.app.bundle.js → 8859.app.bundle.js} +1 -1
  57. package/dist/890.app.bundle.js +2 -0
  58. package/dist/9288.app.bundle.js +1 -0
  59. package/dist/{7084.app.bundle.js → 9409.app.bundle.js} +1 -1
  60. package/dist/9463.app.bundle.js +1 -0
  61. package/dist/{8463.app.bundle.js → 9670.app.bundle.js} +1 -1
  62. package/dist/9724.app.bundle.js +2 -0
  63. package/dist/{5348.app.bundle.js → 9755.app.bundle.js} +2 -2
  64. package/dist/{8255.app.bundle.js → 9794.app.bundle.js} +2 -2
  65. package/dist/{8913.app.bundle.js → 9800.app.bundle.js} +2 -2
  66. package/dist/9915.app.bundle.js +1 -0
  67. package/dist/9966.app.bundle.js +2 -0
  68. package/dist/app.bundle.js +1 -1
  69. package/dist/app.bundle.js.LICENSE.txt +1 -1
  70. package/dist/components/contacts.js +1 -1
  71. package/dist/components/i18next.js +1 -1
  72. package/dist/components/index.js +1 -1
  73. package/dist/components/types/components.d.ts +34 -10
  74. package/dist/components/va-accordion2.js +1 -1
  75. package/dist/components/va-alert2.js +1 -1
  76. package/dist/components/va-banner.js +1 -1
  77. package/dist/components/va-checkbox-group2.js +1 -1
  78. package/dist/components/va-checkbox2.js +1 -1
  79. package/dist/components/va-combo-box2.js +1 -1
  80. package/dist/components/va-crisis-line-modal2.js +1 -1
  81. package/dist/components/va-date.js +1 -1
  82. package/dist/components/va-file-input-multiple.js +1 -1
  83. package/dist/components/va-file-input2.js +1 -1
  84. package/dist/components/va-header-minimal.js +1 -1
  85. package/dist/components/va-icon2.js +1 -1
  86. package/dist/components/va-language-toggle.js +1 -1
  87. package/dist/components/va-link-action.js +1 -1
  88. package/dist/components/va-loading-indicator.js +1 -1
  89. package/dist/components/va-maintenance-banner.js +1 -1
  90. package/dist/components/va-memorable-date.js +1 -1
  91. package/dist/components/va-minimal-footer.js +1 -1
  92. package/dist/components/va-need-help.js +1 -1
  93. package/dist/components/va-official-gov-banner2.js +1 -1
  94. package/dist/components/va-omb-info.js +1 -1
  95. package/dist/components/va-on-this-page.js +1 -1
  96. package/dist/components/va-pagination.js +1 -1
  97. package/dist/components/va-privacy-agreement.js +1 -1
  98. package/dist/components/va-process-list-item.js +1 -1
  99. package/dist/components/va-process-list.js +1 -1
  100. package/dist/components/va-progress-bar2.js +1 -1
  101. package/dist/components/va-radio-option.js +1 -1
  102. package/dist/components/va-radio.js +1 -1
  103. package/dist/components/va-search-input.js +1 -1
  104. package/dist/components/va-segmented-progress-bar.js +1 -1
  105. package/dist/components/va-select2.js +1 -1
  106. package/dist/components/va-sidenav-item.js +1 -1
  107. package/dist/components/va-sidenav-submenu.js +1 -1
  108. package/dist/components/va-statement-of-truth.js +1 -1
  109. package/dist/components/va-summary-box.js +1 -1
  110. package/dist/components/va-tab-item.js +1 -1
  111. package/dist/components/va-tab-panel.js +1 -1
  112. package/dist/components/va-table-inner2.js +1 -1
  113. package/dist/components/va-table-row.js +1 -1
  114. package/dist/components/va-table.js +1 -1
  115. package/dist/components/va-tag-status.js +1 -1
  116. package/dist/components/va-telephone-input.js +1 -1
  117. package/dist/components/va-telephone2.js +1 -1
  118. package/dist/components/va-text-input2.js +1 -1
  119. package/dist/components/va-textarea.js +1 -1
  120. package/dist/main.css +1 -1
  121. package/package.json +15 -15
  122. package/src/i18n/translations/en.mjs +12 -1
  123. package/dist/0.app.bundle.js +0 -2
  124. package/dist/12.app.bundle.js +0 -1
  125. package/dist/141.app.bundle.js +0 -2
  126. package/dist/2205.app.bundle.js +0 -1
  127. package/dist/251.app.bundle.js +0 -1
  128. package/dist/272.app.bundle.js +0 -2
  129. package/dist/323.app.bundle.js +0 -2
  130. package/dist/3397.app.bundle.js +0 -1
  131. package/dist/3600.app.bundle.js +0 -1
  132. package/dist/4432.app.bundle.js +0 -2
  133. package/dist/4475.app.bundle.js +0 -1
  134. package/dist/5663.app.bundle.js +0 -2
  135. package/dist/5705.app.bundle.js +0 -2
  136. package/dist/606.app.bundle.js +0 -1
  137. package/dist/6095.app.bundle.js +0 -2
  138. package/dist/6849.app.bundle.js +0 -2
  139. package/dist/9376.app.bundle.js +0 -2
  140. package/dist/9496.app.bundle.js +0 -2
  141. package/dist/9851.app.bundle.js +0 -2
  142. package/dist/components/i18n-setup.js +0 -1
  143. /package/dist/{0.app.bundle.js.LICENSE.txt → 1339.app.bundle.js.LICENSE.txt} +0 -0
  144. /package/dist/{141.app.bundle.js.LICENSE.txt → 2222.app.bundle.js.LICENSE.txt} +0 -0
  145. /package/dist/{1822.app.bundle.js.LICENSE.txt → 2654.app.bundle.js.LICENSE.txt} +0 -0
  146. /package/dist/{1966.app.bundle.js.LICENSE.txt → 2664.app.bundle.js.LICENSE.txt} +0 -0
  147. /package/dist/{272.app.bundle.js.LICENSE.txt → 2801.app.bundle.js.LICENSE.txt} +0 -0
  148. /package/dist/{2923.app.bundle.js.LICENSE.txt → 2858.app.bundle.js.LICENSE.txt} +0 -0
  149. /package/dist/{323.app.bundle.js.LICENSE.txt → 4117.app.bundle.js.LICENSE.txt} +0 -0
  150. /package/dist/{3305.app.bundle.js.LICENSE.txt → 4164.app.bundle.js.LICENSE.txt} +0 -0
  151. /package/dist/{3589.app.bundle.js.LICENSE.txt → 4708.app.bundle.js.LICENSE.txt} +0 -0
  152. /package/dist/{3601.app.bundle.js.LICENSE.txt → 4715.app.bundle.js.LICENSE.txt} +0 -0
  153. /package/dist/{4400.app.bundle.js.LICENSE.txt → 5019.app.bundle.js.LICENSE.txt} +0 -0
  154. /package/dist/{4432.app.bundle.js.LICENSE.txt → 5189.app.bundle.js.LICENSE.txt} +0 -0
  155. /package/dist/{4569.app.bundle.js.LICENSE.txt → 5306.app.bundle.js.LICENSE.txt} +0 -0
  156. /package/dist/{4780.app.bundle.js.LICENSE.txt → 5699.app.bundle.js.LICENSE.txt} +0 -0
  157. /package/dist/{4996.app.bundle.js.LICENSE.txt → 575.app.bundle.js.LICENSE.txt} +0 -0
  158. /package/dist/{5119.app.bundle.js.LICENSE.txt → 5830.app.bundle.js.LICENSE.txt} +0 -0
  159. /package/dist/{5341.app.bundle.js.LICENSE.txt → 6034.app.bundle.js.LICENSE.txt} +0 -0
  160. /package/dist/{5348.app.bundle.js.LICENSE.txt → 6246.app.bundle.js.LICENSE.txt} +0 -0
  161. /package/dist/{5663.app.bundle.js.LICENSE.txt → 6349.app.bundle.js.LICENSE.txt} +0 -0
  162. /package/dist/{5705.app.bundle.js.LICENSE.txt → 6527.app.bundle.js.LICENSE.txt} +0 -0
  163. /package/dist/{5845.app.bundle.js.LICENSE.txt → 6633.app.bundle.js.LICENSE.txt} +0 -0
  164. /package/dist/{5938.app.bundle.js.LICENSE.txt → 6655.app.bundle.js.LICENSE.txt} +0 -0
  165. /package/dist/{5990.app.bundle.js.LICENSE.txt → 6683.app.bundle.js.LICENSE.txt} +0 -0
  166. /package/dist/{6095.app.bundle.js.LICENSE.txt → 6824.app.bundle.js.LICENSE.txt} +0 -0
  167. /package/dist/{6308.app.bundle.js.LICENSE.txt → 712.app.bundle.js.LICENSE.txt} +0 -0
  168. /package/dist/{6650.app.bundle.js.LICENSE.txt → 7367.app.bundle.js.LICENSE.txt} +0 -0
  169. /package/dist/{6849.app.bundle.js.LICENSE.txt → 7814.app.bundle.js.LICENSE.txt} +0 -0
  170. /package/dist/{7166.app.bundle.js.LICENSE.txt → 8175.app.bundle.js.LICENSE.txt} +0 -0
  171. /package/dist/{7307.app.bundle.js.LICENSE.txt → 82.app.bundle.js.LICENSE.txt} +0 -0
  172. /package/dist/{7372.app.bundle.js.LICENSE.txt → 8495.app.bundle.js.LICENSE.txt} +0 -0
  173. /package/dist/{7495.app.bundle.js.LICENSE.txt → 8735.app.bundle.js.LICENSE.txt} +0 -0
  174. /package/dist/{8255.app.bundle.js.LICENSE.txt → 8762.app.bundle.js.LICENSE.txt} +0 -0
  175. /package/dist/{8913.app.bundle.js.LICENSE.txt → 890.app.bundle.js.LICENSE.txt} +0 -0
  176. /package/dist/{8915.app.bundle.js.LICENSE.txt → 9724.app.bundle.js.LICENSE.txt} +0 -0
  177. /package/dist/{9186.app.bundle.js.LICENSE.txt → 9755.app.bundle.js.LICENSE.txt} +0 -0
  178. /package/dist/{9376.app.bundle.js.LICENSE.txt → 9794.app.bundle.js.LICENSE.txt} +0 -0
  179. /package/dist/{9496.app.bundle.js.LICENSE.txt → 9800.app.bundle.js.LICENSE.txt} +0 -0
  180. /package/dist/{9851.app.bundle.js.LICENSE.txt → 9966.app.bundle.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 5663.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([[4534,4569,5663,6104],{4534:function(e,r,t){t.r(r),t.d(r,{a:function(){return w},b:function(){return b},d:function(){return g},f:function(){return v},g:function(){return p},i:function(){return y},m:function(){return u},v:function(){return c},z:function(){return x}}),t(4665),t(7911);var a=(new Date).getFullYear()+100,o=1900,n=12,i=1,s=1,u=[{label:"January",value:1},{label:"February",value:2},{label:"March",value:3},{label:"April",value:4},{label:"May",value:5},{label:"June",value:6},{label:"July",value:7},{label:"August",value:8},{label:"September",value:9},{label:"October",value:10},{label:"November",value:11},{label:"December",value:12}],l=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],h=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"],d={1:h,2:["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29"],3:h,4:l,5:h,6:l,7:h,8:h,9:l,10:h,11:l,12:h},m=["year-range","day-range","month-range","date-error","month-select"];function f(e){return e?"month-select":"month-range"}function c(e){var r=e.component,t=e.year,u=e.month,l=e.day,h=e.monthYearOnly,d=e.yearTouched,c=e.monthTouched,p=e.dayTouched,v=e.monthSelect,b=e.monthOptional;if(t||u||l){var w=g(t,u);r.invalidYear=!1,r.invalidMonth=!1,r.invalidDay=!1;var y=!(h&&b);if(y&&isNaN(u)&&c)return r.invalidMonth=!0,void(r.error=f(v));if(!h&&isNaN(l)&&p)return r.invalidDay=!0,void(r.error="day-range");if(isNaN(t)&&d)return r.invalidYear=!0,void(r.error="year-range");if(r.required&&(!t||y&&!u||!h&&!l)){if(y&&c&&!u)return r.invalidMonth=!0,void(r.error="date-error");if(p&&!l&&!h)return r.invalidDay=!0,void(r.error="date-error");if(d&&!t)return r.invalidYear=!0,void(r.error="date-error")}if(y&&!u&&c)return r.invalidMonth=!0,void(r.error=f(v));if(!l&&!h&&p)return r.invalidDay=!0,void(r.error="day-range");if(!t&&d)return r.invalidYear=!0,void(r.error="year-range");if(y&&u&&(u<i||u>n)&&c)return r.invalidMonth=!0,void(r.error=f(v));if(l&&!h&&(l<s||l>w)&&p)return r.invalidDay=!0,void(r.error="day-range");if(t&&(t<o||t>a)&&d)return r.invalidYear=!0,void(r.error="year-range");if(!u||!c||p||d)return u&&c&&l&&p&&!d?(r.invalidYear=!0,void(r.error="date-error")):void(r.invalidYear||r.invalidMonth||r.invalidDay||r.error&&!m.includes(r.error)||(r.error=null));h?(r.invalidYear=!0,r.error="date-error"):(r.invalidDay=!0,r.error="date-error")}}function p(e,r,t){var i=g(r,t);switch(e){case"month-range":case"month-select":return{start:1,end:n};case"day-range":return{start:1,end:i};case"year-range":return{start:o,end:a};default:return null}}var g=function(e,r){var t;return e&&r?new Date(e,r,0).getDate():(null===(t=d[r])||void 0===t?void 0:t.length)||31},v=function(e,r,t){if(void 0===r&&(r={dateStyle:"full",timeStyle:"short"}),void 0===t&&(t="America/New_York"),e&&e instanceof Date)return e.toLocaleString("en-US",Object.assign(Object.assign({},r),{timeZone:t}))},b=function(e,r){if(e&&e instanceof Date&&r&&r instanceof Date)return e.getTime()>r.getTime()},w=function(e,r){if(e&&e instanceof Date&&r&&r instanceof Date)return e.getTime()<r.getTime()},y=function(e,r){if(e&&e instanceof Date&&r&&r instanceof Date)return e.getFullYear()===r.getFullYear()&&e.getMonth()===r.getMonth()&&e.getDay()===r.getDay()},x=function(e){return"00".concat((e||"").toString()).slice(-2)}},4569:function(e,r,t){t.r(r),t.d(r,{c:function(){return n}});var a,o={exports:{}};a=o,function(){var e={}.hasOwnProperty;function r(){for(var t=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var n=typeof o;if("string"===n||"number"===n)t.push(o);else if(Array.isArray(o)){if(o.length){var i=r.apply(null,o);i&&t.push(i)}}else if("object"===n)if(o.toString===Object.prototype.toString)for(var s in o)e.call(o,s)&&o[s]&&t.push(s);else t.push(o.toString())}}return t.join(" ")}a.exports?(r.default=r,a.exports=r):window.classNames=r}();var n=o.exports},6104:function(e,r,t){function a(e){return!Number.isNaN(parseFloat(e))}function o(e,r,t){void 0===t&&(t="slot");var a=e.shadowRoot.querySelector(t).assignedNodes();return null!==r?Array.from(a).filter((function(e){return e.nodeName.toLowerCase()===r})):Array.from(a)}function n(e){return 1===e?"":"s"}function i(e,r){if(void 0===e||""===e)return"".concat(r," character").concat(n(r)," allowed");var t;if(e.length<=r){var a=r-e.length;t="".concat(a," character").concat(n(a)," left")}else a=e.length-r,t="".concat(a," character").concat(n(a)," over limit");return t}function s(e,r){return Array.from({length:r-e+1},(function(r,t){return e+t}))}t.r(r),t.d(r,{S:function(){return h},a:function(){return o},b:function(){return a},c:function(){return g},d:function(){return p},e:function(){return v},f:function(){return i},g:function(){return d},h:function(){return m},i:function(){return f},m:function(){return s},s:function(){return l},u:function(){return b}}),t(7911);var u=function(e){return e&&"object"==typeof e&&1===e.nodeType};function l(e,r){var t=function(e,r){if("string"!=typeof e)return[];if(!r||!u(r))return[];var t=r.shadowRoot.querySelectorAll(e);return Array.from(t)}(e,r);return"string"!=typeof e||u(r)&&r.matches(e)&&t.push(r),t}var h={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return h._entities[e]},escapeHTML:function(e){for(var r="",t=0;t<e.length;t++)r+=e[t],t+1<arguments.length&&(r+=String(arguments[t+1]||"").replace(h._entity,h.getEntity));return r}};function d(e){var r;return(r="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&r<=6?"h".concat(r):null}function m(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function f(e){return e&&"false"!==e||!1}function c(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function p(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===r)return!0;if("function"==typeof e||"function"==typeof r)return!0;if("object"!=typeof e||"object"!=typeof r)return!1;if(null===e||null===r)return!1;if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();if(e instanceof RegExp&&r instanceof RegExp)return e.source===r.source&&e.global===r.global&&e.multiline===r.multiline&&e.lastIndex===r.lastIndex&&e.ignoreCase===r.ignoreCase;if(c(e)||c(r)){if(!c(e)||!c(r))return!1;var o=Array.prototype.slice;return p(o.call(e),o.call(r),t,a)}if(e.constructor!==r.constructor)return!1;var n=Object.keys(e),i=Object.keys(r);if(0===n.length&&0===i.length)return!0;if(n.length!==i.length)return!1;for(var s=t.length;s--;)if(t[s]===e)return a[s]===r;t.push(e),a.push(r),n.sort(),i.sort();for(var u=n.length-1;u>=0;u--)if(n[u]!==i[u])return!1;for(var l=void 0,h=n.length-1;h>=0;h--)if(!p(e[l=n[h]],r[l],t,a))return!1;return t.pop(),a.pop(),!0}function g(e,r){var t;return function(){for(var a=this,o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];clearTimeout(t),t=setTimeout((function(){return e.apply(a,o)}),r)}}function v(e){if(null!=e){var r="string"==typeof e?parseInt(e,10):e;if(!(r<=0||isNaN(r)))return r}}function b(e,r,t){e&&(e.innerText=i(r,v(t)))}},5663:function(e,r,t){t.r(r),t.d(r,{va_memorable_date:function(){return u}});var a=t(7911),o=t(4534),n=t(6104),i=(t(8181),t(4569)),s=t(4665),u=function(){function e(e){var r=this;(0,a.r)(this,e),this.dateChange=(0,a.c)(this,"dateChange",7),this.dateBlur=(0,a.c)(this,"dateBlur",7),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.dayTouched=!1,this.monthTouched=!1,this.yearTouched=!1,this.handleDateBlur=function(e){var t,a=r,n=a.currentYear,i=a.currentMonth,s=a.currentDay,u=Number(n||t),l=Number(i||t),h=Number(s||t);if((0,o.v)({component:r,year:u,month:l,day:h,yearTouched:r.yearTouched,monthTouched:r.monthTouched,dayTouched:r.dayTouched,monthSelect:r.monthSelect}),r.error)r.externalValidation&&r.dateBlur.emit(e);else if(r.value=n||i||s?[n,i?(0,o.z)(l):"",s?(0,o.z)(h):""].join("-"):"",r.dateBlur.emit(e),r.enableAnalytics){var d={componentName:"va-memorable-date",action:"blur",details:{label:r.label,year:u,month:l,day:h}};r.componentLibraryAnalytics.emit(d)}},this.handleMonthChange=function(e){var t=e.target;r.currentMonth=t.value,r.handleDateChange(e)},this.handleDayChange=function(e){var t=e.target;r.currentDay=t.value,r.handleDateChange(e)},this.handleYearChange=function(e){var t=e.target;r.currentYear=t.value,r.handleDateChange(e)},this.handleDateChange=function(e){var t=r,a=t.currentYear,o=t.currentMonth,n=t.currentDay;r.value=a||o||n?[a||"",o||"",n||""].join("-"):"",r.dateChange.emit(e)},this.handleMonthBlur=function(){r.monthTouched=!0},this.handleDayBlur=function(){r.dayTouched=!0},this.handleYearBlur=function(){r.yearTouched=!0},this.required=!1,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0,this.monthSelect=!1,this.label=void 0,this.name=void 0,this.hint=void 0,this.error=void 0,this.value=void 0,this.customDayErrorMessage=void 0,this.customMonthErrorMessage=void 0,this.customYearErrorMessage=void 0,this.removeDateHint=!1,this.externalValidation=!1,this.invalidDay=!1,this.invalidMonth=!1,this.invalidYear=!1,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0}return e.prototype.connectedCallback=function(){var e=this;s.i.on("languageChanged",(function(){(0,a.f)(e.el)}))},e.prototype.disconnectedCallback=function(){s.i.off("languageChanged")},e.prototype.componentWillLoad=function(){this.parseValueProp()},e.prototype.parseValueProp=function(){var e=(this.value||"").split("-"),r=e[0],t=e[1],a=e[2];this.currentYear=r,this.currentMonth=t,this.currentDay=a},e.prototype.handleValueChange=function(){this.parseValueProp(),this.error=null,this.invalidDay=!1,this.invalidMonth=!1,this.invalidYear=!1},e.prototype.render=function(){var e,r=this,t=this,u=t.required,l=t.label,h=t.name,d=t.hint,m=t.error,f=t.handleDateBlur,c=t.monthSelect,p=t.useFormsPattern,g=t.formHeadingLevel,v=t.formHeading,b=t.removeDateHint,w=t.headerAriaDescribedby,y=this.externalValidation&&(null===(e=this.el)||void 0===e?void 0:e.getAttribute("error"))||m,x=this,D=x.currentYear,S=x.currentMonth,M=x.currentDay,T=c?s.i.t("date-hint-with-select"):s.i.t("date-hint"),N=function(e){return s.i.t(e,function(e){var r=parseInt(D,10),t=parseInt(S,10);return(0,o.g)(e,r,t)}(e))},A="".concat(p&&v?"form-question":""," ").concat(p?"form-description":""," ").concat(p&&l?"input-label":"").trim()||null,C="single"===p||"multiple"===p,Y=(0,n.g)(this.labelHeaderLevel),z=w?"header-message":null,k=null;if(C){var H=(0,n.g)(g);k=(0,a.h)(a.F,null,v&&(0,a.h)(H,{id:"form-question",part:"form-header"},v),(0,a.h)("div",{id:"form-description"},(0,a.h)("slot",{name:"form-description"})))}var q=c?(0,a.h)("div",{class:"usa-form-group usa-form-group--month usa-form-group--select"},(0,a.h)("va-select",{label:s.i.t("month"),name:h?"".concat(h,"Month"):"Month","aria-labelledby":A,invalid:this.invalidMonth,onVaSelect:this.handleMonthChange,onBlur:this.handleMonthBlur,class:"usa-form-group--month-select",reflectInputError:"month-range"===y,value:S?String(parseInt(S,10)):S,required:u,hideRequiredText:!0,error:this.invalidMonth?N(y):null,showError:!1,messageAriaDescribedby:s.i.t("date-hint-month-select")},o.m&&o.m.map((function(e){return(0,a.h)("option",{value:e.value,selected:e.value===parseInt(S,10)},e.label)})))):(0,a.h)("div",{class:"usa-form-group usa-form-group--month"},(0,a.h)("va-text-input",{label:s.i.t("month"),name:h?"".concat(h,"Month"):"Month",maxlength:2,pattern:"[0-9]*","aria-labelledby":A,invalid:this.invalidMonth,value:null==S?void 0:S.toString(),onInput:this.handleMonthChange,onBlur:this.handleMonthBlur,class:"usa-form-group--month-input memorable-date-input",reflectInputError:"month-range"===y,inputmode:"numeric",type:"text",required:u,hideRequiredText:!0,error:this.invalidMonth?N(y):null,"show-input-error":"false",messageAriaDescribedby:s.i.t("date-hint-month")})),_=(0,i.c)({"usa-legend":!0,"usa-label--error":y}),B=(0,a.h)(a.F,null,l,"multiple"===p?(0,a.h)("span",{id:"header-message",class:"usa-sr-only"},l):w&&(0,a.h)("span",{id:"header-message",class:"usa-sr-only"},w));return(0,a.h)(a.H,{onBlur:f},k,(0,a.h)("div",{class:"input-wrap"},(0,a.h)("fieldset",{class:"usa-form usa-fieldset"},(0,a.h)("legend",{class:_,id:"input-label",part:"legend"},l&&Y?(0,a.h)(Y,{"aria-describedby":z},B):(0,a.h)(a.F,null,B),u&&(0,a.h)("span",{class:"usa-label--required"}," ",s.i.t("required")),d&&(0,a.h)("div",{class:"usa-hint",id:"hint"},d)),!b&&(0,a.h)("span",{class:"usa-hint",id:"dateHint"},T),(0,a.h)("span",{id:"error-message",role:"alert"},y&&(0,a.h)(a.F,null,(0,a.h)("span",{class:"usa-sr-only"},s.i.t("error")),(0,a.h)("span",{class:"usa-error-message"},function(e){var t="";return r.invalidDay?t=r.customDayErrorMessage:r.invalidMonth?t=r.customMonthErrorMessage:r.invalidYear&&(t=r.customYearErrorMessage),t||N(e)}(y)))),(0,a.h)("slot",null),(0,a.h)("div",{class:"usa-memorable-date"},q,(0,a.h)("div",{class:"usa-form-group usa-form-group--day"},(0,a.h)("va-text-input",{label:s.i.t("day"),name:h?"".concat(h,"Day"):"Day",maxlength:2,pattern:"[0-9]*",invalid:this.invalidDay,value:null==M?void 0:M.toString(),onInput:this.handleDayChange,onBlur:this.handleDayBlur,class:"usa-form-group--day-input memorable-date-input",reflectInputError:"day-range"===y,inputmode:"numeric",type:"text",required:u,hideRequiredText:!0,error:this.invalidDay?N(y):null,"show-input-error":"false",messageAriaDescribedby:s.i.t("date-hint-day")})),(0,a.h)("div",{class:"usa-form-group usa-form-group--year"},(0,a.h)("va-text-input",{label:s.i.t("year"),name:h?"".concat(h,"Year"):"Year",maxlength:4,pattern:"[0-9]*",invalid:this.invalidYear,value:null==D?void 0:D.toString(),onInput:this.handleYearChange,onBlur:this.handleYearBlur,class:"usa-form-group--year-input memorable-date-input",reflectInputError:"year-range"===y,inputmode:"numeric",type:"text",required:u,hideRequiredText:!0,error:this.invalidYear?N(y):null,"show-input-error":"false",messageAriaDescribedby:s.i.t("date-hint-year")}))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{value:["handleValueChange"]}},enumerable:!1,configurable:!0}),e}();u.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}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:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint,.usa-fieldset{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-form{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}@media all and (min-width: 30em){.usa-form{max-width:20rem}}.usa-form abbr[title=required]{text-decoration:none}.usa-form .usa-input,.usa-form .usa-range,.usa-form .usa-select,.usa-form .usa-textarea{max-width:none}.usa-form .usa-input--2xs,.usa-form .usa-input-group--2xs{max-width:5ex}.usa-form .usa-input--xs,.usa-form .usa-input-group--xs{max-width:9ex}.usa-form .usa-input--sm,.usa-form .usa-input--small,.usa-form .usa-input-group--sm,.usa-form .usa-input-group--small{max-width:13ex}.usa-form .usa-input--md,.usa-form .usa-input--medium,.usa-form .usa-input-group--md,.usa-form .usa-input-group--medium{max-width:20ex}.usa-form .usa-input--lg,.usa-form .usa-input-group--lg{max-width:30ex}.usa-form .usa-input--xl,.usa-form .usa-input-group--xl{max-width:40ex}.usa-form .usa-input--2xl,.usa-form .usa-input-group--2xl{max-width:50ex}.usa-form .usa-button{margin-top:0.5rem}@media all and (min-width: 30em){.usa-form .usa-button{margin-top:1.5rem}}.usa-form a:where(:not(.usa-button)){color:#005ea2;text-decoration:underline}.usa-form a:where(:not(.usa-button)):visited{color:#54278f}.usa-form a:where(:not(.usa-button)):hover{color:#1a4480}.usa-form a:where(:not(.usa-button)):active{color:#162e51}.usa-form a:where(:not(.usa-button)):focus{outline:0.25rem solid #2491ff;outline-offset:0rem}@media all and (min-width: 30em){.usa-form--large{max-width:30rem}}.usa-show-password{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;cursor:pointer}.usa-show-password:visited{color:#54278f}.usa-show-password:hover{color:#1a4480}.usa-show-password:active{color:#162e51}.usa-show-password:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-show-password:hover,.usa-show-password.usa-button--hover,.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password:disabled.usa-button--hover,.usa-show-password[aria-disabled=true].usa-button--hover,.usa-show-password:active,.usa-show-password.usa-button--active,.usa-show-password:disabled:active,.usa-show-password[aria-disabled=true]:active,.usa-show-password:disabled.usa-button--active,.usa-show-password[aria-disabled=true].usa-button--active,.usa-show-password:disabled:focus,.usa-show-password[aria-disabled=true]:focus,.usa-show-password:disabled.usa-focus,.usa-show-password[aria-disabled=true].usa-focus,.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-show-password.usa-button--hover{color:#1a4480}.usa-show-password.usa-button--active{color:#162e51}.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:GrayText}}.usa-form__note,.usa-show-password{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:0.93rem;line-height:1.3;float:right;margin:0.25rem 0 1rem}.usa-fieldset{border:none;margin:0;padding:0}.usa-legend{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-form-group{margin-top:1.5rem}.usa-form-group .usa-label:first-child{margin-top:0}.usa-form-group--error{border-left-width:0.25rem;border-left-color:#b50909;border-left-style:solid;padding-left:1rem;position:relative}@media all and (min-width: 64em){.usa-form-group--error{margin-left:-1.25rem}}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-memorable-date{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.usa-memorable-date [type=number]{-moz-appearance:textfield}.usa-memorable-date [type=number]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}.usa-memorable-date [type=number]::-webkit-contacts-auto-fill-button{visibility:hidden;display:none !important;pointer-events:none;height:0;width:0;margin:0}.usa-memorable-date .usa-form-group{margin-top:1rem}.usa-form-group--day,.usa-form-group--month,.usa-form-group--year{-ms-flex:0 1 auto;flex:0 1 auto;margin-right:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.usa-form-group--day input,.usa-form-group--month input{width:3rem}.usa-form-group--month select{width:15rem}.usa-form-group--year input{width:4.5rem}#error-message{margin-bottom:0.75rem}#error-message,#input-error-message{color:var(--vads-color-secondary-dark);display:block;font-weight:700;font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.3rem solid var(--vads-color-secondary-dark);padding-left:1.25rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-1.4375rem;}}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}:host{display:block;font-family:var(--font-source-sans);margin-top:24px}#error-message{margin-bottom:0}.usa-hint{display:block}slot:not([name])::slotted(*:last-child){margin-bottom:0.5rem}va-select::part(label),va-text-input::part(label){margin-top:0;margin-bottom:12px}va-text-input::part(validation){display:none}.usa-memorable-date{margin-top:16px;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.usa-memorable-date .usa-form-group{margin-top:0px}.usa-form-group--month{margin-right:16px}.usa-form-group--month-input{width:48px}.usa-form-group--month-select{width:15rem}.usa-form-group--day-input{width:3rem}.usa-form-group--year-input{width:4.5rem}@media (max-width: 480px){.usa-form-group--month-select{width:100%}.usa-form-group--select{-ms-flex:0 1 50%;flex:0 1 50%;width:50%}}'}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 5705.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([[4569,5705],{4569:function(a,t,r){r.r(t),r.d(t,{c:function(){return e}});var s,o={exports:{}};s=o,function(){var a={}.hasOwnProperty;function t(){for(var r=[],s=0;s<arguments.length;s++){var o=arguments[s];if(o){var e=typeof o;if("string"===e||"number"===e)r.push(o);else if(Array.isArray(o)){if(o.length){var n=t.apply(null,o);n&&r.push(n)}}else if("object"===e)if(o.toString===Object.prototype.toString)for(var i in o)a.call(o,i)&&o[i]&&r.push(i);else r.push(o.toString())}}return r.join(" ")}s.exports?(t.default=t,s.exports=t):window.classNames=t}();var e=o.exports},5705:function(a,t,r){r.r(t),r.d(t,{va_tag_status:function(){return e}});var s=r(7911),o=r(4569),e=function(){function a(a){(0,s.r)(this,a),this.status="informational",this.text=void 0}return a.prototype.componentWillLoad=function(){["informational","warning","success","error"].includes(this.status)||(this.status="informational")},a.prototype.render=function(){var a,t=this.status,r=this.text,e=(0,o.c)(((a={"va-tag-status":!0})["va-tag-status--".concat(t)]=!0,a));return(0,s.h)(s.H,{key:"5e90713b9bb5af570cfa3abbc903c69889eddb62",class:e,role:"status"},(0,s.h)("va-icon",{key:"1e682d375e93cf2cdff55879853f96232502f37b",icon:{informational:"info",warning:"warning",success:"check_circle",error:"error"}[t],size:3,class:"va-tag-status__icon","aria-hidden":"true"}),(0,s.h)("span",{key:"cffeddbcf5595c07435e0f852650b00fcb4aa6fa",class:"usa-sr-only"},"Status"),(0,s.h)("span",{key:"4d38b3ba31d256a8b3002df4f112bc4a30359343",class:"va-tag-status__text"},r))},Object.defineProperty(a.prototype,"el",{get:function(){return(0,s.g)(this)},enumerable:!1,configurable:!0}),a}();e.style=".usa-sr-only{position:absolute;left:-999em;right:auto}:host(.va-tag-status){display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:0 0 auto;flex:0 0 auto;width:auto;gap:var(--vads-spacing-0p5);padding:1px var(--vads-spacing-1);border-width:1px;border-style:solid;border-radius:2px}.va-tag-status__icon{color:var(--vads-color-white)}:host(.va-tag-status[status=informational]){background:var(--vads-color-info-darker);border-color:var(--vads-color-info-darker)}:host(.va-tag-status[status=success]){background:var(--vads-color-success-darker);border-color:var(--vads-color-success-darker)}:host(.va-tag-status[status=error]){background:var(--vads-color-error-dark);border-color:var(--vads-color-error-dark)}.va-tag-status__text{color:var(--vads-color-white);font-size:var(--vads-font-size-source-sans-normalized);font-weight:var(--font-weight-bold);line-height:1.35}:host(.va-tag-status[status=warning]){background:var(--vads-color-feedback-border-warning-on-dark);border-color:var(--vads-color-warning-darker)}:host(.va-tag-status[status=warning]) .va-tag-status__icon{color:unset}:host(.va-tag-status[status=warning]) .va-tag-status__text{color:var(--vads-color-base)}"}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[606],{606:function(e,t,r){r.r(t),r.d(t,{va_sidenav:function(){return a}});var n=r(7911),a=function(){function e(e){var t=this;(0,n.r)(this,e),this.isDesktop=window.innerWidth>=768,this.iconBackgroundColorStyle=function(){return{backgroundColor:"var(--".concat(t.iconBackgroundColor,")")}},this.ariaLabel="Related pages menu",this.header=void 0,this.iconName=void 0,this.iconBackgroundColor="vads-color-primary"}return e.prototype.handleResize=function(){this.isDesktop=window.innerWidth>=768,(0,n.f)(this)},e.prototype.setOnlyOneCurrentPage=function(){this.el.querySelectorAll("va-sidenav-item[current-page], va-sidenav-submenu[current-page]").forEach((function(e,t){t>0&&e.removeAttribute("current-page")}))},e.prototype.setupCurrentPageObserver=function(){var e=this;this.mutationObserver=new MutationObserver((function(t){var r=t.filter((function(e){return"attributes"===e.type&&"current-page"===e.attributeName}));if(r.length>0){var n=r.find((function(e){var t=e.target.getAttribute("current-page");return null!==t&&"false"!==t}));if(n){var a=n.target;e.el.querySelectorAll("va-sidenav-item[current-page], va-sidenav-submenu[current-page]").forEach((function(e){e!==a&&e.removeAttribute("current-page")}))}}})),this.mutationObserver.observe(this.el,{attributes:!0,attributeFilter:["current-page"],subtree:!0})},e.prototype.componentWillLoad=function(){this.setOnlyOneCurrentPage()},e.prototype.componentDidLoad=function(){this.setupCurrentPageObserver()},e.prototype.disconnectedCallback=function(){this.mutationObserver&&this.mutationObserver.disconnect()},e.prototype.render=function(){return this.isDesktop?(0,n.h)(n.H,null,(0,n.h)("nav",{"aria-label":this.ariaLabel},this.header&&(0,n.h)("span",{class:"va-sidenav__header"},this.iconName?(0,n.h)("span",{class:"va-sidenav__icon-background",style:this.iconBackgroundColorStyle()},(0,n.h)("va-icon",{icon:this.iconName})):null,this.header),(0,n.h)("div",{role:"list",class:"va-sidenav__list"},(0,n.h)("slot",null)))):(0,n.h)(n.H,null,(0,n.h)("va-accordion",{"open-single":!0},(0,n.h)("va-accordion-item",{bordered:!0,header:this.ariaLabel},(0,n.h)("nav",{"aria-label":this.ariaLabel},(0,n.h)("div",{role:"list",class:"va-sidenav__list"},(0,n.h)("slot",null))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),e}();a.style=":host{display:block}.va-sidenav__list{margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;font-size:var(--vads-font-size-source-sans-normalized);line-height:var(--vads-font-line-height-2);border-top:1px solid var(--vads-color-base-lighter)}.va-sidenav__header{-ms-flex-align:center;align-items:center;color:var(--vads-color-base);display:-ms-flexbox;display:flex;font-family:var(--font-serif);font-size:var(--font-size-h4);font-weight:var(--font-weight-bold);margin-bottom:12px;margin-top:0}.va-sidenav__header .va-sidenav__icon-background{font-size:24px}.va-sidenav__icon-background{color:var(--vads-color-white);border-radius:50%;width:40px;height:40px;margin-right:8px;position:relative}.va-sidenav__icon-background va-icon{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}va-accordion-item::part(accordion-header){padding-left:1.4rem}"}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6095.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([[4569,6095],{4569:function(t,e,n){n.r(e),n.d(e,{c:function(){return r}});var o,i={exports:{}};o=i,function(){var t={}.hasOwnProperty;function e(){for(var n=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var r=typeof i;if("string"===r||"number"===r)n.push(i);else if(Array.isArray(i)){if(i.length){var s=e.apply(null,i);s&&n.push(s)}}else if("object"===r)if(i.toString===Object.prototype.toString)for(var a in i)t.call(i,a)&&i[a]&&n.push(a);else n.push(i.toString())}}return n.join(" ")}o.exports?(e.default=e,o.exports=e):window.classNames=e}();var r=i.exports},6095:function(t,e,n){n.r(e),n.d(e,{va_back_to_top:function(){return r}});var o=n(7911),i=n(4569);!function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(){for(var t=window.document,e=i(t);e;)e=i(t=e.ownerDocument);return t}(),e=[],n=null,o=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?u(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,r=null,s=null;this.POLL_INTERVAL?r=n.setInterval(o,this.POLL_INTERVAL):(a(n,"resize",o,!0),a(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(r&&t.clearInterval(r),c(t,"resize",o,!0)),c(e,"scroll",o,!0),s&&s.disconnect()}));var l=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=l){var d=i(e);d&&this._monitorIntersections(d.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||t,r=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var r=i(n);if((n=r&&r.ownerDocument)==e)return!0}return!1}));if(!r){var s=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),s(),e!=o){var a=i(e);a&&this._unmonitorIntersections(a.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!n||o){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var i=o.element,s=d(i),a=this._rootContainsTarget(i),c=o.entry,l=t&&a&&this._computeTargetAndRootIntersection(i,s,e),h=null;this._rootContainsTarget(i)?n&&!this.root||(h=e):h={top:0,bottom:0,left:0,right:0,width:0,height:0};var u=o.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:h,intersectionRect:l});c?t&&a?this._hasCrossedThreshold(c,u)&&this._queuedEntries.push(u):c&&c.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,i,r){if("none"!=window.getComputedStyle(e).display){for(var s=i,a=p(e),c=!1;!c&&a;){var h=null,f=1==a.nodeType?window.getComputedStyle(a):{};if("none"==f.display)return null;if(a==this.root||9==a.nodeType)if(c=!0,a==this.root||a==t)n&&!this.root?!o||0==o.width&&0==o.height?(a=null,h=null,s=null):h=o:h=r;else{var m=p(a),b=m&&d(m),v=m&&this._computeTargetAndRootIntersection(m,b,r);b&&v?(a=m,h=u(b,v)):(a=null,s=null)}else{var g=a.ownerDocument;a!=g.body&&a!=g.documentElement&&"visible"!=f.overflow&&(h=d(a))}if(h&&(s=l(h,s)),!s)break;a=a&&p(a)}return s}},s.prototype._getRootRect=function(){var e;if(this.root&&!m(this.root))e=d(this.root);else{var n=m(this.root)?this.root:t,o=n.documentElement,i=n.body;e={top:0,left:0,right:o.clientWidth||i.clientWidth,width:o.clientWidth||i.clientWidth,bottom:o.clientHeight||i.clientHeight,height:o.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},s.prototype._rootIsInDom=function(){return!this.root||f(t,this.root)},s.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return f(n,e)&&(!this.root||n==e.ownerDocument)},s.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=r}function i(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=h(t.rootBounds),this.boundingClientRect=h(t.boundingClientRect),this.intersectionRect=h(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=function(t,e){var n=null;return function(){n||(n=setTimeout((function(){t(),n=null}),e))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function a(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function c(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function l(t,e){var n=Math.max(t.top,e.top),o=Math.min(t.bottom,e.bottom),i=Math.max(t.left,e.left),r=Math.min(t.right,e.right),s=r-i,a=o-n;return s>=0&&a>=0&&{top:n,bottom:o,left:i,right:r,width:s,height:a}||null}function d(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function u(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function f(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?i(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function m(t){return t&&9===t.nodeType}}();var r=function(){function t(t){(0,o.r)(this,t),this.revealed=!1,this.isDocked=!1}return t.prototype.componentDidLoad=function(){var t=this;new IntersectionObserver((function(e){t.isDocked=e[0].isIntersecting||e[0].boundingClientRect.y<0}),{threshold:1}).observe(this.el),new IntersectionObserver((function(e){t.revealed=e[0].boundingClientRect.y<0})).observe(this.revealPixel)},t.prototype.navigateToTop=function(t){t.preventDefault();var e=document.querySelector("h1");return e&&(e.setAttribute("tabindex","-1"),e.focus(),e.addEventListener("blur",(function(){return e.removeAttribute("tabindex")}))),window.scrollTo(0,0)},t.prototype.render=function(){var t=this,e=this.el.getBoundingClientRect().width;return this.el.style.setProperty("--undocked-width","".concat(e,"px")),(0,o.h)(o.H,{key:"bd004d092bc68aea2786b9a8e40cd62c974ad440"},(0,o.h)("span",{key:"e47bd35d3a5a00d602eb552c3fcce8bdb2587c15",id:"marginWrapper"},(0,o.h)("span",{key:"af22c249d82cbeea13d9685d8a0c00eed607e90a",class:"reveal-point",ref:function(e){return t.revealPixel=e}}),(0,o.h)("div",{key:"dd0d1f753715f49fb5393e42d19af3fd7deef117",class:(0,i.c)({docked:this.isDocked,reveal:this.revealed})},(0,o.h)("a",{key:"da20f05e0cde591bb4d1009dda179eac849dff64",href:"#ds-back-to-top",onClick:this.navigateToTop.bind(this)},(0,o.h)("span",{key:"14134a3f5a6b2e5a894aeda3da9972afa97a4e9b"},(0,o.h)("va-icon",{key:"489c861c78b56199b9cd7e6a02ebfaac9576773d",icon:"arrow_upward",size:3}),(0,o.h)("span",{key:"47caa561588233ca2ed1e06c7450037c70526afd",class:"sr-only"},"Back to top")," ",(0,o.h)("span",{key:"d8dab206a17ca5238a3a0de1f66c1602a1b275b4",class:"text"},"Back to top"))))))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),t}();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}@-webkit-keyframes slideInUp{from{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInUp{from{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}to{visibility:hidden;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}}@keyframes slideOutDown{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}to{visibility:hidden;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role='option']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:5px;color:var(--vads-button-color-text-primary-alt-on-light);cursor:pointer;display:inline-block;font-family:var(--font-source-sans);font-size:1rem;font-weight:700;line-height:1;padding:0.625rem 1.25rem;text-align:center;text-decoration:none}.sr-only{border:0;clip:rect(0, 0, 0, 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role='option']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}#marginWrapper{display:block;width:100%;height:44px;margin-top:2.5rem;margin-bottom:1.25rem}div{position:fixed;bottom:0;width:100%}.reveal-point{position:absolute;width:1px;height:1px;top:var(--reveal-breakpoint, 37.5rem);left:0;}a{border-bottom-right-radius:0;border-top-right-radius:0;bottom:0;color:var(--vads-color-link);right:0;background:rgba(255, 255, 255, 0.9);height:48px;width:48px;margin-bottom:0.313rem;opacity:0;padding:0;pointer-events:none;position:absolute;-webkit-transition:background-color 0.25s ease-in;transition:background-color 0.25s ease-in}a:not([disabled]):active,a:not([disabled]):focus{border-radius:5px;outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}a:not([disabled]):hover{border-radius:5px;background-color:var(--vads-color-gray-cool-light);color:var(--vads-color-primary-darker)}div a{display:none}div.reveal a{display:inherit;border-bottom-left-radius:5px;border-top-left-radius:5px;text-decoration:none;pointer-events:auto;opacity:1;-webkit-animation:slideInUp 0.25s;animation:slideInUp 0.25s}div.reveal a>span{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}div:not(.reveal) a{-webkit-animation:slideOutDown 0.25s;animation:slideOutDown 0.25s}@media (prefers-reduced-motion){a{-webkit-transition:none;transition:none}div.reveal a{-webkit-animation:none;animation:none}div:not(.reveal) a{-webkit-animation:none;animation:none}}a>span{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;width:100%}a span.text{display:none;font-weight:700}a span.sr-only{visibility:visible}div.docked{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse}div:not(.docked){max-width:var(--undocked-width)}div:not(.docked):not(.reveal){position:relative}div.docked a{position:relative}va-icon{margin-right:0px}@media (min-width: 768px){a{height:44px;width:44px;padding:0 1rem;text-decoration:none;width:auto}a span.text{color:var(--vads-color-link);display:inline-block;text-decoration:underline}a span.sr-only{visibility:hidden}va-icon{margin-right:4px}}"}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6849.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([[4569,6849],{4569:function(e,t,a){a.r(t),a.d(t,{c:function(){return i}});var o,r={exports:{}};o=r,function(){var e={}.hasOwnProperty;function t(){for(var a=[],o=0;o<arguments.length;o++){var r=arguments[o];if(r){var i=typeof r;if("string"===i||"number"===i)a.push(r);else if(Array.isArray(r)){if(r.length){var n=t.apply(null,r);n&&a.push(n)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)e.call(r,s)&&r[s]&&a.push(s);else a.push(r.toString())}}return a.join(" ")}o.exports?(t.default=t,o.exports=t):window.classNames=t}();var i=r.exports},6849:function(e,t,a){a.r(t),a.d(t,{va_alert_expandable:function(){return i}});var o=a(7911),r=a(4569),i=function(){function e(e){(0,o.r)(this,e),this.componentLibraryAnalytics=(0,o.c)(this,"component-library-analytics",7),this.open=void 0,this.status=void 0,this.trigger=void 0,this.disableAnalytics=!1,this.iconless=!1}return e.prototype.handleResize=function(){this.updateAlertBodyMaxHeight()},e.prototype.toggleOpen=function(){this.disableAnalytics||this.componentLibraryAnalytics.emit({componentName:"va-alert-expandable",action:this.open?"collapse":"expand",details:{triggerText:this.trigger}}),this.open=!this.open},e.prototype.handleKeydown=function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggleOpen())},e.prototype.updateAlertBodyMaxHeight=function(){var e,t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("alert-body");if(t){var a=t.scrollHeight+"px";t.style.setProperty("--calc-max-height","calc("+a+" + 2rem)")}},e.prototype.componentDidLoad=function(){var e=this;requestAnimationFrame((function(){return e.updateAlertBodyMaxHeight()}))},e.prototype.render=function(){var e=this,t=e.status,a=e.open,i=e.iconless,n=(0,r.c)("alert-expandable",t,{"hide-icon":i}),s=(0,r.c)("alert-expandable-body",{open:a,closed:!a});return(0,o.h)(o.H,{key:"5ea0af5f0558d6ee0624e7f92791efd94ba1c4df"},(0,o.h)("div",{key:"4115ea4fec5dfee79cb89b8b286d8a5b7183ed22",class:n},(0,o.h)("a",{key:"8776efb5c735cec192135ba64589249e225786e8",role:"button","aria-controls":"alert-body","aria-expanded":this.open?"true":"false",tabIndex:0,onClick:this.toggleOpen.bind(this),onKeyDown:this.handleKeydown.bind(this),class:"alert-expandable-trigger"},!i&&(0,o.h)("va-icon",{key:"f1bbccd44fa57f2644c3ca837aead419b9172db0",class:"alert-expandable__status-icon",icon:{continue:"lock",error:"info",warning:"warning",info:"info",success:"check_circle"}[t]||"info",size:3}),(0,o.h)("div",{key:"50c53962be3cfad3727704208544d2f748120d2e"},(0,o.h)("span",{key:"445835725b87dd9ab8345d65cd5f308fcd66abf4",class:"alert-expandable-title"},(0,o.h)("span",{key:"e9eaf60e35f3cb32eb97bdf93eb3d4e426cd2c9e",class:"usa-sr-only"},"".concat({continue:"Continue",error:"Error",warning:"Warning",info:"Information",success:"Success"}[t]||"Information"," Alert")," "),this.trigger),(0,o.h)("va-icon",{key:"9b309ac19189390a6b750aee296793f7bcb4aae1",class:"alert-expandable-icon",icon:"chevron_right",size:3}))),(0,o.h)("div",{key:"38c4a4ed76a166335977c226e5dde624600718d5",id:"alert-body",class:s},(0,o.h)("div",{key:"3d61d3a4f7f9baad1e9b20d8bc2ff12bf9942a66",id:"slot-wrap"},(0,o.h)("slot",{key:"dc996601268d23f3af322c18967ad19e526b8a35"})))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),e}();i.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}.usa-sr-only{position:absolute;left:-999em;right:auto}:host{display:block}:host([status=warning]){background-color:var(--vads-alert-color-background-warning-on-light)}:host([status=info]){background-color:var(--vads-alert-color-background-info-on-light)}:host([status=success]){background-color:var(--vads-alert-color-background-success-on-light)}:host([status=continue]){background-color:var(--vads-color-base-lightest)}.alert-expandable-trigger{-ms-flex-align:start;align-items:flex-start;cursor:pointer;display:-ms-flexbox;display:flex;padding:0.75rem}div.warning .alert-expandable-trigger:hover{background-color:var(--vads-color-gold-lighter)}div.info .alert-expandable-trigger:hover{background-color:var(--vads-color-primary-alt-light)}div.success .alert-expandable-trigger:hover{background-color:var(--vads-color-green-lighter)}div.continue .alert-expandable-trigger:hover{background-color:var(--vads-color-base-lighter)}.alert-expandable-title{border-bottom-right-radius:1px;border-bottom:2px dotted var(--vads-color-primary-alt-dark);color:var(--vads-color-base-darker);cursor:pointer;font-weight:600}.alert-expandable:not(.hide-icon) .alert-expandable-body{padding-left:32px;}.alert-expandable-body{overflow:hidden}.alert-expandable-body.closed{opacity:0;max-height:0;visibility:hidden;overflow:hidden}.alert-expandable-body.open{height:auto;opacity:1;-webkit-transition:max-height 700ms 0ms, opacity 500ms 200ms, visibility 500ms 200ms;transition:max-height 700ms 0ms, opacity 500ms 200ms, visibility 500ms 200ms;max-height:var(--calc-max-height)}#slot-wrap{margin:0.75rem}.alert-expandable-icon{display:inline-block;color:var(--vads-color-primary-alt-darkest);font-size:16px;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:-webkit-transform 0.15s linear;transition:-webkit-transform 0.15s linear;transition:transform 0.15s linear;transition:transform 0.15s linear, -webkit-transform 0.15s linear;line-height:1;vertical-align:bottom}a[aria-expanded=true] .alert-expandable-icon{-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-transition:-webkit-transform 0.15s linear;transition:-webkit-transform 0.15s linear;transition:transform 0.15s linear;transition:transform 0.15s linear, -webkit-transform 0.15s linear}.alert-expandable__status-icon{color:var(--vads-color-base-darker);margin-right:8px}::slotted(*:first-child){margin-top:0 !important}::slotted(*:last-child){margin-bottom:0 !important}'}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 9376.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([[4569,9376],{4569:function(e,a,t){t.r(a),t.d(a,{c:function(){return o}});var r,s={exports:{}};r=s,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var s=arguments[r];if(s){var o=typeof s;if("string"===o||"number"===o)t.push(s);else if(Array.isArray(s)){if(s.length){var i=a.apply(null,s);i&&t.push(i)}}else if("object"===o)if(s.toString===Object.prototype.toString)for(var l in s)e.call(s,l)&&s[l]&&t.push(l);else t.push(s.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var o=s.exports},9376:function(e,a,t){t.r(a),t.d(a,{va_alert:function(){return o}});var r=t(7911),s=t(4569),o=function(){function e(e){(0,r.r)(this,e),this.vaComponentDidLoad=(0,r.c)(this,"va-component-did-load",7),this.closeEvent=(0,r.c)(this,"closeEvent",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.status="info",this.disableAnalytics=!1,this.visible=!0,this.closeBtnAriaLabel=void 0,this.closeable=!1,this.fullWidth=!1,this.slim=!1}return e.prototype.closeHandler=function(e){this.closeEvent.emit(e)},e.prototype.getHeadlineText=function(){var e,a,t=null;try{var r=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector('slot[name="headline"]');r&&(t=(s=r.assignedNodes()).length>0?s[0].textContent:null)}catch(e){var s,o=(s=Array.from((null===(a=this.el.shadowRoot)||void 0===a?void 0:a.childNodes)||[])).filter((function(e){return e.nodeType===Node.ELEMENT_NODE&&["H1","H2","H3","H4","H5","H6"].includes(e.tagName)}));t=o.length>0?o[0].textContent:null}finally{return t}},e.prototype.hasHeadlineContent=function(){var e;if(this.el)for(var a=0,t=this.el.children;a<t.length;a++){var r=t[a];if("headline"===r.slot&&(null===(e=r.textContent)||void 0===e?void 0:e.trim()))return!0}return!1},e.prototype.updateCloseAriaLabelWithHeadlineText=function(){var e=this.getHeadlineText();this.closeBtnAriaLabel="Close ".concat(null!=e?e:"this"," notification")},e.prototype.handleAlertBodyClick=function(e){var a=this.getHeadlineText();if(!this.disableAnalytics){var t=e.target;if("A"===(null==t?void 0:t.tagName)){var r={componentName:"va-alert",action:"linkClick",details:{clickLabel:t.innerText,headline:a,status:this.status,closeable:this.closeable}};this.componentLibraryAnalytics.emit(r)}}},e.prototype.componentDidLoad=function(){this.vaComponentDidLoad.emit()},e.prototype.componentDidRender=function(){this.closeBtnAriaLabel||this.updateCloseAriaLabelWithHeadlineText()},e.prototype.componentWillRender=function(){"va-banner-alert"===this.el.id||this.hasHeadlineContent()||(this.slim=!0)},e.prototype.render=function(){var e=this,a=e.visible,t=e.closeable,o=e.slim,i=e.fullWidth,l=this.status;if(-1===["info","warning","error","success","continue"].indexOf(l)&&(l="info"),!a)return(0,r.h)("div",{"aria-live":"polite"});var n=(0,s.c)("usa-alert","usa-alert--".concat(l),{"usa-alert--success":"continue"===l,"usa-alert--slim":o&&!i}),m=(0,s.c)("usa-site-alert",{"usa-site-alert--slim":o,"usa-site-alert--info":"info"===l}),u=(0,r.h)(r.F,null,(0,r.h)("div",{class:"usa-alert__body",onClick:this.handleAlertBodyClick.bind(this)},(0,r.h)("div",null,"continue"===l&&(0,r.h)("va-icon",{class:"va-alert__lock-icon",icon:"lock",size:o?3:4}),!o&&(0,r.h)("slot",{name:"headline"}),(0,r.h)("slot",null))),t&&(0,r.h)("button",{class:"va-alert-close","aria-label":this.closeBtnAriaLabel,onClick:this.closeHandler.bind(this)},(0,r.h)("va-icon",{icon:"close",size:4})));return i?(0,r.h)(r.H,null,(0,r.h)("section",{class:m,"aria-label":this.el.getAttribute("data-label"),role:this.el.getAttribute("data-role")},(0,r.h)("div",{class:n},u))):(0,r.h)(r.H,null,(0,r.h)("div",{role:this.el.getAttribute("data-role"),class:n,"aria-label":this.el.getAttribute("data-label")},u))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();o.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.usa-alert{background-color:#f0f0f0;border-left:0.5rem solid #a9aeb1;color:#1b1b1b}.usa-alert .usa-alert__body{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;padding-bottom:1rem;padding-top:1rem;position:relative}.usa-alert .usa-alert__text{margin-bottom:0;margin-top:0}.usa-alert .usa-alert__text:only-child{padding-bottom:0;padding-top:0}.usa-alert .usa-alert__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:0.9;margin-top:0;margin-bottom:0.5rem}.usa-alert>.usa-list,.usa-alert .usa-alert__body>.usa-list{padding-left:2ch}.usa-alert>.usa-list:last-child,.usa-alert .usa-alert__body>.usa-list:last-child{margin-bottom:0}.usa-alert .usa-alert__body{padding-left:1.25rem;padding-right:1.25rem}.usa-alert .usa-alert__body::before{left:1.0833333333rem}*+.usa-alert{margin-top:1rem}.usa-alert--success{background-color:#ecf3ec;border-left-color:#00a91c}.usa-alert--success .usa-alert__body{color:#1b1b1b;background-color:#ecf3ec;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--success .usa-alert__body::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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--success .usa-alert__body::before{background:none;background-color:#1b1b1b;-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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%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:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--success .usa-alert__body>*{margin-left:2.5rem}.usa-alert--success .usa-alert__body .usa-link{color:#005ea2}.usa-alert--success .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--success .usa-alert__body .usa-link:hover,.usa-alert--success .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--warning{background-color:#faf3d1;border-left-color:#ffbe2e}.usa-alert--warning .usa-alert__body{color:#1b1b1b;background-color:#faf3d1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--warning .usa-alert__body::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%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--warning .usa-alert__body::before{background:none;background-color:#1b1b1b;-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%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%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%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%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%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%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%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%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:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--warning .usa-alert__body>*{margin-left:2.5rem}.usa-alert--warning .usa-alert__body .usa-link{color:#005ea2}.usa-alert--warning .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--warning .usa-alert__body .usa-link:hover,.usa-alert--warning .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--error{background-color:#f4e3db;border-left-color:#d54309}.usa-alert--error .usa-alert__body{color:#1b1b1b;background-color:#f4e3db;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--error .usa-alert__body::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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--error .usa-alert__body::before{background:none;background-color:#1b1b1b;-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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--error .usa-alert__body>*{margin-left:2.5rem}.usa-alert--error .usa-alert__body .usa-link{color:#005ea2}.usa-alert--error .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--error .usa-alert__body .usa-link:hover,.usa-alert--error .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--info{background-color:#e7f6f8;border-left-color:#00bde3}.usa-alert--info .usa-alert__body{color:#1b1b1b;background-color:#e7f6f8;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--info .usa-alert__body::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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--info .usa-alert__body::before{background:none;background-color:#1b1b1b;-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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%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:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--info .usa-alert__body>*{margin-left:2.5rem}.usa-alert--info .usa-alert__body .usa-link{color:#005ea2}.usa-alert--info .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--info .usa-alert__body .usa-link:hover,.usa-alert--info .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--emergency{background-color:#9c3d10;border-left-color:#9c3d10}.usa-alert--emergency .usa-alert__body{color:white;background-color:#9c3d10;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--emergency .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 width%3D%2224%22%3E%3Cpath d%3D%22M0 0h24v24H0z%22 fill%3D%22none%22%2F%3E%3Cpath fill%3D%22%23fff%22 d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--emergency .usa-alert__body::before{background:none;background-color:white;-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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--emergency .usa-alert__body>*{margin-left:2.5rem}.usa-alert--emergency .usa-alert__body .usa-link{color:#dfe1e2}.usa-alert--emergency .usa-alert__body .usa-link:visited{color:#dfe1e2}.usa-alert--emergency .usa-alert__body .usa-link:hover,.usa-alert--emergency .usa-alert__body .usa-link:active{color:#f0f0f0}.usa-alert--slim .usa-alert__body{padding-bottom:0.5rem;padding-top:0.5rem;min-height:0}.usa-alert--slim .usa-alert__body:before{height:1.5rem;top:0.5rem;width:1.5rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--slim .usa-alert__body:before{-webkit-mask-size:1.5rem;mask-size:1.5rem}}.usa-alert--slim .usa-alert__body>*{margin-left:2rem}.usa-alert--slim .usa-alert__body::before{left:1.125rem}.usa-alert--no-icon .usa-alert__body{min-height:0}.usa-alert--no-icon .usa-alert__body:before{display:none}.usa-alert--no-icon .usa-alert__body>*{margin-left:0}.usa-alert--validation .usa-checklist{margin-top:1rem}.usa-site-alert .usa-alert{background-color:#f0f0f0;border-left:0.5rem solid #a9aeb1;color:#1b1b1b}.usa-site-alert .usa-alert .usa-alert__body{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;padding-bottom:1rem;padding-top:1rem;position:relative}.usa-site-alert .usa-alert .usa-alert__text{margin-bottom:0;margin-top:0}.usa-site-alert .usa-alert .usa-alert__text:only-child{padding-bottom:0;padding-top:0}.usa-site-alert .usa-alert .usa-alert__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:0.9;margin-top:0;margin-bottom:0.5rem}.usa-site-alert .usa-alert>.usa-list,.usa-site-alert .usa-alert .usa-alert__body>.usa-list{padding-left:2ch}.usa-site-alert .usa-alert>.usa-list:last-child,.usa-site-alert .usa-alert .usa-alert__body>.usa-list:last-child{margin-bottom:0}.usa-site-alert .usa-alert .usa-alert__body{max-width:64rem;padding-left:1.25rem;padding-right:1.25rem}.usa-site-alert .usa-alert .usa-alert__body::before{left:1.0833333333rem}@media all and (min-width: 64em){.usa-site-alert .usa-alert .usa-alert__body{margin-left:auto;margin-right:auto;padding-left:1.75rem;padding-right:1.75rem}.usa-site-alert .usa-alert .usa-alert__body::before{left:1.5833333333rem}}.usa-site-alert--info .usa-alert{background-color:#e7f6f8;border-left-color:#00bde3}.usa-site-alert--info .usa-alert .usa-alert__body{color:#1b1b1b;background-color:#e7f6f8;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-site-alert--info .usa-alert .usa-alert__body::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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-site-alert--info .usa-alert .usa-alert__body::before{background:none;background-color:#1b1b1b;-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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%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:2rem 2rem;mask-size:2rem 2rem}}.usa-site-alert--info .usa-alert .usa-alert__body>*{margin-left:2.5rem}.usa-site-alert--info .usa-alert .usa-alert__body .usa-link{color:#005ea2}.usa-site-alert--info .usa-alert .usa-alert__body .usa-link:visited{color:#54278f}.usa-site-alert--info .usa-alert .usa-alert__body .usa-link:hover,.usa-site-alert--info .usa-alert .usa-alert__body .usa-link:active{color:#1a4480}.usa-site-alert--emergency .usa-alert{background-color:#9c3d10;border-left-color:#9c3d10}.usa-site-alert--emergency .usa-alert .usa-alert__body{color:white;background-color:#9c3d10;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-site-alert--emergency .usa-alert .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 width%3D%2224%22%3E%3Cpath d%3D%22M0 0h24v24H0z%22 fill%3D%22none%22%2F%3E%3Cpath fill%3D%22%23fff%22 d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-site-alert--emergency .usa-alert .usa-alert__body::before{background:none;background-color:white;-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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%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:2rem 2rem;mask-size:2rem 2rem}}.usa-site-alert--emergency .usa-alert .usa-alert__body>*{margin-left:2.5rem}.usa-site-alert--emergency .usa-alert .usa-alert__body .usa-link{color:#dfe1e2}.usa-site-alert--emergency .usa-alert .usa-alert__body .usa-link:visited{color:#dfe1e2}.usa-site-alert--emergency .usa-alert .usa-alert__body .usa-link:hover,.usa-site-alert--emergency .usa-alert .usa-alert__body .usa-link:active{color:#f0f0f0}.usa-site-alert--slim .usa-alert .usa-alert__body{padding-bottom:0.5rem;padding-top:0.5rem;min-height:0}.usa-site-alert--slim .usa-alert .usa-alert__body:before{height:1.5rem;top:0.5rem;width:1.5rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-site-alert--slim .usa-alert .usa-alert__body:before{-webkit-mask-size:1.5rem;mask-size:1.5rem}}.usa-site-alert--slim .usa-alert .usa-alert__body>*{margin-left:2rem}.usa-site-alert--slim .usa-alert .usa-alert__body::before{left:1.125rem}@media all and (min-width: 64em){.usa-site-alert--slim .usa-alert .usa-alert__body::before{left:1.625rem}}.usa-site-alert--no-icon .usa-alert .usa-alert__body{min-height:0}.usa-site-alert--no-icon .usa-alert .usa-alert__body:before{display:none}.usa-site-alert--no-icon .usa-alert .usa-alert__body>*{margin-left:0}:host{display:block;position:relative}:host ::slotted([slot=headline]){font-size:21.28px;margin-top:0;margin-bottom:8px;font-family:var(--font-serif);word-wrap:break-word}.va-alert-close{padding:6px;width:auto;color:var(--vads-color-base-darkest);font-size:1.40625rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;background:transparent;display:block;position:absolute;right:0;top:0}.va-alert-close:hover{color:var(--vads-color-base)}.usa-alert--slim .va-alert-close{margin:-0.25rem 0}:host([closeable]:not([closeable=false])) .usa-alert .usa-alert__body{padding-right:3.563rem}.usa-alert--continue.usa-alert--success .usa-alert__body::before{-webkit-mask:none;mask:none;background:transparent}.va-alert__lock-icon{position:absolute;top:12px;left:24px}.usa-alert--continue.usa-alert--success.usa-alert--slim .va-alert__lock-icon{position:absolute;top:6px;left:28px}@media screen and (max-width: 1024px){.va-alert__lock-icon{left:12px}.usa-alert--continue.usa-alert--success.usa-alert--slim .va-alert__lock-icon{left:12px}}.usa-site-alert .usa-alert.usa-alert--warning{background-color:var(--vads-color-warning-lighter);border-left-color:var(--vads-color-warning)}.usa-site-alert .usa-alert.usa-alert--success{background-color:var(--vads-color-success-lighter);border-left-color:var(--vads-color-success)}.usa-site-alert .usa-alert.usa-alert--error{background-color:var(--vads-color-error-lighter);border-left-color:var(--vads-color-error)}'}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 9496.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([[4569,6104,9496],{4569:function(n,e,t){t.r(e),t.d(e,{c:function(){return i}});var a,o={exports:{}};a=o,function(){var n={}.hasOwnProperty;function e(){for(var t=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var i=typeof o;if("string"===i||"number"===i)t.push(o);else if(Array.isArray(o)){if(o.length){var r=e.apply(null,o);r&&t.push(r)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var s in o)n.call(o,s)&&o[s]&&t.push(s);else t.push(o.toString())}}return t.join(" ")}a.exports?(e.default=e,a.exports=e):window.classNames=e}();var i=o.exports},6104:function(n,e,t){function a(n){return!Number.isNaN(parseFloat(n))}function o(n,e,t){void 0===t&&(t="slot");var a=n.shadowRoot.querySelector(t).assignedNodes();return null!==e?Array.from(a).filter((function(n){return n.nodeName.toLowerCase()===e})):Array.from(a)}function i(n){return 1===n?"":"s"}function r(n,e){if(void 0===n||""===n)return"".concat(e," character").concat(i(e)," allowed");var t;if(n.length<=e){var a=e-n.length;t="".concat(a," character").concat(i(a)," left")}else a=n.length-e,t="".concat(a," character").concat(i(a)," over limit");return t}function s(n,e){return Array.from({length:e-n+1},(function(e,t){return n+t}))}t.r(e),t.d(e,{S:function(){return u},a:function(){return o},b:function(){return a},c:function(){return h},d:function(){return g},e:function(){return v},f:function(){return r},g:function(){return p},h:function(){return d},i:function(){return f},m:function(){return s},s:function(){return c},u:function(){return y}}),t(7911);var l=function(n){return n&&"object"==typeof n&&1===n.nodeType};function c(n,e){var t=function(n,e){if("string"!=typeof n)return[];if(!e||!l(e))return[];var t=e.shadowRoot.querySelectorAll(n);return Array.from(t)}(n,e);return"string"!=typeof n||l(e)&&e.matches(n)&&t.push(e),t}var u={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(n){return u._entities[n]},escapeHTML:function(n){for(var e="",t=0;t<n.length;t++)e+=n[t],t+1<arguments.length&&(e+=String(arguments[t+1]||"").replace(u._entity,u.getEntity));return e}};function p(n){var e;return(e="string"==typeof n?parseInt(n,10):Math.floor(n))>=1&&e<=6?"h".concat(e):null}function d(n){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(n.tagName)}function f(n){return n&&"false"!==n||!1}function m(n){return"[object Arguments]"===Object.prototype.toString.call(n)}function g(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(n===e)return!0;if("function"==typeof n||"function"==typeof e)return!0;if("object"!=typeof n||"object"!=typeof e)return!1;if(null===n||null===e)return!1;if(n instanceof Date&&e instanceof Date)return n.getTime()===e.getTime();if(n instanceof RegExp&&e instanceof RegExp)return n.source===e.source&&n.global===e.global&&n.multiline===e.multiline&&n.lastIndex===e.lastIndex&&n.ignoreCase===e.ignoreCase;if(m(n)||m(e)){if(!m(n)||!m(e))return!1;var o=Array.prototype.slice;return g(o.call(n),o.call(e),t,a)}if(n.constructor!==e.constructor)return!1;var i=Object.keys(n),r=Object.keys(e);if(0===i.length&&0===r.length)return!0;if(i.length!==r.length)return!1;for(var s=t.length;s--;)if(t[s]===n)return a[s]===e;t.push(n),a.push(e),i.sort(),r.sort();for(var l=i.length-1;l>=0;l--)if(i[l]!==r[l])return!1;for(var c=void 0,u=i.length-1;u>=0;u--)if(!g(n[c=i[u]],e[c],t,a))return!1;return t.pop(),a.pop(),!0}function h(n,e){var t;return function(){for(var a=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];clearTimeout(t),t=setTimeout((function(){return n.apply(a,o)}),e)}}function v(n){if(null!=n){var e="string"==typeof n?parseInt(n,10):n;if(!(e<=0||isNaN(e)))return e}}function y(n,e,t){n&&(n.innerText=r(e,v(t)))}},9496:function(n,e,t){t.r(e),t.d(e,{va_pagination:function(){return s}});var a=t(7911),o=t(4569),i=(t(8181),t(6104)),r=t(4665),s=function(){function n(n){var e=this;(0,a.r)(this,n),this.pageSelect=(0,a.c)(this,"pageSelect",7),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.SHOW_ALL_PAGES=7,this.handlePageSelect=function(n,t){var a,o,i;if(e.pageSelect.emit({page:n}),null===(i=null===(o=null===(a=e.el)||void 0===a?void 0:a.shadowRoot)||void 0===o?void 0:o.activeElement)||void 0===i||i.blur(),e.enableAnalytics){var r={componentName:"va-pagination",action:"linkClick",details:{event:t,"page-number":n}};e.componentLibraryAnalytics.emit(r)}},this.pageNumbers=function(){var n,t,a=e,o=a.page,r=a.pages,s=a.unbounded,l=a.SHOW_ALL_PAGES,c=s?0:1;return r<=l?(0,i.m)(1,r):o<=4?((t=(n=1)+l-2-c)===o&&t++,(0,i.m)(n,t)):o+5-1>r?((n=r-(l-2-1))===o&&n--,t=r,(0,i.m)(n,t)):(n=o-1,t=s?o+2:o+1,(0,i.m)(n,t))},this.handleKeyDown=function(n,t){var a=n.key;if("Enter"===a||" "===a){if(n.preventDefault(),!t)return;e.handlePageSelect(t,"nav-paginate-number")}},this.ariaLabelSuffix="",this.enableAnalytics=!0,this.page=void 0,this.pages=void 0,this.unbounded=!1}return n.prototype.addIcons=function(){var n,e;function t(n){var e="".concat((0,a.a)("/img/sprite.svg"),"#").concat(n);return'<svg\n class="usa-icon"\n aria-hidden="true"\n role="img">\n <use href='.concat(e,"></use>\n </svg>")}var o=null===(n=this.el.shadowRoot)||void 0===n?void 0:n.querySelector("#previous-arrow-icon");o&&(o.innerHTML=t("navigate_before"));var i=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("#next-arrow-icon");i&&(i.innerHTML=t("navigate_next"))},n.prototype.componentDidRender=function(){this.addIcons()},n.prototype.connectedCallback=function(){var n=this;r.i.on("languageChanged",(function(){(0,a.f)(n.el)}))},n.prototype.disconnectedCallback=function(){r.i.off("languageChanged")},n.prototype.renderPreviousButton=function(n,e){var t=this;return 1===this.page?null:(0,a.h)("li",{class:n},(0,a.h)("a",{"aria-label":e,onClick:function(){return t.handlePageSelect(t.page-1,"nav-paginate-number")},onKeyDown:function(n){return t.handleKeyDown(n,t.page-1)},class:"usa-pagination__link usa-pagination__previous-page",href:"javascript:void(0)"},(0,a.h)("div",{id:"previous-arrow-icon"}),(0,a.h)("span",{class:"usa-pagination__link-text"},r.i.t("previous"))))},n.prototype.renderFirstPage=function(n,e){var t=this;return this.pageNumbers().includes(1)?null:(0,a.h)(a.F,null,(0,a.h)("li",{class:n},(0,a.h)("a",{onClick:function(){return t.handlePageSelect(1,"nav-paginate-number")},onKeyDown:function(n){return t.handleKeyDown(n,1)},href:"javascript:void(0)",class:"usa-pagination__button","aria-label":"page 1, first page"},"1")),(0,a.h)("li",{class:e},(0,a.h)("span",{class:"usa-sr-only"},"Ellipsis indicating non-visible pages"),(0,a.h)("span",{"aria-hidden":"true"},"…")))},n.prototype.renderMiddlePages=function(n,e){var t=this,i=this.pageNumbers().map((function(i){var r=(0,o.c)({"usa-pagination__button":!0,"usa-current":t.page===i}),s=n?"page ".concat(i," ").concat(n):"page ".concat(i);return 1===i&&(s="".concat(s,", first page")),i===t.pages&&(s="".concat(s,", last page")),(0,a.h)("li",{class:e},(0,a.h)("a",{onClick:function(){return t.handlePageSelect(i,"nav-paginate-number")},onKeyDown:function(n){return t.handleKeyDown(n,i)},href:"javascript:void(0)",class:r,"aria-current":t.page===i?"page":null,"aria-label":s},i))}));return i},n.prototype.renderLastPage=function(n,e){var t=this;if(this.pageNumbers().includes(this.pages))return null;var o=null,i=null;return this.pages>this.SHOW_ALL_PAGES&&(o=(0,a.h)("li",{class:n},(0,a.h)("span",{class:"usa-sr-only"},"Ellipsis indicating non-visible pages"),(0,a.h)("span",{"aria-hidden":"true"},"…"))),!this.unbounded&&this.pages>this.SHOW_ALL_PAGES&&(i=(0,a.h)("li",{class:e},(0,a.h)("a",{onClick:function(){return t.handlePageSelect(t.pages,"nav-paginate-number")},onKeyDown:function(n){return t.handleKeyDown(n,t.pages)},href:"javascript:void(0)",class:"usa-pagination__button","aria-label":"page ".concat(this.pages,", last page")},this.pages))),(0,a.h)(a.F,null,o,i)},n.prototype.renderNextPageButton=function(n,e){var t=this;return this.page>=this.pages?null:(0,a.h)("li",{class:n},(0,a.h)("a",{"aria-label":e,onClick:function(){return t.handlePageSelect(t.page+1,"nav-paginate-number")},onKeyDown:function(n){return t.handleKeyDown(n,t.page+1)},class:"usa-pagination__link usa-pagination__next-page",href:"javascript:void(0)"},(0,a.h)("span",{class:"usa-pagination__link-text"},r.i.t("next")),(0,a.h)("div",{id:"next-arrow-icon"})))},n.prototype.render=function(){var n=this.ariaLabelSuffix;if(1===this.pages)return null;var e=n?"Previous page ".concat(n):"Previous page",t=n?"Next page ".concat(n):"Next page",i=(0,o.c)({"usa-pagination__item":!0,"usa-pagination__page-no":!0,"va-pagination__item":!0}),r=(0,o.c)({"usa-pagination__item":!0,"usa-pagination__overflow":!0,"va-pagination__item":!0}),s=(0,o.c)({"usa-pagination__item":!0,"usa-pagination__arrow":!0});return(0,a.h)(a.H,null,(0,a.h)("nav",{class:"usa-pagination","aria-label":"Pagination"},(0,a.h)("ul",{class:"usa-pagination__list"},this.renderPreviousButton(s,e),this.renderFirstPage(i,r),this.renderMiddlePages(n,i),this.renderLastPage(r,i),this.renderNextPageButton(s,t))))},Object.defineProperty(n,"assetsDirs",{get:function(){return["../assets"]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),n}();s.style='/* From the USWDS styles: */\n/* https://github.com/uswds/uswds/blob/3dc296ec56cd621fe52d918701fd94621d96a198/src/stylesheets/core/mixins/_focus.scss#L12-L13 */\nbutton:not([disabled]):focus,\nselect:not([disabled]):focus,\na:not([disabled]):focus,\nh1:focus,\ninput:not([disabled]):focus,\ntextarea:not([disabled]):focus,\n#form-question\n[role=\'option\']:focus,\n*[tabindex]:focus, \na.va-sidenav-submenu__link:focus {\n outline: 2px solid var(--vads-color-action-focus-on-light);\n outline-offset: 2px;\n z-index: 2;\n}\n\n/*\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n========================================\n========================================\n========================================\n----------------------------------------\nGENERAL SETTINGS\n----------------------------------------\nRead more about settings and\nUSWDS style tokens in the documentation:\nhttps://designsystem.digital.gov/design-tokens\n----------------------------------------\n*/\n/*\n----------------------------------------\nImage path\n----------------------------------------\nRelative image file path\n----------------------------------------\n*/\n/*\n----------------------------------------\nShow compile warnings\n----------------------------------------\nShow Sass warnings when functions and\nmixins use non-standard tokens.\nAND\nShow updates and notifications.\n----------------------------------------\n*/\n/*\n----------------------------------------\nNamespace\n----------------------------------------\n*/\n/*\n----------------------------------------\nPrefix separator\n----------------------------------------\nSet the character the separates\nresponsive and state prefixes from the\nmain class name.\nThe default (":") needs to be preceded\nby two backslashes to be properly\nescaped.\n----------------------------------------\n*/\n/*\n----------------------------------------\nLayout grid\n----------------------------------------\nShould the layout grid classes output\nwith !important\n----------------------------------------\n*/\n/*\n----------------------------------------\nBorder box sizing\n----------------------------------------\nWhen set to true, sets the box-sizing\nproperty of all site elements to\n`border-box`.\n----------------------------------------\n*/\n/*\n----------------------------------------\nFocus styles\n----------------------------------------\n*/\n/*\n----------------------------------------\nIcons\n----------------------------------------\n*/\n/*\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n========================================\n========================================\n========================================\n----------------------------------------\nTYPOGRAPHY SETTINGS\n----------------------------------------\nRead more about settings and\nUSWDS typography tokens in the documentation:\nhttps://designsystem.digital.gov/design-tokens/typesetting/overview/\n----------------------------------------\n*/\n/*\n----------------------------------------\nRoot font size\n----------------------------------------\nSetting $theme-respect-user-font-size to\ntrue sets the root font size to 100% and\nuses ems for media queries\n----------------------------------------\n$theme-root-font-size only applies when\n$theme-respect-user-font-size is set to\nfalse.\n\nThis will set the root font size\nas a specific px value and use px values\nfor media queries.\n\nAccepts true or false\n----------------------------------------\n*/\n/*\n----------------------------------------\nGlobal styles\n----------------------------------------\nAdds basic styling for the following\nunclassed elements:\n\n- paragraph: paragraph text\n- link: links\n- content: paragraph text, links,\n headings, lists, and tables\n----------------------------------------\n*/\n/*\n----------------------------------------\nBroswer compatibility mode\n----------------------------------------\nWhen true, outputs woff and ttf font \nformats in addition to woff2\n----------------------------------------\n*/\n/*\n----------------------------------------\nFont path\n----------------------------------------\nRelative font file path\n----------------------------------------\n*/\n/*\n----------------------------------------\nCustom typeface tokens\n----------------------------------------\nAdd a new custom typeface token if\nyour project uses a typeface not already\ndefined by USWDS.\n----------------------------------------\nUSWDS defines the following tokens\nby default:\n----------------------------------------\n\'georgia\'\n\'helvetica\'\n\'merriweather\'\n\'open-sans\'\n\'public-sans\'\n\'roboto-mono\'\n\'source-sans-pro\'\n\'system\'\n\'tahoma\'\n\'verdana\'\n----------------------------------------\nAdd as many new tokens as you have\ncustom typefaces. Reference your new\ntoken(s) in the type-based font settings\nusing the quoted name of the token.\n\nFor example:\n\n$theme-font-type-cond: \'example-font-token\';\n\ndisplay-name:\nThe display name of your font\n\ncap-height:\nThe height of a 500px `N` in Sketch\n----------------------------------------\nYou should change `example-[style]-token`\nnames to something more descriptive.\n----------------------------------------\n*/\n/*\n----------------------------------------\nType-based font settings\n----------------------------------------\nSet the type-based tokens for your\nproject from the following tokens,\nor from any new font tokens you added in\n$theme-typeface-tokens.\n----------------------------------------\n\'georgia\'\n\'helvetica\'\n\'merriweather\'\n\'open-sans\'\n\'public-sans\'\n\'roboto-mono\'\n\'source-sans-pro\'\n\'system\'\n\'tahoma\'\n\'verdana\'\n----------------------------------------\n*/\n/*\n----------------------------------------\nCustom font stacks\n----------------------------------------\nAdd custom font stacks to any of the\ntype-based fonts. Any USWDS typeface\ntoken already has a default stack.\n\nCustom stacks don\'t need to include the\nfont\'s display name. It will\nautomatically appear at the start of\nthe stack.\n----------------------------------------\nExample:\n$theme-font-type-sans: \'source-sans-pro\';\n$theme-font-sans-custom-stack: "Helvetica Neue", Helvetica, Arial, sans;\n\nOutput:\nfont-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;\n----------------------------------------\n*/\n/*\n----------------------------------------\nAdd any custom font source files\n----------------------------------------\nIf you want USWDS to generate additional\n@font-face declarations, add your font\ndata below, following the example that\nfollows.\n----------------------------------------\nUSWDS automatically generates @font-face\ndeclarations for the following\n\n\'merriweather\'\n\'public-sans\'\n\'roboto-mono\'\n\'source-sans-pro\'\n\nThese typefaces not require custom\nsource files.\n----------------------------------------\nEXAMPLE\n\n- dir:\n Directory relative to $theme-font-path\n- This directory should include fonts saved as\n .woff2\n ExampleSerif-Normal.woff2\n\n$theme-font-serif-custom-src: (\n dir: \'custom/example-serif\',\n roman: (\n 100: false,\n 200: false,\n 300: \'ExampleSerif-Light\',\n 400: \'ExampleSerif-Normal\',\n 500: false,\n 600: false,\n 700: \'ExampleSerif-Bold\',\n 800: false,\n 900: false,\n ),\n italic: (\n 100: false,\n 200: false,\n 300: \'ExampleSerif-LightItalic\',\n 400: \'ExampleSerif-Italic\',\n 500: false,\n 600: false,\n 700: \'ExampleSerif-BoldItalic\',\n 800: false,\n 900: false,\n ),\n);\n----------------------------------------\n*/\n/*\n----------------------------------------\nRole-based font settings\n----------------------------------------\nSet the role-based tokens for your\nproject from the following font-type\ntokens.\n----------------------------------------\n\'cond\'\n\'icon\'\n\'lang\'\n\'mono\'\n\'sans\'\n\'serif\'\n----------------------------------------\n*/\n/*\n----------------------------------------\nType scale\n----------------------------------------\nDefine your project\'s type scale using\nvalues from the USWDS system type scale\n\n1-20\n----------------------------------------\n*/\n/*\n----------------------------------------\nFont weights\n----------------------------------------\nAssign weights 100-900\nOr use `false` for unneeded weights.\n----------------------------------------\n*/\n/*\n----------------------------------------\nGeneral typography settings\n----------------------------------------\nType scale tokens\n----------------------------------------\nmicro: 10px\n1: 12px\n2: 13px\n3: 14px\n4: 15px\n5: 16px\n6: 17px\n7: 18px\n8: 20px\n9: 22px\n10: 24px\n11: 28px\n12: 32px\n13: 36px\n14: 40px\n15: 48px\n16: 56px\n17: 64px\n18: 80px\n19: 120px\n20: 140px\n----------------------------------------\nLine height tokens\n----------------------------------------\n1: 1\n2: 1.15\n3: 1.35\n4: 1.5\n5: 1.62\n6: 1.75\n----------------------------------------\nFont role tokens\n----------------------------------------\n\'ui\'\n\'heading\'\n\'body\'\n\'code\'\n\'alt\'\n----------------------------------------\nMeasure (max-width) tokens\n----------------------------------------\n1: 44ex\n2: 60ex\n3: 64ex\n4: 68ex\n5: 74ex\n6: 88ex\nnone: none\n----------------------------------------\n*/\n/*\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n========================================\n========================================\n========================================\n----------------------------------------\nCOLOR SETTINGS\n----------------------------------------\nRead more about settings and\nUSWDS color tokens in the documentation:\nhttps://designsystem.digital.gov/design-tokens/color\n----------------------------------------\n*/\n/*\n----------------------------------------\nTheme palette colors\n----------------------------------------\n*/\n/*\n----------------------------------------\nState palette colors\n----------------------------------------\n*/\n/*\n----------------------------------------\nGeneral colors\n----------------------------------------\n*/\n/*\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n========================================\n========================================\n========================================\n----------------------------------------\nCOMPONENT SETTINGS\n----------------------------------------\nRead more about settings and\nUSWDS style tokens in the documentation:\nhttps://designsystem.digital.gov/design-tokens\n----------------------------------------\n*/\n/*\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n========================================\n========================================\n========================================\n----------------------------------------\nSPACING SETTINGS\n----------------------------------------\nRead more about settings and\nUSWDS spacing units tokens in the\ndocumentation:\nhttps://designsystem.digital.gov/design-tokens/spacing-units\n----------------------------------------\n*/\n/*\n----------------------------------------\nBorder radius\n----------------------------------------\n2px 2px\n0.5 4px\n1 8px\n1.5 12px\n2 16px\n2.5 20px\n3 24px\n4 32px\n5 40px\n6 48px\n7 56px\n8 64px\n9 72px\n----------------------------------------\n*/\n/*\n----------------------------------------\nColumn gap\n----------------------------------------\n2px 2px\n0.5 4px\n1 8px\n2 16px\n3 24px\n4 32px\n5 40px\n6 48px\n----------------------------------------\n*/\n/*\n----------------------------------------\nGrid container max-width\n----------------------------------------\nmobile\nmobile-lg\ntablet\ntablet-lg\ndesktop\ndesktop-lg\nwidescreen\n----------------------------------------\n*/\n/*\n----------------------------------------\nSite\n----------------------------------------\n*/\n/*\n----------------------------------------\nmap-collect()\n----------------------------------------\nCollect multiple maps into a single\nlarge map\nsource: https://gist.github.com/bigglesrocks/d75091700f8f2be5abfe\n----------------------------------------\n*/\n/*\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n* * * * * ==============================\n========================================\n========================================\n========================================\n----------------------------------------\nUTILITIES SETTINGS\n----------------------------------------\nRead more about settings and\nUSWDS utilities in the documentation:\nhttps://designsystem.digital.gov/utilities\n----------------------------------------\n*/\n/*\n----------------------------------------\nUtility breakpoints\n----------------------------------------\nWhich breakpoints does your project\nneed? Select as `true` any breakpoint\nused by utilities or layout grid\n----------------------------------------\n*/\n/*\n----------------------------------------\nGlobal colors\n----------------------------------------\nThe following palettes will be added to\n- background-color\n- border-color\n- color\n- text-decoration-color\n----------------------------------------\n*/\n/*\n----------------------------------------\nSettings\n----------------------------------------\n*/\n/*\n----------------------------------------\nValues\n----------------------------------------\n*/\n/*\n----------------------------------------\nget-last()\n----------------------------------------\nReturn the last item of a list,\nReturn null if the value is null\n----------------------------------------\n*/\n/*\n----------------------------------------\nappend-important()\n----------------------------------------\nAppend `!important` to a list\n----------------------------------------\n*/\n/*\n----------------------------------------\nde-list()\n----------------------------------------\nTransform a one-element list or arglist\ninto that single element.\n----------------------------------------\n(1) => 1\n((1)) => (1)\n----------------------------------------\n*/\n/*\n----------------------------------------\nuswds-error()\n----------------------------------------\nAllow the system to pass an error as text\nto test error states in unit testing\n----------------------------------------\n*/\n/*\n----------------------------------------\nerror-not-token()\n----------------------------------------\nReturns a common not-a-token error.\n----------------------------------------\n*/\n/*\n----------------------------------------\nget-default()\n----------------------------------------\nReturns the default value from a map\nof project defaults\nget-default("bg-color")\n> $theme-body-background-color\n----------------------------------------\n*/\n/*\n----------------------------------------\nhas-important()\n----------------------------------------\nCheck to see if `!important` is\nbeing passed in a mixin\'s props\n----------------------------------------\n*/\n/*\n----------------------------------------\nmap-deep-get()\n----------------------------------------\n@author Hugo Giraudel\n@access public\n@param {Map} $map - Map\n@param {Arglist} $keys - Key chain\n@return {*} - Desired value\n----------------------------------------\n*/\n/*\n----------------------------------------\nmulti-cat()\n----------------------------------------\nConcatenate two lists\n----------------------------------------\n*/\n/*\n----------------------------------------\nremove()\n----------------------------------------\nRemove a value from a list\n----------------------------------------\n*/\n/*\n----------------------------------------\nsmart-quote()\n----------------------------------------\nQuotes strings\nInspects `px`, `xs`, and `xl` numbers\nLeaves bools as is\n----------------------------------------\n*/\n/*\n----------------------------------------\nstr-replace()\n----------------------------------------\nReplace any substring with another\nstring\n----------------------------------------\n*/\n/*\n----------------------------------------\nstr-split()\n----------------------------------------\nSplit a string at a given separator\nand convert into a list of substrings\n----------------------------------------\n*/\n/*\n----------------------------------------\nstrip-unit()\n----------------------------------------\nRemove the unit of a length\n@author Hugo Giraudel\n@param {Number} $number - Number to remove unit from\n@return {Number} - Unitless number\n----------------------------------------\n*/\n/*\n----------------------------------------\nbase-to-map()\n@TODO: Deprecate and delete\n----------------------------------------\nConvert a single base to a USWDS\nvalue map.\n\nCandidate for deprecation if we remove\nisReadable\n----------------------------------------\n*/\n/*\n----------------------------------------\nto-number()\n----------------------------------------\nCasts a string into a number\n----------------------------------------\n@param {String | Number} $value - Value to be parsed\n@return {Number}\n----------------------------------------\n*/\n/*\n----------------------------------------\nunpack()\n----------------------------------------\nCreate lists of single items from lists\nof lists.\n----------------------------------------\n(1, (2.1, 2.2), 3) --\x3e\n(1, 2.1, 2.2, 3)\n----------------------------------------\n*/\n/*\n----------------------------------------\nget-system-color()\n----------------------------------------\nDerive a system color from its\nfamily, value, and vivid or a passed\nvariable that is, itself, a list\n----------------------------------------\n*/\n/*\n----------------------------------------\nset-theme-color()\n----------------------------------------\nDerive a color from a system color token\nor a hex value\n----------------------------------------\n*/\n/*\n----------------------------------------\ncolor()\n----------------------------------------\nDerive a color from a color shortcode\n----------------------------------------\n*/\n/*\n----------------------------------------\npx-to-rem()\n----------------------------------------\nConverts a value in px to a value in rem\n----------------------------------------\n*/\n/*\n----------------------------------------\nrem-to-user-em()\n----------------------------------------\nConverts a value in rem to a value in\n[user-settings] em for use in media\nqueries\n----------------------------------------\n*/\n/*\n----------------------------------------\npx-to-user-em()\n----------------------------------------\nConverts a value in px to a value in em\n----------------------------------------\n*/\n/*\n----------------------------------------\nrem-to-px()\n----------------------------------------\nConverts a value in rem to a value in px\n----------------------------------------\n*/\n/*\n----------------------------------------\nspacing-multiple()\n----------------------------------------\nConverts a spacing unit multiple into\nthe desired final units (currently rem)\n----------------------------------------\n*/\n/*\n----------------------------------------\nnumber-to-token()\n----------------------------------------\nConverts an integer or numeric value\ninto a system value\n\nEx: 0.5 --\x3e \'05\'\n -1px --\x3e \'neg-1px\'\n----------------------------------------\n*/\n/*\n----------------------------------------\nunits()\n----------------------------------------\nConverts a spacing unit into\nthe desired final units (currently rem)\n----------------------------------------\n*/\n/*\n----------------------------------------\nProject fonts\n----------------------------------------\nCollects font settings in a map for\nlooping.\n----------------------------------------\n*/\n/*\n----------------------------------------\nLuminance ranges\n----------------------------------------\n*/\n/*\n----------------------------------------\nns()\n----------------------------------------\nAdd a namesspace of $type if that\nnamespace is set to output\n----------------------------------------\n*/\n/*\n----------------------------------------\nLine height\n----------------------------------------\n*/\n/*\n----------------------------------------\nMeasure\n----------------------------------------\n*/\n/*\n----------------------------------------\nvalidate-typeface-token()\n----------------------------------------\nCheck to see if a typeface-token exists.\nThrow an error if a passed token does\nnot exist in the typeface-token map.\n----------------------------------------\n*/\n/*\n----------------------------------------\ncap-height()\n----------------------------------------\nGet the cap height of a valid typeface\n----------------------------------------\n*/\n/*\n----------------------------------------\nconvert-to-font-type()\n----------------------------------------\nConverts a font-role token into a\nfont-type token. Leaves font-type tokens\nunchanged.\n----------------------------------------\n*/\n/*\n----------------------------------------\nfont-sources()\n----------------------------------------\nOutputs a list of font sources used in\na @font-face declaration.\n\n$theme-font-browser-compatibility: true - output woff2, woff, ttf\n$theme-font-browser-compatibility: false - output woff2\n\n@param stem: string - [font path]/[custom-src.dir]/[custom-src.[style].[weight]]\n@output: string\n\nfiletypes must be one of the filetypes set in variables/$project-font-face-filetypes (woff, woff2, ttf)\n----------------------------------------\n*/\n/*\n----------------------------------------\nget-font-stack()\n----------------------------------------\nGet a font stack from a style- or\nrole-based font token.\n----------------------------------------\n*/\n/*\n----------------------------------------\nget-typeface-token()\n----------------------------------------\nGet a typeface token from a font-type or\nfont-role token.\n----------------------------------------\n*/\n/*\n----------------------------------------\nnormalize-type-scale()\n----------------------------------------\nNormalizes a specific face\'s optical size\nto a set target\n----------------------------------------\n*/\n/*\n----------------------------------------\nsystem-type-scale()\n----------------------------------------\nGet a value from the system type scale\n----------------------------------------\n*/\n/*\n----------------------------------------\nEasing\n----------------------------------------\n*/\n/* deprecated.scss\n ---\n Occasionally the design system will deprecate\n old variables or functionality. If we replace\n the old functionality with something new, this is a\n place to connect the old functionality to the\n new functionality, in the service of better\n continuity and backwards compatibility within a\n major release cycle.\n\n Note the USWDS version where we deprecated the\n old functionality in a comment.\n\n Be sure to update notifications.scss.\n\n This file should started fresh at each\n major version.\n*/\n/*\n----------------------------------------\nadvanced-color()\n----------------------------------------\nDerive a color from a color triplet:\n[family], [grade], [variant]\n----------------------------------------\n*/\n/*\n----------------------------------------\nis-system-color-token()\n----------------------------------------\nReturn whether a token is a system\ncolor token\n----------------------------------------\n*/\n/*\n----------------------------------------\nis-theme-color-token()\n----------------------------------------\nReturn whether a token is a theme\ncolor token\n----------------------------------------\n*/\n/*\n----------------------------------------\ncolor-token-assignment()\n----------------------------------------\nGet the system token equivalent of any\ntheme color token\n----------------------------------------\n*/\n/*\n----------------------------------------\ndecompose()\n----------------------------------------\nConvert a color token into into a list\nof form [family], [grade], [variant]\nVivid variants return "vivid" as the\nvariant.\nIf neither grade nor variant exists,\nreturns \'null\'\n----------------------------------------\n*/\n/*\n----------------------------------------\ncolor-token-family()\n----------------------------------------\nReturns the family of a color token.\nReturns: color-family\ncolor-token-family("accent-warm-vivid")\n> "accent-warm"\ncolor-token-family("red-50v")\n> "red"\ncolor-token-variant(("red", 50, "vivid"))\n> "red"\n----------------------------------------\n*/\n/*\n----------------------------------------\ncolor-token-grade()\n----------------------------------------\nReturns the grade of a USWDS color token.\nReturns: color-grade\ncolor-token-grade("accent-warm")\n> "root"\ncolor-token-grade("accent-warm-vivid")\n> "root"\ncolor-token-grade("accent-warm-darker")\n> "darker"\ncolor-token-grade("red-50v")\n> 50\ncolor-token-variant(("red", 50, "vivid"))\n> 50\n----------------------------------------\n*/\n/*\n----------------------------------------\nis-color-token()\n----------------------------------------\nReturns whether a given string is a\nUSWDS color token.\n----------------------------------------\n*/\n/*\n----------------------------------------\npow()\n----------------------------------------\nRaises a unitless number to the power\nof another unitless number\nIncludes helper functions\n----------------------------------------\n*/\n/*\n----------------------------------------\nHelper functions\n----------------------------------------\n*/\n/* factorial()\n----------------------------------------\n*/\n/* summation()\n----------------------------------------\n*/\n/* exp-maclaurin()\n----------------------------------------\n*/\n/* ln()\n----------------------------------------\n*/\n/*\n----------------------------------------\ncalculate-grade()\n----------------------------------------\nDerive the grade equivalent any color,\neven non-token colors\n----------------------------------------\n*/\n/*\n----------------------------------------\ncolor-token-type()\n----------------------------------------\nReturns the type of a color token.\nReturns: "system" | "theme"\n----------------------------------------\n*/\n/*\n----------------------------------------\ncolor-token-variant()\n----------------------------------------\nReturns the variant of color token.\nReturns: "vivid" | false\ncolor-token-variant("accent-warm")\n> false\ncolor-token-variant("accent-warm-vivid")\n> "vivid"\ncolor-token-variant("red-50v")\n> "vivid"\ncolor-token-variant(("red", 50, "vivid"))\n> "vivid"\n----------------------------------------\n*/\n/*\n----------------------------------------\nmagic-number()\n----------------------------------------\nReturns the magic number of two color\ngrades. Takes numbers or color tokens.\nmagic-number(50, 10)\nreturn: 40\nmagic-number("red-50", "red-10")\nreturn: 40\n----------------------------------------\n*/\n/*\n----------------------------------------\nwcag-magic-number()\n----------------------------------------\nReturns the magic number of a specific\nwcag grade:\n"AA"\n"AA-Large"\n"AAA"\nwcag-magic-number("AA")\n> 50\n----------------------------------------\n*/\n/*\n----------------------------------------\nis-accessible-magic-number()\n----------------------------------------\nReturns whether two grades achieve\nspecified target color contrast\nReturns: true | false\nis-accessible-magic-number(10, 50, "AA")\n> false\nis-accessible-magic-number(10, 60, "AA")\n> true\n----------------------------------------\n*/\n/*\n----------------------------------------\nnext-token()\n----------------------------------------\nReturns next "darker" or "lighter" color\ntoken of the same token type and variant.\nReturns: color-token | false\nnext-token("accent-warm", "lighter")\n> "accent-warm-light"\nnext-token("gray-10", "lighter")\n> "gray-5"\nnext-token("gray-5", "lighter")\n> "white"\nnext-token("white", "lighter")\n> false\nnext-token("red-50v", "darker")\n> "red-60v"\nnext-token("red-50", "darker")\n> "red-60"\nnext-token("red-80v", "darker")\n> "red-90"\nnext-token("red-90", "darker")\n> "black"\nnext-token("white", "darker")\n> "gray-5"\nnext-token("black", "lighter")\n> "gray-90"\n----------------------------------------\n*/\n/*\n----------------------------------------\nget-link-tokens-from-bg()\n----------------------------------------\nGet accessible link colors for a given\nbackground color\nreturns: link-token, hover-token\nget-link-tokens-from-bg(\n "black",\n "red-60",\n "red-10",\n "AA")\n> "red-10", "red-5"\nget-link-tokens-from-bg(\n "black",\n "red-60v",\n "red-10v",\n "AA-large")\n> "red-60v", "red-50v"\nget-link-tokens-from-bg(\n "black",\n "red-5v",\n "red-60v",\n "AA")\n> "red-5v", "white"\nget-link-tokens-from-bg(\n "black",\n "white",\n "red-60v",\n "AA")\n> "white", "white"\n----------------------------------------\n*/\n/*\n----------------------------------------\ntest-colors()\n----------------------------------------\nCheck to see if all system colors\nfall between the proper relative\nluminance range for their grade.\nHas a couple quirks, as the luminance()\nfunction returns slightly different\nresults than expected.\n----------------------------------------\n*/\n/*\n----------------------------------------\ncolumns()\n----------------------------------------\noutputs a grid-col number based on\nthe number of desired columns in the\n12-column grid\n\nEx: columns(2) --\x3e 6\n grid-col(columns(2))\n----------------------------------------\n*/\n/*\n----------------------------------------\nUSWDS Properties\n----------------------------------------\n*/\n/*\n----------------------------------------\nget-uswds-value()\n----------------------------------------\nFinds and outputs a value from the\nUSWDS standard values.\n\nUsed to build other standard utility\nfunctions and mixins.\n----------------------------------------\n*/\n/*\n----------------------------------------\nget-standard-values()\n----------------------------------------\nGets a map of USWDS standard values\nfor a property\n----------------------------------------\n*/\n/*\n----------------------------------------\nborder-radius()\n----------------------------------------\nGet a border-radius from the system\nborder-radii\n----------------------------------------\n*/\n/*\n----------------------------------------\nfont-weight()\nfw()\n----------------------------------------\nGet a font-weight value from the\nsystem font-weight\n----------------------------------------\n*/\n/*\n----------------------------------------\nfeature()\n----------------------------------------\nGets a valid USWDS font feature setting\n----------------------------------------\n*/\n/*\n----------------------------------------\nflex()\n----------------------------------------\nGets a valid USWDS flex value\n----------------------------------------\n*/\n/*\n----------------------------------------\nfont-family()\nfamily()\n----------------------------------------\nGet a font-family stack from a\nrole-based or type-based font family\n----------------------------------------\n*/\n/*\n----------------------------------------\nletter-spacing()\nls()\n----------------------------------------\nGet a letter-spacing value from the\nsystem letter-spacing\n----------------------------------------\n*/\n/*\n----------------------------------------\nmeasure()\n----------------------------------------\nGets a valid USWDS reading line length\n----------------------------------------\n*/\n/*\n----------------------------------------\nopacity()\n----------------------------------------\nGet an opacity from the system\nopacities\n----------------------------------------\n*/\n/*\n----------------------------------------\norder()\n----------------------------------------\nGet an order value from the\nsystem orders\n----------------------------------------\n*/\n/*\n----------------------------------------\nradius()\n----------------------------------------\nGet a border-radius value from the\nsystem letter-spacing\n----------------------------------------\n*/\n/*\n----------------------------------------\nfont-size()\n----------------------------------------\nGet type scale value from a [family] and\n[scale]\n----------------------------------------\n*/\n/*\n----------------------------------------\nz-index()\nz()\n----------------------------------------\nGet a z-index value from the\nsystem z-index\n----------------------------------------\n*/\n/*\n----------------------------------------\nutility-font()\n----------------------------------------\nGet a normalized font-size in rem from\na family and a type size in either\nsystem scale or project scale\n----------------------------------------\nNot the public-facing function.\nUsed for building the utilities and\nwithholds certain errors.\n----------------------------------------\n*/\n/*\n----------------------------------------\nfamily()\n----------------------------------------\nGet a font-family stack\n----------------------------------------\n*/\n/*\n----------------------------------------\nsize()\n----------------------------------------\nGet a normalized font-size in rem from\na family and a type size in either\nsystem scale or project scale\n----------------------------------------\n*/\n/*\n----------------------------------------\nfont()\n----------------------------------------\nGet a font-family stack\nAND\nGet a normalized font-size in rem from\na family and a type size in either\nsystem scale or project scale\n----------------------------------------\n*/\n/*\n----------------------------------------\ntypeset()\n----------------------------------------\nSets:\n- family\n- size\n- line-height\n----------------------------------------\n*/\n/* stylelint-disable max-nesting-depth */\n/*\n----------------------------------------\n@render-pseudoclass\n----------------------------------------\nBuild a pseucoclass utiliy from values\ncalculated in the @render-utilities-in\nloop\n----------------------------------------\n*/\n/*\n----------------------------------------\n@render-utility\n----------------------------------------\nBuild a utility from values calculated\nin the @render-utilities-in loop\n----------------------------------------\nTODO: Determine the proper use of\nunquote() in the following. Changed to\naccount for a \'interpolation near\noperators will be simplified in a\nfuture version of Sass\' warning.\n----------------------------------------\n*/\n/*\n----------------------------------------\n@render-utilities-in\n----------------------------------------\nThe master loop that sets the building\nblocks of utilities from the values\nin individual rule settings and loops\nthrough all possible variants\n----------------------------------------\n*/\n/* stylelint-enable */\n/* notifications.scss\n ---\n Adds a notification at the top of each USWDS\n compile. Use this file for important notifications\n and updates to the design system.\n\n This file should started fresh at each\n major version.\n\n*/\n/* prettier-ignore */\n/* prettier-ignore */\n.usa-sr-only {\n position: absolute;\n left: -999em;\n right: auto;\n}\n\n.usa-pagination {\n margin-bottom: 1rem;\n margin-top: 1rem;\n font-family: Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;\n font-size: 1.06rem;\n line-height: 1.5;\n color: #1b1b1b;\n background-color: white;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.usa-pagination .usa-icon {\n height: 1.13rem;\n width: 1.13rem;\n}\n\n.usa-pagination__list {\n margin-bottom: 0;\n margin-top: 0;\n list-style-type: none;\n padding-left: 0;\n -ms-flex-align: center;\n align-items: center;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-flow: row nowrap;\n flex-flow: row nowrap;\n -ms-flex-pack: center;\n justify-content: center;\n width: auto;\n}\n\n.usa-pagination__item {\n display: -ms-inline-flexbox;\n display: inline-flex;\n height: 2.5rem;\n -ms-flex-pack: center;\n justify-content: center;\n line-height: 1;\n margin-left: 0.25rem;\n margin-right: 0.25rem;\n min-width: 2.5rem;\n}\n@media all and (min-width: 40em) {\n .usa-pagination__item {\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n }\n}\n\n.usa-pagination__arrow {\n display: none;\n}\n@media all and (min-width: 40em) {\n .usa-pagination__arrow {\n display: inherit;\n }\n}\n\n@media all and (min-width: 40em) {\n .usa-pagination__previous-page {\n margin-right: 1.25rem;\n }\n}\n\n@media all and (min-width: 40em) {\n .usa-pagination__next-page {\n margin-left: 1.25rem;\n }\n}\n\n.usa-pagination__link {\n -ms-flex-align: center;\n align-items: center;\n color: #005ea2;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.usa-pagination__link[disabled] {\n opacity: 0.4 !important;\n pointer-events: none;\n}\n.usa-pagination__link:hover, .usa-pagination__link:focus, .usa-pagination__link:active {\n color: #1a4480;\n}\n.usa-pagination__link:visited {\n color: #005ea2;\n}\n\n.usa-pagination__button {\n -ms-flex-align: center;\n align-items: center;\n border-color: rgba(27, 27, 27, 0.2);\n border-radius: 0.25rem;\n border-style: solid;\n border-width: 1px;\n color: #005ea2;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -ms-flex-pack: center;\n justify-content: center;\n padding: 0.5rem;\n width: 100%;\n}\n.usa-pagination__button:hover, .usa-pagination__button:focus, .usa-pagination__button:active {\n color: #1a4480;\n border-color: #1a4480;\n}\n@media (forced-colors: active) {\n .usa-pagination__button:hover, .usa-pagination__button:focus, .usa-pagination__button:active {\n border: 2px solid transparent;\n }\n}\n\n.usa-pagination .usa-current {\n background-color: #1b1b1b;\n border-color: transparent;\n color: white;\n}\n@media (forced-colors: active) {\n .usa-pagination .usa-current {\n border: 2px solid transparent;\n color: buttonText;\n }\n}\n.usa-pagination .usa-current:hover, .usa-pagination .usa-current:focus, .usa-pagination .usa-current:active {\n background-color: #1b1b1b;\n color: white;\n}\n@media (forced-colors: active) {\n .usa-pagination .usa-current:hover, .usa-pagination .usa-current:focus, .usa-pagination .usa-current:active {\n color: buttontext;\n }\n}\n\n.usa-pagination__overflow {\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-item-align: stretch;\n align-self: stretch;\n display: inherit;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding: 0.5rem;\n}\n\n.usa-icon {\n display: inline-block;\n fill: currentColor;\n height: 1em;\n position: relative;\n width: 1em;\n}\n\n.usa-icon--size-3 {\n height: 1.5rem;\n width: 1.5rem;\n}\n\n.usa-icon--size-4 {\n height: 2rem;\n width: 2rem;\n}\n\n.usa-icon--size-5 {\n height: 2.5rem;\n width: 2.5rem;\n}\n\n.usa-icon--size-6 {\n height: 3rem;\n width: 3rem;\n}\n\n.usa-icon--size-7 {\n height: 3.5rem;\n width: 3.5rem;\n}\n\n.usa-icon--size-8 {\n height: 4rem;\n width: 4rem;\n}\n\n.usa-icon--size-9 {\n height: 4.5rem;\n width: 4.5rem;\n}\n\n.va-pagination__item {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n:host a.usa-pagination__next-page > div,\n:host a.usa-pagination__previous-page > div {\n display: -ms-flexbox;\n display: flex;\n}\n\n:host {\n background-color: var(--vads-color-white);\n border-top: 1px solid var(--vads-color-base-lightest);\n container-type: inline-size;\n display: -ms-flexbox;\n display: flex;\n font-family: var(--font-source-sans);\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n padding: 1.25rem 0 0.625rem;\n width: 100%;\n}\n\nul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\nli {\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n\nbutton {\n -moz-osx-font-smoothing: auto;\n -webkit-font-smoothing: auto;\n background-color: transparent;\n border: 0;\n color: var(--vads-color-link);\n cursor: pointer;\n display: -ms-inline-flexbox;\n display: inline-flex;\n font-family: inherit;\n font-size: 0.89rem;\n font-weight: 400;\n -ms-flex-pack: center;\n justify-content: center;\n line-height: 2;\n padding: 0;\n -webkit-transition: all 0.3s ease-in-out;\n transition: all 0.3s ease-in-out;\n -webkit-transition-property: color, background-color;\n transition-property: color, background-color;\n}\n\n@container (max-width: 480px) {\n .usa-pagination__overflow {\n margin: 0;\n min-width: 2rem;\n padding: 0;\n }\n}'}}]);