@department-of-veterans-affairs/component-library 54.3.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.
- package/Modal.unit.spec.js +1 -0
- package/dist/1214.app.bundle.js +1 -0
- package/dist/1339.app.bundle.js +2 -0
- package/dist/{6850.app.bundle.js → 1351.app.bundle.js} +1 -1
- package/dist/{6830.app.bundle.js → 1365.app.bundle.js} +1 -1
- package/dist/{7481.app.bundle.js → 1450.app.bundle.js} +1 -1
- package/dist/2222.app.bundle.js +2 -0
- package/dist/{7734.app.bundle.js → 2387.app.bundle.js} +1 -1
- package/dist/{4157.app.bundle.js → 2472.app.bundle.js} +1 -1
- package/dist/{3589.app.bundle.js → 2654.app.bundle.js} +2 -2
- package/dist/{2923.app.bundle.js → 2664.app.bundle.js} +2 -2
- package/dist/{7372.app.bundle.js → 2801.app.bundle.js} +2 -2
- package/dist/{3601.app.bundle.js → 2858.app.bundle.js} +2 -2
- package/dist/{6832.app.bundle.js → 3071.app.bundle.js} +1 -1
- package/dist/{6043.app.bundle.js → 3126.app.bundle.js} +1 -1
- package/dist/{4351.app.bundle.js → 3156.app.bundle.js} +1 -1
- package/dist/{7267.app.bundle.js → 3238.app.bundle.js} +1 -1
- package/dist/{6555.app.bundle.js → 4064.app.bundle.js} +1 -1
- package/dist/{6650.app.bundle.js → 4117.app.bundle.js} +2 -2
- package/dist/{2205.app.bundle.js → 4140.app.bundle.js} +1 -1
- package/dist/415.app.bundle.js +1 -0
- package/dist/{4569.app.bundle.js → 4164.app.bundle.js} +2 -2
- package/dist/{5341.app.bundle.js → 4708.app.bundle.js} +2 -2
- package/dist/{1822.app.bundle.js → 4715.app.bundle.js} +2 -2
- package/dist/{5938.app.bundle.js → 5019.app.bundle.js} +2 -2
- package/dist/{6718.app.bundle.js → 5155.app.bundle.js} +1 -1
- package/dist/{9376.app.bundle.js → 5189.app.bundle.js} +2 -2
- package/dist/{5845.app.bundle.js → 5306.app.bundle.js} +2 -2
- package/dist/{5689.app.bundle.js → 5610.app.bundle.js} +1 -1
- package/dist/{5990.app.bundle.js → 5699.app.bundle.js} +2 -2
- package/dist/575.app.bundle.js +2 -0
- package/dist/{5119.app.bundle.js → 5830.app.bundle.js} +2 -2
- package/dist/{7495.app.bundle.js → 6034.app.bundle.js} +2 -2
- package/dist/{7307.app.bundle.js → 6246.app.bundle.js} +2 -2
- package/dist/{2482.app.bundle.js → 6247.app.bundle.js} +1 -1
- package/dist/{7166.app.bundle.js → 6349.app.bundle.js} +2 -2
- package/dist/{960.app.bundle.js → 641.app.bundle.js} +1 -1
- package/dist/{9186.app.bundle.js → 6527.app.bundle.js} +2 -2
- package/dist/{6308.app.bundle.js → 6633.app.bundle.js} +2 -2
- package/dist/{1966.app.bundle.js → 6655.app.bundle.js} +2 -2
- package/dist/6683.app.bundle.js +2 -0
- package/dist/6771.app.bundle.js +1 -0
- package/dist/{8915.app.bundle.js → 6824.app.bundle.js} +2 -2
- package/dist/712.app.bundle.js +2 -0
- package/dist/{4400.app.bundle.js → 7367.app.bundle.js} +2 -2
- package/dist/{2986.app.bundle.js → 7531.app.bundle.js} +1 -1
- package/dist/{6498.app.bundle.js → 7663.app.bundle.js} +1 -1
- package/dist/{3305.app.bundle.js → 7814.app.bundle.js} +2 -2
- package/dist/{2236.app.bundle.js → 7821.app.bundle.js} +1 -1
- package/dist/8175.app.bundle.js +2 -0
- package/dist/82.app.bundle.js +2 -0
- package/dist/8206.app.bundle.js +1 -0
- package/dist/{4780.app.bundle.js → 8495.app.bundle.js} +2 -2
- package/dist/{4996.app.bundle.js → 8735.app.bundle.js} +2 -2
- package/dist/8762.app.bundle.js +2 -1
- package/dist/{6696.app.bundle.js → 8859.app.bundle.js} +1 -1
- package/dist/890.app.bundle.js +2 -0
- package/dist/9288.app.bundle.js +1 -0
- package/dist/{7084.app.bundle.js → 9409.app.bundle.js} +1 -1
- package/dist/9463.app.bundle.js +1 -0
- package/dist/{8463.app.bundle.js → 9670.app.bundle.js} +1 -1
- package/dist/9724.app.bundle.js +2 -0
- package/dist/{5348.app.bundle.js → 9755.app.bundle.js} +2 -2
- package/dist/{8255.app.bundle.js → 9794.app.bundle.js} +2 -2
- package/dist/{8913.app.bundle.js → 9800.app.bundle.js} +2 -2
- package/dist/9915.app.bundle.js +1 -0
- package/dist/{5705.app.bundle.js → 9966.app.bundle.js} +2 -2
- package/dist/app.bundle.js +1 -1
- package/dist/app.bundle.js.LICENSE.txt +1 -1
- package/dist/components/contacts.js +1 -1
- package/dist/components/i18next.js +1 -1
- package/dist/components/types/components.d.ts +2 -2
- package/dist/components/va-file-input2.js +1 -1
- package/dist/components/va-memorable-date.js +1 -1
- package/dist/components/va-omb-info.js +1 -1
- package/dist/components/va-pagination.js +1 -1
- package/dist/components/va-progress-bar2.js +1 -1
- package/dist/components/va-segmented-progress-bar.js +1 -1
- package/package.json +15 -15
- package/dist/0.app.bundle.js +0 -2
- package/dist/12.app.bundle.js +0 -1
- package/dist/141.app.bundle.js +0 -2
- package/dist/251.app.bundle.js +0 -1
- package/dist/272.app.bundle.js +0 -2
- package/dist/323.app.bundle.js +0 -2
- package/dist/3397.app.bundle.js +0 -1
- package/dist/3600.app.bundle.js +0 -1
- package/dist/4432.app.bundle.js +0 -2
- package/dist/4475.app.bundle.js +0 -1
- package/dist/5663.app.bundle.js +0 -2
- package/dist/606.app.bundle.js +0 -1
- package/dist/6095.app.bundle.js +0 -2
- package/dist/6849.app.bundle.js +0 -2
- package/dist/9496.app.bundle.js +0 -2
- package/dist/9851.app.bundle.js +0 -2
- /package/dist/{0.app.bundle.js.LICENSE.txt → 1339.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{141.app.bundle.js.LICENSE.txt → 2222.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{1822.app.bundle.js.LICENSE.txt → 2654.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{1966.app.bundle.js.LICENSE.txt → 2664.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{272.app.bundle.js.LICENSE.txt → 2801.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{2923.app.bundle.js.LICENSE.txt → 2858.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{323.app.bundle.js.LICENSE.txt → 4117.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{3305.app.bundle.js.LICENSE.txt → 4164.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{3589.app.bundle.js.LICENSE.txt → 4708.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{3601.app.bundle.js.LICENSE.txt → 4715.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4400.app.bundle.js.LICENSE.txt → 5019.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4432.app.bundle.js.LICENSE.txt → 5189.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4569.app.bundle.js.LICENSE.txt → 5306.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4780.app.bundle.js.LICENSE.txt → 5699.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4996.app.bundle.js.LICENSE.txt → 575.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5119.app.bundle.js.LICENSE.txt → 5830.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5341.app.bundle.js.LICENSE.txt → 6034.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5348.app.bundle.js.LICENSE.txt → 6246.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5663.app.bundle.js.LICENSE.txt → 6349.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5705.app.bundle.js.LICENSE.txt → 6527.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5845.app.bundle.js.LICENSE.txt → 6633.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5938.app.bundle.js.LICENSE.txt → 6655.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5990.app.bundle.js.LICENSE.txt → 6683.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{6095.app.bundle.js.LICENSE.txt → 6824.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{6308.app.bundle.js.LICENSE.txt → 712.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{6650.app.bundle.js.LICENSE.txt → 7367.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{6849.app.bundle.js.LICENSE.txt → 7814.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{7166.app.bundle.js.LICENSE.txt → 8175.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{7307.app.bundle.js.LICENSE.txt → 82.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{7372.app.bundle.js.LICENSE.txt → 8495.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{7495.app.bundle.js.LICENSE.txt → 8735.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{8255.app.bundle.js.LICENSE.txt → 8762.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{8913.app.bundle.js.LICENSE.txt → 890.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{8915.app.bundle.js.LICENSE.txt → 9724.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{9186.app.bundle.js.LICENSE.txt → 9755.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{9376.app.bundle.js.LICENSE.txt → 9794.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{9496.app.bundle.js.LICENSE.txt → 9800.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{9851.app.bundle.js.LICENSE.txt → 9966.app.bundle.js.LICENSE.txt} +0 -0
package/dist/272.app.bundle.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 272.app.bundle.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[272,4569,6043,7267],{7267:function(n,e,t){t.r(e),t.d(e,{a:function(){return y},b:function(){return b},d:function(){return g},f:function(){return p},g:function(){return h},i:function(){return _},m:function(){return c},v:function(){return v},z:function(){return D}}),t(4665),t(1484);var r=(new Date).getFullYear()+100,a=1900,i=12,o=1,l=1,c=[{label:"January",value:1},{label:"February",value:2},{label:"March",value:3},{label:"April",value:4},{label:"May",value:5},{label:"June",value:6},{label:"July",value:7},{label:"August",value:8},{label:"September",value:9},{label:"October",value:10},{label:"November",value:11},{label:"December",value:12}],u=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],s=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"],f={1:s,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:s,4:u,5:s,6:u,7:s,8:s,9:u,10:s,11:u,12:s},d=["year-range","day-range","month-range","date-error","month-select"];function m(n){return n?"month-select":"month-range"}function v(n){var e=n.component,t=n.year,c=n.month,u=n.day,s=n.monthYearOnly,f=n.yearTouched,v=n.monthTouched,h=n.dayTouched,p=n.monthSelect,b=n.monthOptional;if(t||c||u){var y=g(t,c);e.invalidYear=!1,e.invalidMonth=!1,e.invalidDay=!1;var _=!(s&&b);if(_&&isNaN(c)&&v)return e.invalidMonth=!0,void(e.error=m(p));if(!s&&isNaN(u)&&h)return e.invalidDay=!0,void(e.error="day-range");if(isNaN(t)&&f)return e.invalidYear=!0,void(e.error="year-range");if(e.required&&(!t||_&&!c||!s&&!u)){if(_&&v&&!c)return e.invalidMonth=!0,void(e.error="date-error");if(h&&!u&&!s)return e.invalidDay=!0,void(e.error="date-error");if(f&&!t)return e.invalidYear=!0,void(e.error="date-error")}if(_&&!c&&v)return e.invalidMonth=!0,void(e.error=m(p));if(!u&&!s&&h)return e.invalidDay=!0,void(e.error="day-range");if(!t&&f)return e.invalidYear=!0,void(e.error="year-range");if(_&&c&&(c<o||c>i)&&v)return e.invalidMonth=!0,void(e.error=m(p));if(u&&!s&&(u<l||u>y)&&h)return e.invalidDay=!0,void(e.error="day-range");if(t&&(t<a||t>r)&&f)return e.invalidYear=!0,void(e.error="year-range");if(!c||!v||h||f)return c&&v&&u&&h&&!f?(e.invalidYear=!0,void(e.error="date-error")):void(e.invalidYear||e.invalidMonth||e.invalidDay||e.error&&!d.includes(e.error)||(e.error=null));s?(e.invalidYear=!0,e.error="date-error"):(e.invalidDay=!0,e.error="date-error")}}function h(n,e,t){var o=g(e,t);switch(n){case"month-range":case"month-select":return{start:1,end:i};case"day-range":return{start:1,end:o};case"year-range":return{start:a,end:r};default:return null}}var g=function(n,e){var t;return n&&e?new Date(n,e,0).getDate():(null===(t=f[e])||void 0===t?void 0:t.length)||31},p=function(n,e,t){if(void 0===e&&(e={dateStyle:"full",timeStyle:"short"}),void 0===t&&(t="America/New_York"),n&&n instanceof Date)return n.toLocaleString("en-US",Object.assign(Object.assign({},e),{timeZone:t}))},b=function(n,e){if(n&&n instanceof Date&&e&&e instanceof Date)return n.getTime()>e.getTime()},y=function(n,e){if(n&&n instanceof Date&&e&&e instanceof Date)return n.getTime()<e.getTime()},_=function(n,e){if(n&&n instanceof Date&&e&&e instanceof Date)return n.getFullYear()===e.getFullYear()&&n.getMonth()===e.getMonth()&&n.getDay()===e.getDay()},D=function(n){return"00".concat((n||"").toString()).slice(-2)}},4569:function(n,e,t){t.r(e),t.d(e,{c:function(){return i}});var r,a={exports:{}};r=a,function(){var n={}.hasOwnProperty;function e(){for(var t=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var i=typeof a;if("string"===i||"number"===i)t.push(a);else if(Array.isArray(a)){if(a.length){var o=e.apply(null,a);o&&t.push(o)}}else if("object"===i)if(a.toString===Object.prototype.toString)for(var l in a)n.call(a,l)&&a[l]&&t.push(l);else t.push(a.toString())}}return t.join(" ")}r.exports?(e.default=e,r.exports=e):window.classNames=e}();var i=a.exports},6043:function(n,e,t){function r(n){return!Number.isNaN(parseFloat(n))}function a(n,e,t){void 0===t&&(t="slot");var r=n.shadowRoot.querySelector(t).assignedNodes();return null!==e?Array.from(r).filter((function(n){return n.nodeName.toLowerCase()===e})):Array.from(r)}function i(n){return 1===n?"":"s"}function o(n,e){if(void 0===n||""===n)return"".concat(e," character").concat(i(e)," allowed");var t;if(n.length<=e){var r=e-n.length;t="".concat(r," character").concat(i(r)," left")}else r=n.length-e,t="".concat(r," character").concat(i(r)," over limit");return t}function l(n,e){return Array.from({length:e-n+1},(function(e,t){return n+t}))}t.r(e),t.d(e,{S:function(){return s},a:function(){return a},b:function(){return r},c:function(){return g},d:function(){return h},e:function(){return p},f:function(){return o},g:function(){return f},h:function(){return d},i:function(){return m},m:function(){return l},s:function(){return u},u:function(){return b}}),t(1484);var c=function(n){return n&&"object"==typeof n&&1===n.nodeType};function u(n,e){var t=function(n,e){if("string"!=typeof n)return[];if(!e||!c(e))return[];var t=e.shadowRoot.querySelectorAll(n);return Array.from(t)}(n,e);return"string"!=typeof n||c(e)&&e.matches(n)&&t.push(e),t}var s={_entity:/[&<>"'/]/g,_entities:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},getEntity:function(n){return s._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(s._entity,s.getEntity));return e}};function f(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 m(n){return n&&"false"!==n||!1}function v(n){return"[object Arguments]"===Object.prototype.toString.call(n)}function h(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=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(v(n)||v(e)){if(!v(n)||!v(e))return!1;var a=Array.prototype.slice;return h(a.call(n),a.call(e),t,r)}if(n.constructor!==e.constructor)return!1;var i=Object.keys(n),o=Object.keys(e);if(0===i.length&&0===o.length)return!0;if(i.length!==o.length)return!1;for(var l=t.length;l--;)if(t[l]===n)return r[l]===e;t.push(n),r.push(e),i.sort(),o.sort();for(var c=i.length-1;c>=0;c--)if(i[c]!==o[c])return!1;for(var u=void 0,s=i.length-1;s>=0;s--)if(!h(n[u=i[s]],e[u],t,r))return!1;return t.pop(),r.pop(),!0}function g(n,e){var t;return function(){for(var r=this,a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];clearTimeout(t),t=setTimeout((function(){return n.apply(r,a)}),e)}}function p(n){if(null!=n){var e="string"==typeof n?parseInt(n,10):n;if(!(e<=0||isNaN(e)))return e}}function b(n,e,t){n&&(n.innerText=o(e,p(t)))}},272:function(n,e,t){t.r(e),t.d(e,{va_maintenance_banner:function(){return l}});var r=t(1484),a=t(4569),i=t(7267),o=t(6043),l=(t(4665),function(){function n(n){var e=this;(0,r.r)(this,n),this.closeEvent=(0,r.c)(this,"closeEvent",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.derivePostContent=function(n,e){var t=e.getTime()-n.getTime(),a=Math.floor(t/36e5),o=60*(t/36e5-a),l="".concat(a>0?a+" hours ":""," ").concat(o>0?o+" minutes":"");return(0,i.i)(n,e),(0,r.h)("div",null,(0,r.h)("p",null,(0,r.h)("strong",null,"Date:")," ",(0,i.f)(n,{dateStyle:"full"})),(0,r.h)("p",null,(0,r.h)("strong",null,"Time:")," ",(0,i.f)(n,{hour:"numeric",minute:"numeric",timeZoneName:"short"})),(0,r.h)("p",null,(0,r.h)("strong",null,"Duration:")," ",l))},this.onCloseAlert=function(){if(e.closeEvent.emit(),window.localStorage.setItem("MAINTENANCE_BANNER",e.bannerId),e.maintenanceBannerEl.remove(),!e.disableAnalytics){var n={componentName:"va-maintenance-banner",action:"close",details:{header:(0,i.a)(new Date,new Date(e.maintenanceStartDateTime))?e.upcomingWarnTitle:e.maintenanceTitle,upcomingWarnStartDateTime:e.upcomingWarnStartDateTime,maintenanceStartDateTime:e.maintenanceStartDateTime,maintenanceEndDateTime:e.maintenanceEndDateTime,displayedContent:e.maintenanceBannerContent.innerText}};e.componentLibraryAnalytics.emit(n)}},this.disableAnalytics=!1,this.bannerId=void 0,this.maintenanceStartDateTime=void 0,this.maintenanceEndDateTime=void 0,this.maintenanceTitle=void 0,this.maintenanceTitleHeaderLevel=2,this.upcomingWarnStartDateTime=void 0,this.upcomingWarnTitle=void 0,this.isError=void 0}return n.prototype.render=function(){var n=this,e=this,t=e.upcomingWarnStartDateTime,l=e.maintenanceEndDateTime,c=e.isError,u=e.maintenanceTitleHeaderLevel,s=new Date,f=(0,o.g)(u);if((0,i.a)(s,new Date(t)))return null;if((0,i.b)(s,new Date(l)))return null;if(window.localStorage.getItem("MAINTENANCE_BANNER")!==this.bannerId){var d=this,m=d.upcomingWarnTitle,v=d.maintenanceStartDateTime,h=d.maintenanceTitle,g=(0,i.a)(s,new Date(v))&&!c,p=(0,a.c)({"maintenance-banner":!0,"maintenance-banner--warning":g,"maintenance-banner--error":!g}),b=c?"error":"warning";return(0,r.h)(r.H,null,(0,r.h)("div",{class:p,ref:function(e){return n.maintenanceBannerEl=e}},(0,r.h)("va-icon",{class:"maintenance-banner__icon",icon:b,size:4}),(0,r.h)("div",{class:"maintenance-banner__body"},(0,r.h)(f,{class:"maintenance-banner__title"},g?m:h),(0,r.h)("div",{class:"maintenance-banner__content",ref:function(e){return n.maintenanceBannerContent=e}},g?(0,r.h)("slot",{name:"warn-content"}):(0,r.h)("slot",{name:"maintenance-content"})),(0,r.h)("div",{class:"maintenance-banner__derived-content"},this.derivePostContent(new Date(v),new Date(l)))),(0,r.h)("button",{"aria-label":"Close notification",class:"maintenance-banner__close",onClick:this.onCloseAlert,type:"button"},(0,r.h)("va-icon",{icon:"close",size:4}))))}return null},n}());l.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:5px;color:var(--vads-button-color-text-primary-alt-on-light);cursor:pointer;display:inline-block;font-family:var(--font-source-sans);font-size:1rem;font-weight:700;line-height:1;padding:0.625rem 1.25rem;text-align:center;text-decoration:none}.maintenance-banner{border-top:8px solid;background-color:var(--vads-color-base-lightest);position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.maintenance-banner__content{font-size:1.06rem}.maintenance-banner p{-webkit-margin-before:1em;margin-block-start:1em;-webkit-margin-after:1em;margin-block-end:1em}.maintenance-banner--warning{border-color:var(--vads-color-warning)}.maintenance-banner--error{border-color:var(--vads-color-secondary-dark)}.maintenance-banner__icon{position:absolute;top:18px;left:18px}.maintenance-banner--error .maintenance-banner__icon{color:var(--vads-color-secondary-dark)}.maintenance-banner__title{font-family:var(--font-serif);margin:0 0 8px;font-size:20px}.maintenance-banner__body{padding:16px 56px;position:relative;max-width:1000px;margin:0px auto}.maintenance-banner__close{-ms-flex-item-align:start;align-self:flex-start;color:var(--vads-color-base);margin-top:8px}.maintenance-banner__close:hover{color:var(--vads-color-base)}'}}]);
|
package/dist/323.app.bundle.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 323.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([[323,4569],{4569:function(a,e,o){o.r(e),o.d(e,{c:function(){return t}});var i,r={exports:{}};i=r,function(){var a={}.hasOwnProperty;function e(){for(var o=[],i=0;i<arguments.length;i++){var r=arguments[i];if(r){var t=typeof r;if("string"===t||"number"===t)o.push(r);else if(Array.isArray(r)){if(r.length){var d=e.apply(null,r);d&&o.push(d)}}else if("object"===t)if(r.toString===Object.prototype.toString)for(var n in r)a.call(r,n)&&r[n]&&o.push(n);else o.push(r.toString())}}return o.join(" ")}i.exports?(e.default=e,i.exports=e):window.classNames=e}();var t=r.exports},323:function(a,e,o){o.r(e),o.d(e,{va_radio_option:function(){return t}});var i=o(1484),r=o(4569),t=function(){function a(a){(0,i.r)(this,a),this.radioOptionSelected=(0,i.c)(this,"radioOptionSelected",7),this.name=void 0,this.label=void 0,this.value=void 0,this.checked=!1,this.tile=!1,this.description=void 0,this.disabled=!1,this.ariaDescribedby=void 0}return a.prototype.handleChange=function(){this.radioOptionSelected.emit()},a.prototype.render=function(){var a=this,e=this,o=e.checked,t=e.name,d=e.value,n=e.label,l=e.disabled,s=e.tile,c=e.description,b=this.el.id||t+d,u=(0,r.c)("usa-radio",{"va-radio-option__container--tile":s,"va-radio-option__container--tile--checked":s&&o});return(0,i.h)("div",{key:"a8e3081a6832fa355726b8aca5cc7bf323776a01",class:u,onClick:function(){return a.handleChange()}},(0,i.h)("input",{key:"3f4a6f27b0f6c1b1ea24a2c90894f7c4fb6e4d6f",class:"va-radio-option__input",type:"radio",name:t,value:d,checked:o,disabled:l,id:b+"input"}),(0,i.h)("label",{key:"a59712822831a08a38c35bb9cd2bf210aae67e28",class:"usa-radio__label",htmlFor:b+"input"},n,c&&(0,i.h)("span",{key:"57094f3aad2b5477795350abed8d020203c02688",class:"usa-radio__label-description dd-privacy-hidden","data-dd-action-name":"description"},c)))},Object.defineProperty(a.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),a}();t.style='.usa-radio__label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-radio{background:white}.usa-radio__label{color:#1b1b1b}.usa-radio__label::before{background:white;-webkit-box-shadow:0 0 0 2px #1b1b1b;box-shadow:0 0 0 2px #1b1b1b}@media (forced-colors: active){.usa-radio__label::before{outline:2px solid transparent;outline-offset:2px}}.usa-radio__input:checked+[class*=__label]::before{background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2}.usa-radio__input:disabled+[class*=__label],.usa-radio__input[aria-disabled=true]+[class*=__label]{color:#757575;cursor:not-allowed}@media (forced-colors: active){.usa-radio__input:disabled+[class*=__label],.usa-radio__input[aria-disabled=true]+[class*=__label]{color:GrayText}}.usa-radio__input:disabled+[class*=__label]::before,.usa-radio__input[aria-disabled=true]+[class*=__label]::before{background-color:white;-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-radio__input--tile+[class*=__label]{background-color:white;border:2px solid #c9c9c9;color:#1b1b1b}.usa-radio__input--tile:checked+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-radio__input--tile:checked+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-radio__input--tile:disabled+[class*=__label],.usa-radio__input--tile[aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-radio__input--tile:disabled:checked+[class*=__label],.usa-radio__input--tile:disabled:indeterminate+[class*=__label],.usa-radio__input--tile:disabled[data-indeterminate]+[class*=__label],.usa-radio__input--tile[aria-disabled=true]:checked+[class*=__label],.usa-radio__input--tile[aria-disabled=true]:indeterminate+[class*=__label],.usa-radio__input--tile[aria-disabled=true][data-indeterminate]+[class*=__label]{background-color:white}.usa-radio__input:checked+[class*=__label]::before{-webkit-box-shadow:0 0 0 2px #005ea2, inset 0 0 0 2px white;box-shadow:0 0 0 2px #005ea2, inset 0 0 0 2px white}@media (forced-colors: active){.usa-radio__input:checked+[class*=__label]::before{background-color:ButtonText}}.usa-radio__input:checked:disabled+[class*=__label]::before,.usa-radio__input:checked[aria-disabled=true]+[class*=__label]::before{background-color:#757575;-webkit-box-shadow:0 0 0 2px #757575, inset 0 0 0 2px white;box-shadow:0 0 0 2px #757575, inset 0 0 0 2px white}@media (forced-colors: active){.usa-radio__input:checked:disabled+[class*=__label]::before,.usa-radio__input:checked[aria-disabled=true]+[class*=__label]::before{background-color:GrayText}}.usa-radio__input{position:absolute;left:-999em;right:auto}.usa-radio__input:focus+[class*=__label]::before{outline:0.25rem solid #2491ff;outline-offset:0.25rem}.usa-radio__input--tile+[class*=__label]{border-radius:0.25rem;margin-top:0.5rem;padding:0.75rem 1rem 0.75rem 2.5rem}.usa-radio__input--tile+[class*=__label]::before{left:0.5rem}@media print{.usa-radio__input:checked+[class*=__label]::before{-webkit-box-shadow:inset 0 0 0 2px white, inset 0 0 0 1rem #005ea2, 0 0 0 2px #005ea2;box-shadow:inset 0 0 0 2px white, inset 0 0 0 1rem #005ea2, 0 0 0 2px #005ea2}}.usa-radio__label{cursor:pointer;display:inherit;font-weight:normal;margin-top:0.75rem;padding-left:2rem;position:relative}.usa-radio__label::before{content:" ";display:block;left:0;margin-left:2px;margin-top:0.064rem;position:absolute}.usa-radio__label::before{height:1.25rem;border-radius:99rem;width:1.25rem}.usa-radio__label-description{display:block;font-size:0.93rem;margin-top:0.5rem}va-radio-option{display:block;margin-top:12px}va-radio-option .usa-radio{background:transparent;display:-ms-flexbox;display:flex;margin:0.75rem 0;max-width:480px;cursor:pointer;--vads-button-color-background-primary-on-light:#005ea2;--vads-input-background-color-on-light:#ffffff;--vads-input-border-color-on-light:#565c65;--vads-input-prefix-color-fill-on-light:#757575;--vads-input-prefix-color-text-on-light:#757575;--vads-input-suffix-color-text-on-light:#757575;--vads-input-tile-background-active-on-light:rgba(0, 94, 162, 0.1);--vads-input-tile-border-active-on-light:#005ea2;--vads-input-tile-border-on-light:rgba(27, 27, 27, 0.03);--vads-input-tile-border-override:#c9c9c9}va-radio-option .va-radio-option__container--tile{border-radius:0.25rem;background-color:var(--vads-input-background-color-on-light);border:2px solid var(--vads-input-tile-border-override);color:var(--vads-color-base);padding:0.75rem 1rem 0.75rem 0.5rem;margin:0.5rem 0}va-radio-option .va-radio-option__container--tile--checked{background-color:var(--vads-input-tile-background-active-on-light);border-color:var(--vads-input-tile-border-active-on-light)}va-radio-option input[type=radio].va-radio-option__input{height:1.25rem !important;width:1.25rem;min-width:1.25rem;border:none;-webkit-box-shadow:0 0 0 2px var(--vads-color-base);box-shadow:0 0 0 2px var(--vads-color-base);border-radius:50%;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0.064rem 0 0 4px;opacity:unset;position:static;cursor:pointer}va-radio-option input[type=radio].va-radio-option__input:checked{background:var(--vads-button-color-background-primary-on-light);-webkit-box-shadow:0 0 0 2px var(--vads-button-color-background-primary-on-light), inset 0 0 0 2px var(--vads-input-background-color-on-light);box-shadow:0 0 0 2px var(--vads-button-color-background-primary-on-light), inset 0 0 0 2px var(--vads-input-background-color-on-light)}va-radio-option input[type=radio].va-radio-option__input:checked:focus{outline-offset:4px}va-radio-option .usa-radio__label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0 !important;width:100%;padding-left:0.6rem;-webkit-box-sizing:border-box;box-sizing:border-box}va-radio-option input[type=radio]+label{margin-bottom:0}va-radio-option input[type=radio]+label:before{border-radius:0;-webkit-box-shadow:none;box-shadow:none;height:0;line-height:0;margin-left:0;margin-right:0;width:0}va-radio-option input[type=radio]:checked+label:before{outline:none;-webkit-box-shadow:none;box-shadow:none}va-radio-option input[type=radio]:focus+label::before{outline:none}'}}]);
|
package/dist/3397.app.bundle.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3397],{3397:function(e,t,o){o.r(t),o.d(t,{va_omb_info:function(){return i}});var n=o(1484),i=function(){function e(e){var t=this;(0,n.r)(this,e),this.modalContents=null,this.toggleModalVisible=function(){t.visible=!t.visible},this.handleSlotChange=function(){t.modalContents=null},this.visible=void 0,this.shifted=!1,this.benefitType="benefits",this.expDate=void 0,this.ombNumber=void 0,this.formId=void 0,this.resBurden=void 0,this.modalClickToClose=!1}return e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,t=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-modal"),o=null==t?void 0:t.getAttribute("visible");if(null!==o&&"false"!==o){var n=void 0,i=this.shifted?".last-focusable-child":'[role="document"]';null==(n=this.shifted?null==t?void 0:t.querySelector("va-telephone").shadowRoot.querySelector(i):null==t?void 0:t.shadowRoot.querySelector(i))||n.focus()}},e.prototype.componentWillLoad=function(){this.modalContents=(0,n.h)("div",null,this.resBurden&&(0,n.h)("p",null,(0,n.h)("strong",null,"Respondent Burden:")," We need this information to determine your eligibility for ",this.benefitType," (38 U.S.C. 3471). Title 38, United States Code, allows us to ask for this information. We estimate that you will need an average of ",this.resBurden," ","minutes to review the instructions, find the information, and complete this form. The VA cannot conduct or sponsor a collection of information unless a valid OMB (Office of Management and Budget) control number is displayed. You are not required to respond to a collection of information if this number is not displayed. Valid OMB control numbers can be located on the OMB Internet Page at www.reginfo.gov/public/do/PRAMain. If desired, you can call"," ",(0,n.h)("va-telephone",{contact:"8008271000",international:!0})," to get information on where to send comments or suggestions about this form."),(0,n.h)("p",null,(0,n.h)("strong",null,"Privacy Act Notice:")," The VA will not disclose information collected on this form to any source other than what has been authorized under the Privacy Act of 1974 or title 38, Code of Federal Regulations, section 1.576 for routine uses (e.g., the VA sends educational forms or letters with a veteran’s identifying information to the Veteran’s school or training establishment to (1) assist the veteran in the completion of claims forms or (2) for the VA to obtain further information as may be necessary from the school for VA to properly process the Veteran’s education claim or to monitor his or her progress during training) as identified in the VA system of records, 58VA21/22/28, Compensation, Pension, Education, and Vocational Rehabilitation and Employment Records - VA, and published in the Federal Register. Your obligation to respond is required to obtain or retain",this.benefitType,". Giving us your SSN account information is voluntary. Refusal to provide your SSN by itself will not result in the denial of benefits. The VA will not deny an individual benefits for refusing to provide his or her SSN unless the disclosure of the SSN is required by a Federal Statute of law enacted before January 1, 1975, and still in effect. The requested information is considered relevant and necessary to determine the maximum benefits under the law. While you do not have to respond, VA cannot process your claim for education assistance unless the information is furnished as required by existing law (38 U.S.C. 3471). The responses you submit are considered confidential (38 U.S.C. 5701). Any information provided by applicants, recipients, and others may be subject to verification through computer matching programs with other agencies."))},e.prototype.render=function(){var e=this,t=this,o=t.expDate,i=t.handleSlotChange,a=t.modalContents,r=t.ombNumber,s=t.resBurden,l=t.toggleModalVisible,d=t.visible,c=t.formId;return(0,n.h)(n.H,{key:"a5673531c9e5c6b446fba4862df31c4c0cf798ae"},s&&(0,n.h)("div",{key:"fec7708373baa59e793a2cfc3abd708bd7553b3e"},"Respondent burden: ",(0,n.h)("strong",{key:"040fefdb8cff3a3e4adc8e774175f98210c86245"},s," minutes")),r&&(0,n.h)("div",{key:"7e8261509fe5683b3b1a05703cac170d2686804e"},"OMB Control #: ",(0,n.h)("strong",{key:"a625547a137121ddbf20ebf7d7a3e381bcd4f057"},r)),(0,n.h)("div",{key:"98ef5a77d91f92da21f3026fed115450f9502b83"},"Expiration date: ",(0,n.h)("strong",{key:"cb4eb57b9aa6bf0dc755108096eab670b97f1347"},o)),(0,n.h)("div",{key:"f7219e81af3c8961af78c23151ab0e23f52e60ee"},(0,n.h)("va-button",{key:"8265006ad22aaf2b6606e96fce7e9ca9baa7a133",onClick:l,onFocusin:function(){return e.trapFocus()},secondary:!0,text:c?"Privacy Act Statement for VA Form ".concat(c):"Privacy Act Statement"})),(0,n.h)("va-modal",{key:"bf0634d3df01fb93dd233fe9c0cc5a2f16158341",large:!0,modalTitle:"Privacy Act Statement",onCloseEvent:l,visible:d,clickToClose:this.modalClickToClose},(0,n.h)("slot",{key:"97ca211243a941e58649400461957b3b4c73b31d",onSlotchange:i}),a))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),e}();i.style=":host{display:block;font-size:1.06rem}"}}]);
|
package/dist/3600.app.bundle.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3600],{3600:function(e,n,o){o.r(n),o.d(n,{va_promo_banner:function(){return a}});var t=o(1484),i=function(e,n,o){if(o||2===arguments.length)for(var t,i=0,r=n.length;i<r;i++)!t&&i in n||(t||(t=Array.prototype.slice.call(n,0,i)),t[i]=n[i]);return e.concat(t||Array.prototype.slice.call(n))},r="DISMISSED_PROMO_BANNERS",a=function(){function e(e){(0,t.r)(this,e),this.closeEvent=(0,t.c)(this,"closeEvent",7),this.componentLibraryAnalytics=(0,t.c)(this,"component-library-analytics",7),this.href=void 0,this.type=void 0,this.disableAnalytics=!1,this.dismissedBanners=[]}return e.prototype.closeHandler=function(){if(this.closeEvent.emit(),this.el.id){var e=i(i([],this.dismissedBanners,!0),[this.el.id],!1);this.dismissedBanners=e,localStorage.setItem(r,JSON.stringify(e))}if(!this.disableAnalytics){var n={componentName:"va-promo-banner",action:"close",details:{text:this.el.innerText,type:this.type}};this.componentLibraryAnalytics.emit(n)}},e.prototype.handleLinkClick=function(){if(!this.disableAnalytics){var e={componentName:"va-promo-banner",action:"linkClick",details:{text:this.el.innerText,href:this.href,type:this.type}};this.componentLibraryAnalytics.emit(e)}},e.prototype.componentWillLoad=function(){var e=localStorage.getItem(r);this.dismissedBanners=e?JSON.parse(e):[],document.body.classList.add("va-pad-promo-banner")},e.prototype.render=function(){var e,n=this;return(null===(e=this.dismissedBanners)||void 0===e?void 0:e.includes(this.el.id))?(document.body.classList.remove("va-pad-promo-banner"),null):(0,t.h)(t.H,null,(0,t.h)("div",{class:"va-banner-body"},(0,t.h)("va-icon",{class:"va-promo-banner__icon",icon:{announcement:"campaign","email-signup":"mail",news:"info"}[this.type],size:4}),(0,t.h)("a",{class:"va-banner-content-link",href:this.href,onClick:function(){return n.handleLinkClick()}},(0,t.h)("slot",null)," ",(0,t.h)("va-icon",{icon:"chevron_right",size:3})),(0,t.h)("button",{type:"button","aria-label":"Dismiss this promo banner",onClick:function(){return n.closeHandler()}},(0,t.h)("va-icon",{icon:"close",size:3}))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),e}();a.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}:host{z-index:1;position:fixed;bottom:0;left:0;width:100%;background-color:var(--vads-color-base-lightest);color:var(--vads-color-link);font-weight:700}.va-banner-body{max-width:62.5rem;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.va-promo-banner__icon{background-color:var(--vads-color-white);border-radius:50%;height:42px;width:42px;margin-left:0.5rem;margin-right:0.8rem;margin-top:0.8rem;margin-bottom:0.8rem;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:4px}@media (max-width: 767px){.va-promo-banner__icon{display:none}}.va-banner-content-link{padding:0.5rem;line-height:1.375rem;text-decoration:none;color:var(--vads-color-link);-ms-flex-positive:2;flex-grow:2;border-right:1px solid var(--vads-color-base-lighter)}.va-banner-content-link:hover{text-decoration:underline}button{background:none;background-color:transparent;color:var(--vads-color-link);border:none;padding:10px;margin:0 0.5rem 0 1rem}button:hover{cursor:pointer}@media screen and (min-width: 768px){.va-banner-body>i{display:block}.va-banner-content-link{border:none}}'}}]);
|
package/dist/4432.app.bundle.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 4432.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([[4432,4569],{4569:function(e,t,n){n.r(t),n.d(t,{c:function(){return s}});var a,i={exports:{}};a=i,function(){var e={}.hasOwnProperty;function t(){for(var n=[],a=0;a<arguments.length;a++){var i=arguments[a];if(i){var s=typeof i;if("string"===s||"number"===s)n.push(i);else if(Array.isArray(i)){if(i.length){var r=t.apply(null,i);r&&n.push(r)}}else if("object"===s)if(i.toString===Object.prototype.toString)for(var o in i)e.call(i,o)&&i[o]&&n.push(o);else n.push(i.toString())}}return n.join(" ")}a.exports?(t.default=t,a.exports=t):window.classNames=t}();var s=i.exports},4432:function(e,t,n){n.r(t),n.d(t,{va_segmented_progress_bar:function(){return s}});var a=n(1484),i=n(4569),s=function(){function e(e){(0,a.r)(this,e),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.enableAnalytics=!1,this.current=void 0,this.total=void 0,this.label=void 0,this.headerLevel=4,this.progressTerm="Step",this.labels=void 0,this.centeredLabels=void 0,this.counters=void 0,this.headingText=void 0,this.useDiv=void 0}return e.prototype.componentDidRender=function(){this.enableAnalytics&&this.componentLibraryAnalytics.emit({componentName:"va-segmented-progress-bar",action:"change",details:{current:this.current,total:this.total}})},e.prototype.render=function(){var e,t=this,n=t.current,s=t.total,r=t.labels,o=t.centeredLabels,c=t.counters,l=t.headingText,d=t.headerLevel,u=t.progressTerm,p=t.useDiv;r&&(e=r.split(";"));var m=Array.from({length:s},(function(e,t){return t})),g=p?"div":"h".concat(d),h=(0,i.c)({"usa-step-indicator":!0,"usa-step-indicator--center":o,"usa-step-indicator--counters":"default"===c,"usa-step-indicator--counters-sm":"small"===c}),_=function(e){return(0,i.c)({"usa-step-indicator__segment":!0,"usa-step-indicator__segment--complete":n>e+1,"usa-step-indicator__segment--current":n===e+1})};return(0,a.h)(a.H,null,(0,a.h)("div",{class:h},(0,a.h)("ol",{class:"usa-step-indicator__segments","aria-hidden":r?null:"true"},m.map((function(t){return(0,a.h)("li",{class:_(t),"aria-current":n===t+1?"step":null},r?(0,a.h)("span",{class:"usa-step-indicator__segment-label"},e[t],n!==t+1?(0,a.h)("span",{class:"usa-sr-only"},n>t+1?"completed":"not completed"):null):null)}))),(0,a.h)("div",{class:"usa-step-indicator__header"},(0,a.h)(g,{class:"usa-step-indicator__heading"},(0,a.h)("span",{class:"usa-step-indicator__heading-counter"},(0,a.h)("span",{class:"usa-sr-only"},"You are on ",u),(0,a.h)("span",{class:"usa-step-indicator__current-step"},n),(0,a.h)("span",{class:"usa-step-indicator__total-steps"}," of ",s)),(0,a.h)("span",{class:"usa-step-indicator__heading-text"},r?e[n-1]:l)))))},e}();s.style='.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}.usa-step-indicator{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.1;background-color:white;margin-bottom:2rem;margin-left:-1px;margin-right:-1px}@media all and (min-width: 40em){.usa-step-indicator{margin-left:0;margin-right:0}}.usa-step-indicator__segments{counter-reset:usa-step-indicator;display:-ms-flexbox;display:flex;list-style:none;margin:0;padding:0}.usa-step-indicator__segment{-ms-flex:1 1 0%;flex:1 1 0%;counter-increment:usa-step-indicator;margin-left:1px;margin-right:1px;max-width:15rem;min-height:0.5rem;position:relative}.usa-step-indicator__segment:after{background-color:#919191;content:"";display:block;height:0.5rem;left:0;position:absolute;right:0;top:0}@media all and (min-width: 40em){.usa-step-indicator__segment:after{height:0.5rem}}.usa-step-indicator__segment--complete::after{background-color:#162e51}.usa-step-indicator__segment--complete .usa-step-indicator__segment-label{color:#162e51}.usa-step-indicator__segment--current::after{background-color:#005ea2}.usa-step-indicator__segment--current .usa-step-indicator__segment-label{color:#005ea2;font-weight:700}.usa-step-indicator__segment-label{display:none}@media all and (min-width: 40em){.usa-step-indicator__segment-label{color:#565c65;display:block;font-size:1.06rem;margin-top:calc(\n 0.5rem + 0.5rem\n );padding-right:2rem;text-align:left}}.usa-step-indicator__header{-ms-flex-align:baseline;align-items:baseline;display:-ms-flexbox;display:flex}.usa-step-indicator__heading{color:#1b1b1b;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.13rem;font-weight:700;margin:1rem 0 0}@media all and (min-width: 40em){.usa-step-indicator__heading{font-size:1.46rem;margin-top:2rem}}.usa-step-indicator__current-step{height:2.5rem;border-radius:99rem;width:2.5rem;font-weight:normal;-webkit-font-feature-settings:"tnum" 1, "kern" 1;font-feature-settings:"tnum" 1, "kern" 1;background-color:#005ea2;color:white;display:inline-block;padding:calc((2.5rem - (2ex * 1.1)) * 0.5);text-align:center}.usa-step-indicator__total-steps{font-weight:normal;-webkit-font-feature-settings:"tnum" 1, "kern" 1;font-feature-settings:"tnum" 1, "kern" 1;color:#005ea2;margin-right:0.5rem}@media all and (min-width: 40em){.usa-step-indicator--counters .usa-step-indicator__segment,.usa-step-indicator--counters-sm .usa-step-indicator__segment{margin-left:0;margin-right:0;margin-top:calc(\n (\n (\n 2.5rem -\n 0.5rem\n ) /\n 2\n ) +\n 0.25rem\n )}.usa-step-indicator--counters .usa-step-indicator__segment:before,.usa-step-indicator--counters-sm .usa-step-indicator__segment:before{height:2.5rem;border-radius:99rem;width:2.5rem;-webkit-font-feature-settings:"tnum" 1, "kern" 1;font-feature-settings:"tnum" 1, "kern" 1;background-color:white;-webkit-box-shadow:inset 0 0 0 0.25rem #919191, 0 0 0 0.25rem white;box-shadow:inset 0 0 0 0.25rem #919191, 0 0 0 0.25rem white;color:#565c65;content:counter(usa-step-indicator);display:block;font-weight:700;left:0;line-height:0.9;padding:calc((2.5rem - (2ex * 0.9)) * 0.5);position:absolute;text-align:center;top:calc((\n 2.5rem - 0.5rem\n ) / -2);z-index:100}.usa-step-indicator--counters .usa-step-indicator__segment:last-child:after,.usa-step-indicator--counters-sm .usa-step-indicator__segment:last-child:after{display:none}}.usa-step-indicator--counters .usa-step-indicator__segment--complete::before,.usa-step-indicator--counters-sm .usa-step-indicator__segment--complete::before{background-color:#162e51;-webkit-box-shadow:0 0 0 0.25rem white;box-shadow:0 0 0 0.25rem white;color:white}.usa-step-indicator--counters .usa-step-indicator__segment--current::before,.usa-step-indicator--counters-sm .usa-step-indicator__segment--current::before{background-color:#005ea2;-webkit-box-shadow:0 0 0 0.25rem white;box-shadow:0 0 0 0.25rem white;color:white}@media all and (min-width: 40em){.usa-step-indicator--counters .usa-step-indicator__segment-label,.usa-step-indicator--counters-sm .usa-step-indicator__segment-label{margin-top:calc(\n (\n (\n 2.5rem + 0.5rem\n ) / 2\n ) + 0.5rem\n )}}@media all and (min-width: 40em){.usa-step-indicator--counters.usa-step-indicator--center .usa-step-indicator__segment:first-child:after,.usa-step-indicator--counters-sm.usa-step-indicator--center .usa-step-indicator__segment:first-child:after{left:50%;right:0;width:auto}.usa-step-indicator--counters.usa-step-indicator--center .usa-step-indicator__segment:last-child:after,.usa-step-indicator--counters-sm.usa-step-indicator--center .usa-step-indicator__segment:last-child:after{display:block;left:0;right:50%;width:auto}}@media all and (min-width: 40em){.usa-step-indicator--counters-sm .usa-step-indicator__segment{margin-top:calc(\n (\n (\n 1.5rem -\n 0.5rem\n ) /\n 2\n ) +\n 0.25rem\n )}.usa-step-indicator--counters-sm .usa-step-indicator__segment:before{height:1.5rem;border-radius:99rem;width:1.5rem;font-size:0.93rem;padding:calc(0.25rem + 1px);top:calc((\n 1.5rem - 0.5rem\n ) / -2)}.usa-step-indicator--counters-sm .usa-step-indicator__segment:last-child:after{display:none}}@media all and (min-width: 40em){.usa-step-indicator--counters-sm .usa-step-indicator__segment-label{margin-top:calc(\n (\n (\n 1.5rem + 0.5rem\n ) / 2\n ) + 0.5rem\n )}}.usa-step-indicator--no-labels{margin-left:-1px;margin-right:-1px}.usa-step-indicator--no-labels .usa-step-indicator__segment{margin-top:0;margin-left:1px;margin-right:1px}.usa-step-indicator--no-labels .usa-step-indicator__segment:before{display:none}.usa-step-indicator--no-labels .usa-step-indicator__segment:last-child:after{display:block}.usa-step-indicator--no-labels .usa-step-indicator__heading{margin-top:1rem}.usa-step-indicator--no-labels .usa-step-indicator__segment-label{display:none}.usa-step-indicator--center{margin-left:-1px;margin-right:-1px}.usa-step-indicator--center .usa-step-indicator__segment{margin-left:1px;margin-right:1px}.usa-step-indicator--center .usa-step-indicator__segment:before{left:calc(50% - (\n 2.5rem +\n 0.25rem\n ) / 2)}.usa-step-indicator--center .usa-step-indicator__segment-label{padding-left:0.5rem;padding-right:0.5rem;text-align:center}.usa-step-indicator--center.usa-step-indicator--no-labels .usa-step-indicator__segment:first-child:after{left:0}.usa-step-indicator--center.usa-step-indicator--no-labels .usa-step-indicator__segment:last-child:after{right:0}.usa-step-indicator--center.usa-step-indicator--counters-sm .usa-step-indicator__segment:before{left:calc(50% - (\n 1.5rem +\n 0.25rem\n ) / 2)}.usa-sr-only{position:absolute;left:-999em;right:auto}*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:block}:host .usa-step-indicator__heading{display:-ms-flexbox;display:flex}:host .usa-step-indicator__heading-counter{-ms-flex-negative:0;flex-shrink:0}:host .usa-step-indicator__heading-text{text-wrap:wrap;padding-top:calc(-1.1ex + 1.25rem)}'}}]);
|
package/dist/4475.app.bundle.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4475],{4475:function(e,a,t){t.r(a),t.d(a,{setNonce:function(){return n.s}});var i,n=t(1484),r=t(7885);(i=(Array.from(n.d.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(n.N,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===n.N}))||{})["data-opts"]||{},i.resourcesUrl=new URL(".","file:///home/runner/work/component-library/component-library/packages/web-components/dist/esm-es5/component-library.js").href,(0,n.p)(i)).then((function(e){return function(e,a,t,i){function n(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,r){function l(e){try{o(i.next(e))}catch(e){r(e)}}function s(e){try{o(i.throw(e))}catch(e){r(e)}}function o(e){e.done?t(e.value):n(e.value).then(l,s)}o((i=i.apply(e,a||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,a){var t,i,n,r,l={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(a){return o([e,a])}}function o(s){if(t)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(l=0)),l;)try{if(t=1,i&&(n=2&s[0]?i.return:s[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;switch(i=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(!((n=(n=l.trys).length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){l=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){l.label=s[1];break}if(6===s[0]&&l.label<n[1]){l.label=n[1],n=s;break}if(n&&l.label<n[2]){l.label=n[2],l.ops.push(s);break}n[2]&&l.ops.pop(),l.trys.pop();continue}s=a.call(e,l)}catch(e){s=[6,e],i=0}finally{t=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}(this,(function(a){switch(a.label){case 0:return[4,(0,r.g)()];case 1:return a.sent(),[2,(0,n.b)(JSON.parse('[["va-file-input-multiple",[[1,"va-file-input-multiple",{"label":[1],"name":[1],"required":[4],"accept":[1],"errors":[16],"passwordErrors":[16],"encrypted":[16],"hint":[1],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"value":[16],"readOnly":[4,"read-only"],"slotFieldIndexes":[16],"percentUploaded":[16],"maxFileSize":[2,"max-file-size"],"minFileSize":[2,"min-file-size"],"statusText":[1,"status-text"],"uploadedFiles":[16],"files":[32],"valueAdded":[32]}]]],["va-header-minimal",[[1,"va-header-minimal",{"header":[1],"subheader":[1],"enableHeadings":[4,"enable-headings"],"shifted":[32]},[[8,"keydown","trackShiftKey"]]]]],["va-search-filter",[[1,"va-search-filter",{"header":[1],"filterOptions":[1040],"totalActiveFilters":[32]},[[9,"resize","handleResize"]],{"filterOptions":["filterOptionsChanged"]}]]],["va-omb-info",[[1,"va-omb-info",{"benefitType":[1,"benefit-type"],"expDate":[1,"exp-date"],"ombNumber":[1,"omb-number"],"formId":[1,"form-id"],"resBurden":[2,"res-burden"],"modalClickToClose":[4,"modal-click-to-close"],"visible":[32],"shifted":[32]},[[8,"keydown","trackShiftKey"]]]]],["va-statement-of-truth",[[1,"va-statement-of-truth",{"heading":[1],"inputValue":[1,"input-value"],"inputError":[1,"input-error"],"checkboxError":[1,"checkbox-error"],"inputMessageAriaDescribedby":[1,"input-message-aria-describedby"],"hideLegalNote":[4,"hide-legal-note"],"checked":[4],"inputLabel":[1,"input-label"],"checkboxLabel":[1,"checkbox-label"]}]]],["va-date",[[1,"va-date",{"required":[4],"label":[1],"name":[1],"hint":[1],"error":[1537],"monthYearOnly":[4,"month-year-only"],"monthOptional":[4,"month-optional"],"value":[1537],"invalidDay":[1028,"invalid-day"],"invalidMonth":[1028,"invalid-month"],"invalidYear":[1028,"invalid-year"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-memorable-date",[[1,"va-memorable-date",{"required":[4],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"monthSelect":[4,"month-select"],"label":[1],"name":[1],"hint":[1],"error":[1537],"value":[1537],"customDayErrorMessage":[1,"custom-day-error-message"],"customMonthErrorMessage":[1,"custom-month-error-message"],"customYearErrorMessage":[1,"custom-year-error-message"],"removeDateHint":[4,"remove-date-hint"],"externalValidation":[4,"external-validation"],"invalidDay":[1028,"invalid-day"],"invalidMonth":[1028,"invalid-month"],"invalidYear":[1028,"invalid-year"],"enableAnalytics":[4,"enable-analytics"],"labelHeaderLevel":[1,"label-header-level"],"headerAriaDescribedby":[1,"header-aria-describedby"]},null,{"value":["handleValueChange"]}]]],["va-notification",[[1,"va-notification",{"visible":[4],"symbol":[1],"closeBtnAriaLabel":[1,"close-btn-aria-label"],"closeable":[516],"hasBorder":[516,"has-border"],"hasCloseText":[4,"has-close-text"],"headline":[1],"headlineLevel":[1,"headline-level"],"dateTime":[1,"date-time"],"href":[1],"text":[1],"disableAnalytics":[4,"disable-analytics"]},[[0,"component-library-analytics","handleLinkAnalytics"]]]]],["va-privacy-agreement",[[1,"va-privacy-agreement",{"checked":[1028],"showError":[4,"show-error"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-service-list-item",[[1,"va-service-list-item",{"serviceName":[1,"service-name"],"serviceNameHeadingLevel":[2,"service-name-heading-level"],"serviceLink":[1,"service-link"],"serviceStatus":[1,"service-status"],"serviceDetails":[1,"service-details"],"icon":[1],"action":[1],"optionalLink":[1,"optional-link"],"parsedServiceDetails":[32],"parsedAction":[32],"parsedOptionalLink":[32]},null,{"serviceDetails":["handleServiceDetailsChange"],"action":["handleActionChange"],"optionalLink":["handleOptionalLinkChange"]}]]],["va-sidenav",[[1,"va-sidenav",{"header":[1],"iconName":[1,"icon-name"],"iconBackgroundColor":[1,"icon-background-color"]},[[9,"resize","handleResize"]]]]],["va-telephone-input",[[1,"va-telephone-input",{"contact":[1537],"country":[1537],"label":[1],"hint":[1],"error":[513],"noCountry":[4,"no-country"],"required":[4],"showInternalErrors":[4,"show-internal-errors"],"formattedContact":[32],"countries":[32],"countryError":[32],"contactError":[32],"isValid":[32],"touched":[32],"visibleError":[32]},null,{"error":["syncErrorMessages"]}]]],["va-alert-sign-in",[[1,"va-alert-sign-in",{"variant":[1],"headingLevel":[2,"heading-level"],"visible":[4],"timeLimit":[1,"time-limit"],"noSignInLink":[1,"no-sign-in-link"]}]]],["va-banner",[[1,"va-banner",{"disableAnalytics":[4,"disable-analytics"],"showClose":[4,"show-close"],"headline":[1],"type":[1],"visible":[4],"windowSession":[4,"window-session"],"dataLabel":[1,"data-label"],"dismissedBannerId":[1,"dismissed-banner-id"],"dismissedBanners":[32]}]]],["va-button-pair",[[1,"va-button-pair",{"continue":[4],"disableAnalytics":[4,"disable-analytics"],"primaryLabel":[1,"primary-label"],"secondaryLabel":[1,"secondary-label"],"submit":[1],"update":[4],"leftButtonText":[1,"left-button-text"],"rightButtonText":[1,"right-button-text"]},[[0,"component-library-analytics","handleButtonAnalytics"]]]]],["va-language-toggle",[[1,"va-language-toggle",{"language":[1025],"enHref":[1,"en-href"],"esHref":[1,"es-href"],"tlHref":[1,"tl-href"],"routerLinks":[4,"router-links"],"urls":[32]}]]],["va-table",[[1,"va-table",{"tableTitle":[1,"table-title"],"tableType":[1,"table-type"],"stacked":[4],"scrollable":[4],"sortable":[4],"striped":[4],"fullWidth":[4,"full-width"],"rightAlignCols":[1,"right-align-cols"],"monoFontCols":[1,"mono-font-cols"],"emptyCellText":[1,"empty-cell-text"],"rows":[32],"cols":[32],"cells":[32]},[[0,"sortTable","doSort"]]]]],["va-additional-info",[[1,"va-additional-info",{"trigger":[1],"disableAnalytics":[4,"disable-analytics"],"disableBorder":[4,"disable-border"],"open":[32]},[[9,"resize","handleResize"]]]]],["va-alert-expandable",[[1,"va-alert-expandable",{"status":[1],"trigger":[1],"disableAnalytics":[4,"disable-analytics"],"iconless":[4],"open":[32]},[[9,"resize","handleResize"]]]]],["va-back-to-top",[[1,"va-back-to-top",{"revealed":[32],"isDocked":[32]}]]],["va-link-action",[[1,"va-link-action",{"disableAnalytics":[4,"disable-analytics"],"href":[1],"text":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"type":[1],"label":[1],"isSingleLine":[32]},null,{"text":["checkTextLines"]}]]],["va-maintenance-banner",[[1,"va-maintenance-banner",{"disableAnalytics":[4,"disable-analytics"],"bannerId":[1,"banner-id"],"maintenanceStartDateTime":[1,"maintenance-start-date-time"],"maintenanceEndDateTime":[1,"maintenance-end-date-time"],"maintenanceTitle":[1,"maintenance-title"],"maintenanceTitleHeaderLevel":[2,"maintenance-title-header-level"],"upcomingWarnStartDateTime":[1,"upcoming-warn-start-date-time"],"upcomingWarnTitle":[1,"upcoming-warn-title"],"isError":[4,"is-error"]}]]],["va-on-this-page",[[1,"va-on-this-page",{"headerLevel":[2,"header-level"],"disableAnalytics":[4,"disable-analytics"]}]]],["va-promo-banner",[[1,"va-promo-banner",{"href":[1],"type":[1],"disableAnalytics":[4,"disable-analytics"],"dismissedBanners":[32]}]]],["va-search-input",[[1,"va-search-input",{"buttonText":[1,"button-text"],"label":[1],"suggestions":[8],"value":[1537],"big":[4],"small":[4],"disableAnalytics":[4,"disable-analytics"],"formattedSuggestions":[32],"isListboxOpen":[32],"isTouched":[32],"showClearButton":[32]},null,{"value":["watchValueHandler"],"suggestions":["watchSuggestionsHandler"]}]]],["va-tag-status",[[1,"va-tag-status",{"status":[1537],"text":[1],"screenReaderText":[1,"screen-reader-text"]}]]],["va-breadcrumbs",[[1,"va-breadcrumbs",{"label":[1],"wrapping":[4],"breadcrumbList":[1,"breadcrumb-list"],"homeVeteransAffairs":[4,"home-veterans-affairs"],"currentPageRedirect":[4,"current-page-redirect"],"disableAnalytics":[4,"disable-analytics"],"formattedBreadcrumbs":[32]}]]],["va-button-segmented",[[1,"va-button-segmented",{"label":[1],"buttons":[1040],"disableAnalytics":[4,"disable-analytics"],"selected":[1026]},null,{"buttons":["validateButtons"],"selected":["validateSelectedIndex"]}]]],["va-loading-indicator",[[1,"va-loading-indicator",{"message":[1],"label":[1],"setFocus":[4,"set-focus"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-minimal-footer",[[1,"va-minimal-footer"]]],["va-need-help",[[1,"va-need-help"]]],["va-pagination",[[1,"va-pagination",{"ariaLabelSuffix":[1,"aria-label-suffix"],"enableAnalytics":[4,"enable-analytics"],"page":[2],"pages":[2],"unbounded":[4]}]]],["va-process-list",[[1,"va-process-list"]]],["va-process-list-item",[[4,"va-process-list-item",{"header":[1],"level":[2],"active":[4],"pending":[4],"checkmark":[4],"statusText":[1,"status-text"]}]]],["va-radio",[[1,"va-radio",{"label":[1],"hint":[1],"required":[4],"error":[1],"enableAnalytics":[4,"enable-analytics"],"labelHeaderLevel":[1,"label-header-level"],"headerAriaDescribedby":[1,"header-aria-describedby"],"messageAriaDescribedby":[1,"message-aria-describedby"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"]},[[0,"keydown","handleKeyDown"],[0,"radioOptionSelected","radioOptionSelectedHandler"]]]]],["va-radio-option",[[0,"va-radio-option",{"name":[1],"label":[1],"value":[1],"checked":[4],"tile":[4],"description":[1],"disabled":[4],"ariaDescribedby":[1,"aria-describedby"]}]]],["va-segmented-progress-bar",[[1,"va-segmented-progress-bar",{"enableAnalytics":[4,"enable-analytics"],"current":[2],"total":[2],"label":[1],"headerLevel":[2,"header-level"],"progressTerm":[1,"progress-term"],"labels":[1],"centeredLabels":[4,"centered-labels"],"counters":[1],"headingText":[1,"heading-text"],"useDiv":[4,"use-div"]}]]],["va-sidenav-item",[[1,"va-sidenav-item",{"href":[1],"label":[1],"currentPage":[4,"current-page"],"routerLink":[4,"router-link"]}]]],["va-sidenav-submenu",[[1,"va-sidenav-submenu",{"label":[1],"href":[1],"currentPage":[4,"current-page"],"routerLink":[4,"router-link"],"hasCurrentPageItem":[32],"isCurrentPage":[32]},[[0,"slotchange","onSlotChange"]]]]],["va-summary-box",[[1,"va-summary-box",{"headlineText":[32]}]]],["va-tab-item",[[1,"va-tab-item",{"buttonText":[1,"button-text"],"targetId":[1,"target-id"],"selected":[516]}]]],["va-tab-panel",[[1,"va-tab-panel",{"panelId":[1,"panel-id"],"selected":[516]}]]],["va-table-row",[[1,"va-table-row"]]],["va-tabs",[[1,"va-tabs",{"label":[1],"initiallySelected":[1026,"initially-selected"],"isOverflowing":[32],"hideLeftScrollIndicator":[32],"hideRightScrollIndicator":[32]},[[0,"tabItemSelected","itemToggledHandler"],[0,"tabItemKeyNavigated","itemKeyNavigatedHandler"]],{"isOverflowing":["watchIsOverflowing"]}]]],["va-textarea",[[1,"va-textarea",{"label":[1],"error":[1],"placeholder":[1],"name":[1],"required":[4],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"maxlength":[2],"value":[1537],"enableAnalytics":[4,"enable-analytics"],"labelHeaderLevel":[1,"label-header-level"],"headerAriaDescribedby":[1,"header-aria-describedby"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"charcount":[4]}]]],["va-icon",[[1,"va-icon",{"icon":[1],"spriteLocation":[1,"sprite-location"],"size":[2],"srtext":[1]}]]],["va-file-input",[[1,"va-file-input",{"label":[1],"name":[1],"value":[16],"required":[4],"accept":[1],"error":[1],"hint":[1],"statusText":[1,"status-text"],"uploadMessage":[16],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"headless":[4],"readOnly":[4,"read-only"],"encrypted":[4],"uploadedFile":[1040],"maxFileSize":[2,"max-file-size"],"minFileSize":[2,"min-file-size"],"percentUploaded":[1538,"percent-uploaded"],"passwordError":[1,"password-error"],"file":[32],"fileContents":[32],"internalError":[32],"showModal":[32],"showSeparator":[32]},null,{"statusText":["handleValueChange"],"percentUploaded":["percentHandler"],"error":["handleError"]}]]],["va-alert",[[1,"va-alert",{"status":[513],"disableAnalytics":[4,"disable-analytics"],"visible":[4],"closeBtnAriaLabel":[1025,"close-btn-aria-label"],"closeable":[516],"fullWidth":[4,"full-width"],"slim":[1540]}]]],["va-critical-action",[[1,"va-critical-action",{"link":[1],"text":[1]}]]],["va-table-inner",[[1,"va-table-inner",{"tableTitle":[1,"table-title"],"rows":[2],"cols":[2],"tableType":[1,"table-type"],"stacked":[4],"sortable":[4],"scrollable":[4],"striped":[4],"fullWidth":[4,"full-width"],"rightAlignCols":[1,"right-align-cols"],"monoFontCols":[1,"mono-font-cols"],"sortdir":[32],"sortindex":[32]}]]],["va-checkbox-group",[[1,"va-checkbox-group",{"label":[1],"labelSrOnly":[1,"label-sr-only"],"required":[4],"error":[1],"enableAnalytics":[4,"enable-analytics"],"hint":[1],"labelHeaderLevel":[1,"label-header-level"],"messageAriaDescribedby":[1,"message-aria-describedby"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"]},[[0,"vaChange","vaChangeHandler"],[9,"resize","handleResize"]]]]],["va-combo-box",[[1,"va-combo-box",{"required":[4],"disabled":[4],"label":[1],"placeholder":[1],"name":[1],"value":[1537],"error":[1],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"showInputError":[4,"show-input-error"],"options":[32],"labelNode":[32]},[[0,"input","handleInput"]],{"error":["updateErrorClass"]}]]],["va-crisis-line-modal_2",[[1,"va-crisis-line-modal",{"phoneNumber":[1,"phone-number"],"phoneExtension":[1,"phone-extension"],"textNumber":[1,"text-number"],"chatUrl":[1,"chat-url"],"ttyNumber":[1,"tty-number"],"ttyCrisisExtension":[1,"tty-crisis-extension"],"mode":[1],"isOpen":[32],"shifted":[32]},[[4,"vaCrisisLineModalOpen","handleGlobalOpen"],[8,"keydown","trackShiftKey"]]],[1,"va-official-gov-banner",{"disableAnalytics":[4,"disable-analytics"],"tld":[1]}]]],["va-select",[[1,"va-select",{"required":[4],"hideRequiredText":[4,"hide-required-text"],"label":[1],"name":[1],"value":[1537],"error":[1],"reflectInputError":[4,"reflect-input-error"],"invalid":[4],"enableAnalytics":[4,"enable-analytics"],"labelHeaderLevel":[1,"label-header-level"],"headerAriaDescribedby":[1,"header-aria-describedby"],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"width":[1],"fullWidth":[4,"full-width"],"showError":[4,"show-error"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"options":[32]},null,{"value":["handleValueChange"]}]]],["va-checkbox",[[1,"va-checkbox",{"label":[1],"error":[513],"description":[1],"required":[4],"enableAnalytics":[4,"enable-analytics"],"checked":[1028],"hint":[1],"tile":[4],"checkboxDescription":[1,"checkbox-description"],"disabled":[4],"messageAriaDescribedby":[1,"message-aria-describedby"],"name":[1],"indeterminate":[4]}]]],["va-accordion_2",[[1,"va-accordion",{"openSingle":[4,"open-single"],"disableAnalytics":[4,"disable-analytics"],"sectionHeading":[1,"section-heading"],"expanded":[32],"collapsed":[32]},[[0,"accordionItemToggled","itemToggledHandler"]]],[1,"va-accordion-item",{"header":[1],"headerSrOnly":[1,"header-sr-only"],"subheader":[1],"open":[516],"level":[2],"bordered":[4]}]]],["va-link",[[1,"va-link",{"abbrTitle":[1,"abbr-title"],"active":[516],"back":[4],"calendar":[4],"channel":[4],"disableAnalytics":[4,"disable-analytics"],"download":[4],"href":[1],"filename":[1],"filetype":[1],"pages":[2],"text":[1],"video":[4],"reverse":[4],"external":[4],"label":[1],"iconName":[1,"icon-name"],"iconSize":[2,"icon-size"],"language":[1]}]]],["va-text-input",[[1,"va-text-input",{"label":[1],"error":[1537],"reflectInputError":[4,"reflect-input-error"],"showInputError":[516,"show-input-error"],"invalid":[4],"required":[4],"hideRequiredText":[4,"hide-required-text"],"inputmode":[1],"step":[1],"type":[1],"maxlength":[2],"autocomplete":[1],"enableAnalytics":[4,"enable-analytics"],"name":[1],"pattern":[1],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"value":[1537],"success":[4],"width":[1],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"charcount":[4],"currency":[4],"inputPrefix":[1,"input-prefix"],"inputIconPrefix":[1,"input-icon-prefix"],"inputSuffix":[1,"input-suffix"],"inputIconSuffix":[1,"input-icon-suffix"],"min":[8],"max":[8],"errorHasPii":[4,"error-has-pii"],"paddingLeftValue":[32],"paddingRightValue":[32]}]]],["va-button-icon_3",[[1,"va-button-icon",{"disableAnalytics":[4,"disable-analytics"],"label":[1],"buttonType":[1,"button-type"]},[[0,"click","handleClick"]]],[1,"va-progress-bar",{"enableAnalytics":[4,"enable-analytics"],"percent":[2],"label":[1],"noPercentScreenReader":[4,"no-percent-screen-reader"]}],[1,"va-card",{"showShadow":[4,"show-shadow"],"background":[4],"iconName":[1,"icon-name"]}]]],["va-button",[[1,"va-button",{"back":[516],"big":[516],"continue":[516],"disableAnalytics":[4,"disable-analytics"],"disabled":[516],"fullWidth":[4,"full-width"],"loading":[516],"label":[1],"primaryAlternate":[4,"primary-alternate"],"secondary":[516],"submit":[1],"text":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]},[[0,"click","handleClickOverride"]],{"loading":["announceLoadingChange"]}]]],["va-modal_2",[[1,"va-telephone",{"contact":[1],"extension":[1],"notClickable":[4,"not-clickable"],"international":[4],"countryCode":[1,"country-code"],"tty":[4],"sms":[4],"vanity":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"disableAnalytics":[4,"disable-analytics"]}],[1,"va-modal",{"clickToClose":[4,"click-to-close"],"disableAnalytics":[4,"disable-analytics"],"large":[516],"modalTitle":[1,"modal-title"],"forcedModal":[4,"forced-modal"],"unstyled":[4],"initialFocusSelector":[1,"initial-focus-selector"],"primaryButtonText":[1,"primary-button-text"],"secondaryButtonText":[1,"secondary-button-text"],"status":[1],"visible":[516],"label":[1]},[[0,"component-library-analytics","handleButtonClickAnalytics"],[0,"click","handleClick"],[8,"keydown","handleKeyDown"]],{"visible":["watchVisibleHandler"]}]]]]'),e)]}}))}))}))}}]);
|
package/dist/5663.app.bundle.js
DELETED
|
@@ -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([[4569,5663,6043,7267],{7267: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(1484);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},6043: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(1484);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:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},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(1484),o=t(7267),n=t(6043),i=(t(1429),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%}}'}}]);
|
package/dist/606.app.bundle.js
DELETED
|
@@ -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(1484),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}"}}]);
|
package/dist/6095.app.bundle.js
DELETED
|
@@ -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(1484),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}}"}}]);
|
package/dist/6849.app.bundle.js
DELETED
|
@@ -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(1484),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}'}}]);
|
package/dist/9496.app.bundle.js
DELETED
|
@@ -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,6043,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},6043: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(1484);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:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},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(1484),o=t(4569),i=(t(1429),t(6043)),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}'}}]);
|