@department-of-veterans-affairs/component-library 46.2.3 → 46.3.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/dist/1185.app.bundle.js +1 -1
- package/dist/1279.app.bundle.js +1 -1
- package/dist/1652.app.bundle.js +1 -1
- package/dist/2108.app.bundle.js +1 -1
- package/dist/2305.app.bundle.js +1 -1
- package/dist/2843.app.bundle.js +1 -1
- package/dist/3389.app.bundle.js +1 -1
- package/dist/3499.app.bundle.js +1 -1
- package/dist/3661.app.bundle.js +1 -1
- package/dist/383.app.bundle.js +1 -1
- package/dist/4104.app.bundle.js +1 -1
- package/dist/4181.app.bundle.js +1 -1
- package/dist/4437.app.bundle.js +1 -1
- package/dist/4859.app.bundle.js +1 -1
- package/dist/5154.app.bundle.js +1 -1
- package/dist/5232.app.bundle.js +1 -1
- package/dist/5669.app.bundle.js +1 -1
- package/dist/569.app.bundle.js +1 -1
- package/dist/6205.app.bundle.js +1 -1
- package/dist/6596.app.bundle.js +1 -1
- package/dist/6734.app.bundle.js +1 -1
- package/dist/6874.app.bundle.js +1 -1
- package/dist/7375.app.bundle.js +1 -1
- package/dist/7454.app.bundle.js +1 -1
- package/dist/8214.app.bundle.js +1 -1
- package/dist/8509.app.bundle.js +1 -1
- package/dist/876.app.bundle.js +1 -1
- package/dist/934.app.bundle.js +1 -1
- package/dist/9370.app.bundle.js +1 -1
- package/dist/9398.app.bundle.js +1 -1
- package/dist/9727.app.bundle.js +1 -1
- package/dist/9893.app.bundle.js +1 -1
- package/dist/app.bundle.js +1 -1
- package/dist/components/types/components.d.ts +18 -2
- package/dist/components/va-back-to-top.js +1 -1
- package/dist/components/va-breadcrumbs.js +1 -1
- package/dist/components/va-checkbox-group.js +1 -1
- package/dist/components/va-checkbox2.js +1 -1
- package/dist/components/va-crisis-line-modal2.js +1 -1
- package/dist/components/va-file-input-multiple.js +1 -1
- package/dist/components/va-file-input2.js +1 -1
- package/dist/components/va-header-minimal.js +1 -1
- package/dist/components/va-icon2.js +1 -1
- package/dist/components/va-link-action.js +1 -1
- package/dist/components/va-link2.js +1 -1
- package/dist/components/va-loading-indicator.js +1 -1
- package/dist/components/va-minimal-footer.js +1 -1
- package/dist/components/va-need-help.js +1 -1
- package/dist/components/va-official-gov-banner2.js +1 -1
- package/dist/components/va-omb-info.js +1 -1
- package/dist/components/va-privacy-agreement.js +1 -1
- package/dist/components/va-process-list-item.js +1 -1
- package/dist/components/va-process-list.js +1 -1
- package/dist/components/va-progress-bar.js +1 -1
- package/dist/components/va-promo-banner.js +1 -1
- package/dist/components/va-radio-option.js +1 -1
- package/dist/components/va-radio.js +1 -1
- package/dist/components/va-search-input.js +1 -1
- package/dist/components/va-select2.js +1 -1
- package/dist/components/va-statement-of-truth.js +1 -1
- package/dist/components/va-summary-box.js +1 -1
- package/dist/components/va-table-inner2.js +1 -1
- package/dist/components/va-table-row.js +1 -1
- package/dist/components/va-table.js +1 -1
- package/dist/components/va-telephone2.js +1 -1
- package/dist/components/va-textarea.js +1 -1
- package/dist/main.css +1 -1
- package/package.json +2 -2
package/dist/7375.app.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[7375],{7375:function(e,a,n){n.r(a),n.d(a,{setNonce:function(){return t.s}});var i,t=n(7131),r=n(768);("file:///home/runner/work/component-library/component-library/packages/web-components/dist/esm-es5/component-library.js",i=(Array.from(t.d.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(t.N,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===t.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,t.p)(i)).then((function(e){return function(e,a,n,i){function t(e){return e instanceof n?e:new n((function(a){a(e)}))}return new(n||(n=Promise))((function(n,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?n(e.value):t(e.value).then(l,s)}o((i=i.apply(e,a||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,a){var n,i,t,r,l={label:0,sent:function(){if(1&t[0])throw t[1];return t[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(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(t=2&s[0]?i.return:s[0]?i.throw||((t=i.return)&&t.call(i),0):i.next)&&!(t=t.call(i,s[1])).done)return t;switch(i=0,t&&(s=[2&s[0],t.value]),s[0]){case 0:case 1:t=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(!((t=(t=l.trys).length>0&&t[t.length-1])||6!==s[0]&&2!==s[0])){l=0;continue}if(3===s[0]&&(!t||s[1]>t[0]&&s[1]<t[3])){l.label=s[1];break}if(6===s[0]&&l.label<t[1]){l.label=t[1],t=s;break}if(t&&l.label<t[2]){l.label=t[2],l.ops.push(s);break}t[2]&&l.ops.pop(),l.trys.pop();continue}s=a.call(e,l)}catch(e){s=[6,e],i=0}finally{n=t=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,t.b)(JSON.parse('[["va-file-input-multiple",[[1,"va-file-input-multiple",{"label":[1],"name":[1],"required":[4],"accept":[1],"errors":[16],"hint":[1],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"files":[32]}]]],["va-header-minimal",[[1,"va-header-minimal",{"header":[1],"subheader":[1],"disableHeadings":[4,"disable-headings"],"shifted":[32]},[[8,"keydown","trackShiftKey"]]]]],["va-omb-info",[[1,"va-omb-info",{"benefitType":[1,"benefit-type"],"expDate":[1,"exp-date"],"ombNumber":[1,"omb-number"],"resBurden":[2,"res-burden"],"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"],"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"],"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"],"invalidDay":[1028,"invalid-day"],"invalidMonth":[1028,"invalid-month"],"invalidYear":[1028,"invalid-year"],"enableAnalytics":[4,"enable-analytics"]}]]],["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-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"],"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-privacy-agreement",[[1,"va-privacy-agreement",{"checked":[1028],"showError":[4,"show-error"],"enableAnalytics":[4,"enable-analytics"]}]]],["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],"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"],"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",{"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]},null,{"value":["watchValueHandler"],"suggestions":["watchSuggestionsHandler"]}]]],["va-table",[[1,"va-table",{"tableTitle":[1,"table-title"],"tableType":[1,"table-type"],"stacked":[4],"rows":[32],"cols":[32],"cells":[32]}]]],["va-accordion",[[1,"va-accordion",{"openSingle":[4,"open-single"],"disableAnalytics":[4,"disable-analytics"],"sectionHeading":[1,"section-heading"],"expanded":[32]},[[0,"accordionItemToggled","itemToggledHandler"]]]]],["va-accordion-item",[[1,"va-accordion-item",{"header":[1],"subheader":[1],"open":[4],"level":[2],"bordered":[4],"slotHeader":[32],"slotTag":[32]}]]],["va-breadcrumbs",[[1,"va-breadcrumbs",{"label":[1],"wrapping":[4],"breadcrumbList":[1,"breadcrumb-list"],"homeVeteransAffairs":[4,"home-veterans-affairs"],"disableAnalytics":[4,"disable-analytics"],"formattedBreadcrumbs":[32]},null,{"breadcrumbList":["watchBreadcrumbListHandler"]}]]],["va-checkbox-group",[[1,"va-checkbox-group",{"label":[1],"required":[4],"error":[1],"enableAnalytics":[4,"enable-analytics"],"hint":[1],"labelHeaderLevel":[1,"label-header-level"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"]},[[0,"vaChange","vaChangeHandler"]]]]],["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"],"maxPageListLength":[2,"max-page-list-length"],"page":[2],"pages":[2],"showLastPage":[4,"show-last-page"],"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]}]]],["va-progress-bar",[[1,"va-progress-bar",{"enableAnalytics":[4,"enable-analytics"],"percent":[2],"label":[1]}]]],["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-summary-box",[[1,"va-summary-box",{"headlineText":[32]}]]],["va-table-row",[[1,"va-table-row"]]],["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],"size":[2],"srtext":[1]}]]],["va-button",[[1,"va-button",{"back":[516],"big":[516],"continue":[516],"disableAnalytics":[4,"disable-analytics"],"disabled":[516],"label":[1],"primaryAlternate":[4,"primary-alternate"],"secondary":[516],"submit":[1],"text":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]},[[0,"click","handleClickOverride"]]]]],["va-modal_2",[[1,"va-telephone",{"contact":[1],"extension":[1],"notClickable":[4,"not-clickable"],"international":[4],"tty":[4],"sms":[4],"vanity":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]}],[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],"ariaHiddenNodeExceptions":[16],"shifted":[32]},[[0,"component-library-analytics","handleButtonClickAnalytics"],[0,"click","handleClick"],[8,"keydown","handleKeyDown"]],{"visible":["watchVisibleHandler"]}]]],["va-file-input",[[1,"va-file-input",{"label":[1],"name":[1],"buttonText":[1,"button-text"],"required":[4],"accept":[1],"error":[1],"hint":[1],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"headless":[4],"file":[32],"fileContents":[32],"internalError":[32],"showModal":[32]}]]],["va-alert",[[1,"va-alert",{"status":[513],"disableAnalytics":[4,"disable-analytics"],"visible":[4],"closeBtnAriaLabel":[1,"close-btn-aria-label"],"closeable":[516],"fullWidth":[4,"full-width"],"slim":[4]}]]],["va-table-inner",[[1,"va-table-inner",{"tableTitle":[1,"table-title"],"rows":[2],"cols":[2],"tableType":[1,"table-type"],"stacked":[4]}]]],["va-crisis-line-modal_2",[[1,"va-crisis-line-modal",{"isOpen":[32],"shifted":[32]},[[8,"keydown","trackShiftKey"]]],[1,"va-official-gov-banner",{"disableAnalytics":[4,"disable-analytics"],"tld":[1]}]]],["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"]}]]],["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]}]]],["va-button-icon_2",[[1,"va-button-icon",{"disableAnalytics":[4,"disable-analytics"],"label":[1],"buttonType":[1,"button-type"]},[[0,"click","handleClick"]]],[1,"va-card",{"showShadow":[4,"show-shadow"],"background":[4]}]]],["va-select_2",[[1,"va-select",{"required":[4],"label":[1],"name":[1],"value":[1537],"error":[1],"reflectInputError":[4,"reflect-input-error"],"invalid":[4],"enableAnalytics":[4,"enable-analytics"],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"width":[1],"showError":[4,"show-error"],"options":[32]},null,{"value":["handleValueChange"]}],[1,"va-text-input",{"label":[1],"error":[513],"reflectInputError":[4,"reflect-input-error"],"showInputError":[516,"show-input-error"],"invalid":[4],"required":[4],"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],"paddingLeftValue":[32],"paddingRightValue":[32]}]]]]'),e)]}}))}))}))}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[7375],{7375:function(e,a,i){i.r(a),i.d(a,{setNonce:function(){return t.s}});var n,t=i(7131),r=i(768);("file:///home/runner/work/component-library/component-library/packages/web-components/dist/esm-es5/component-library.js",n=(Array.from(t.d.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(t.N,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===t.N}))||{})["data-opts"]||{},n.resourcesUrl=new URL(".","file:///home/runner/work/component-library/component-library/packages/web-components/dist/esm-es5/component-library.js").href,(0,t.p)(n)).then((function(e){return function(e,a,i,n){function t(e){return e instanceof i?e:new i((function(a){a(e)}))}return new(i||(i=Promise))((function(i,r){function l(e){try{o(n.next(e))}catch(e){r(e)}}function s(e){try{o(n.throw(e))}catch(e){r(e)}}function o(e){e.done?i(e.value):t(e.value).then(l,s)}o((n=n.apply(e,a||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,a){var i,n,t,r,l={label:0,sent:function(){if(1&t[0])throw t[1];return t[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(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(l=0)),l;)try{if(i=1,n&&(t=2&s[0]?n.return:s[0]?n.throw||((t=n.return)&&t.call(n),0):n.next)&&!(t=t.call(n,s[1])).done)return t;switch(n=0,t&&(s=[2&s[0],t.value]),s[0]){case 0:case 1:t=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,n=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(!((t=(t=l.trys).length>0&&t[t.length-1])||6!==s[0]&&2!==s[0])){l=0;continue}if(3===s[0]&&(!t||s[1]>t[0]&&s[1]<t[3])){l.label=s[1];break}if(6===s[0]&&l.label<t[1]){l.label=t[1],t=s;break}if(t&&l.label<t[2]){l.label=t[2],l.ops.push(s);break}t[2]&&l.ops.pop(),l.trys.pop();continue}s=a.call(e,l)}catch(e){s=[6,e],n=0}finally{i=t=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,t.b)(JSON.parse('[["va-file-input-multiple",[[1,"va-file-input-multiple",{"label":[1],"name":[1],"required":[4],"accept":[1],"errors":[16],"hint":[1],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"files":[32]}]]],["va-header-minimal",[[1,"va-header-minimal",{"header":[1],"subheader":[1],"disableHeadings":[4,"disable-headings"],"shifted":[32]},[[8,"keydown","trackShiftKey"]]]]],["va-omb-info",[[1,"va-omb-info",{"benefitType":[1,"benefit-type"],"expDate":[1,"exp-date"],"ombNumber":[1,"omb-number"],"resBurden":[2,"res-burden"],"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"],"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"],"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"],"invalidDay":[1028,"invalid-day"],"invalidMonth":[1028,"invalid-month"],"invalidYear":[1028,"invalid-year"],"enableAnalytics":[4,"enable-analytics"]}]]],["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-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"],"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-privacy-agreement",[[1,"va-privacy-agreement",{"checked":[1028],"showError":[4,"show-error"],"enableAnalytics":[4,"enable-analytics"]}]]],["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"],"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",{"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]},null,{"value":["watchValueHandler"],"suggestions":["watchSuggestionsHandler"]}]]],["va-table",[[1,"va-table",{"tableTitle":[1,"table-title"],"tableType":[1,"table-type"],"stacked":[4],"rows":[32],"cols":[32],"cells":[32]}]]],["va-accordion",[[1,"va-accordion",{"openSingle":[4,"open-single"],"disableAnalytics":[4,"disable-analytics"],"sectionHeading":[1,"section-heading"],"expanded":[32]},[[0,"accordionItemToggled","itemToggledHandler"]]]]],["va-accordion-item",[[1,"va-accordion-item",{"header":[1],"subheader":[1],"open":[4],"level":[2],"bordered":[4],"slotHeader":[32],"slotTag":[32]}]]],["va-breadcrumbs",[[1,"va-breadcrumbs",{"label":[1],"wrapping":[4],"breadcrumbList":[1,"breadcrumb-list"],"homeVeteransAffairs":[4,"home-veterans-affairs"],"disableAnalytics":[4,"disable-analytics"],"formattedBreadcrumbs":[32]},null,{"breadcrumbList":["watchBreadcrumbListHandler"]}]]],["va-checkbox-group",[[1,"va-checkbox-group",{"label":[1],"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"]]]]],["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"],"maxPageListLength":[2,"max-page-list-length"],"page":[2],"pages":[2],"showLastPage":[4,"show-last-page"],"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]}]]],["va-progress-bar",[[1,"va-progress-bar",{"enableAnalytics":[4,"enable-analytics"],"percent":[2],"label":[1]}]]],["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-summary-box",[[1,"va-summary-box",{"headlineText":[32]}]]],["va-table-row",[[1,"va-table-row"]]],["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],"size":[2],"srtext":[1]}]]],["va-button",[[1,"va-button",{"back":[516],"big":[516],"continue":[516],"disableAnalytics":[4,"disable-analytics"],"disabled":[516],"label":[1],"primaryAlternate":[4,"primary-alternate"],"secondary":[516],"submit":[1],"text":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]},[[0,"click","handleClickOverride"]]]]],["va-modal_2",[[1,"va-telephone",{"contact":[1],"extension":[1],"notClickable":[4,"not-clickable"],"international":[4],"tty":[4],"sms":[4],"vanity":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]}],[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],"ariaHiddenNodeExceptions":[16],"shifted":[32]},[[0,"component-library-analytics","handleButtonClickAnalytics"],[0,"click","handleClick"],[8,"keydown","handleKeyDown"]],{"visible":["watchVisibleHandler"]}]]],["va-file-input",[[1,"va-file-input",{"label":[1],"name":[1],"buttonText":[1,"button-text"],"required":[4],"accept":[1],"error":[1],"hint":[1],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"headless":[4],"file":[32],"fileContents":[32],"internalError":[32],"showModal":[32]}]]],["va-alert",[[1,"va-alert",{"status":[513],"disableAnalytics":[4,"disable-analytics"],"visible":[4],"closeBtnAriaLabel":[1,"close-btn-aria-label"],"closeable":[516],"fullWidth":[4,"full-width"],"slim":[4]}]]],["va-table-inner",[[1,"va-table-inner",{"tableTitle":[1,"table-title"],"rows":[2],"cols":[2],"tableType":[1,"table-type"],"stacked":[4]}]]],["va-crisis-line-modal_2",[[1,"va-crisis-line-modal",{"isOpen":[32],"shifted":[32]},[[8,"keydown","trackShiftKey"]]],[1,"va-official-gov-banner",{"disableAnalytics":[4,"disable-analytics"],"tld":[1]}]]],["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"]}]]],["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]}]]],["va-button-icon_2",[[1,"va-button-icon",{"disableAnalytics":[4,"disable-analytics"],"label":[1],"buttonType":[1,"button-type"]},[[0,"click","handleClick"]]],[1,"va-card",{"showShadow":[4,"show-shadow"],"background":[4]}]]],["va-select_2",[[1,"va-select",{"required":[4],"label":[1],"name":[1],"value":[1537],"error":[1],"reflectInputError":[4,"reflect-input-error"],"invalid":[4],"enableAnalytics":[4,"enable-analytics"],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"width":[1],"showError":[4,"show-error"],"options":[32]},null,{"value":["handleValueChange"]}],[1,"va-text-input",{"label":[1],"error":[513],"reflectInputError":[4,"reflect-input-error"],"showInputError":[516,"show-input-error"],"invalid":[4],"required":[4],"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],"paddingLeftValue":[32],"paddingRightValue":[32]}]]]]'),e)]}}))}))}))}}]);
|
package/dist/7454.app.bundle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 7454.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([[7454,7485],{1320:function(e,a,t){t.r(a),t.d(a,{c:function(){return s}});var r,i={exports:{}};r=i,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var s=typeof i;if("string"===s||"number"===s)t.push(i);else if(Array.isArray(i)){if(i.length){var l=a.apply(null,i);l&&t.push(l)}}else if("object"===s)if(i.toString===Object.prototype.toString)for(var n in i)e.call(i,n)&&i[n]&&t.push(n);else t.push(i.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var s=i.exports},7454:function(e,a,t){t.r(a),t.d(a,{va_breadcrumbs:function(){return s}});var r=t(7131),i=t(1320),s=function(){function e(e){(0,r.r)(this,e),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.routeChange=(0,r.c)(this,"routeChange",7),this.label="Breadcrumb",this.wrapping=!1,this.breadcrumbList=void 0,this.homeVeteransAffairs=!0,this.formattedBreadcrumbs=[],this.disableAnalytics=!1}return e.prototype.watchBreadcrumbListHandler=function(e){var a;if(null===(a=this.breadcrumbList)||void 0===a?void 0:a.length){var t=this.validateBreadcrumbs(e);t&&this.updateBreadCrumbList(t)}},e.prototype.updateBreadCrumbList=function(e){var a=e[0];a&&this.homeVeteransAffairs&&(a.label="VA.gov home"),this.formattedBreadcrumbs=e},e.prototype.getClickLevel=function(e){return Array.from(this.el.shadowRoot.querySelectorAll("a")).findIndex((function(a){return a.isEqualNode(e)}))+1},e.prototype.fireAnalyticsEvent=function(e){if(!this.disableAnalytics){var a=e.target;if("A"===(null==a?void 0:a.tagName)){var t={componentName:"va-breadcrumbs",action:"linkClick",details:{clickLabel:a.innerText.trim(),clickLevel:this.getClickLevel(a),totalLevels:this.el.shadowRoot.querySelectorAll("a").length+1}};this.componentLibraryAnalytics.emit(t)}}},e.prototype.handleAnchorNode=function(e,a,t){var r=document.createElement("li");r.classList.add("va-breadcrumbs-li"),a===t.length-1&&e.setAttribute("aria-current","page"),e.parentNode.replaceChild(r,e),r.appendChild(e)},e.prototype.handleListNode=function(e,a,t){e.classList.add("va-breadcrumbs-li");var r=e.querySelector("a");r&&a===t.length-1&&r.setAttribute("aria-current","page")},e.prototype.validateBreadcrumbs=function(e){var a;if(Array.isArray(e))a=e;else{if("string"!=typeof e)return!1;try{a=JSON.parse(e)}catch(e){return!1}}return!(!Array.isArray(a)||!a.every((function(e){return"object"==typeof e&&e.hasOwnProperty("label")&&e.hasOwnProperty("href")})))&&a},e.prototype.componentDidLoad=function(){var e,a=this,t=null===(e=this.el.shadowRoot.querySelector("slot"))||void 0===e?void 0:e.assignedNodes();t&&t.forEach((function(e,r){"LI"===e.nodeName?a.handleListNode(e,r,t):"A"===e.nodeName&&a.handleAnchorNode(e,r,t)}))},e.prototype.componentWillLoad=function(){var e;if(null===(e=this.breadcrumbList)||void 0===e?void 0:e.length){var a=this.validateBreadcrumbs(this.breadcrumbList);a&&this.updateBreadCrumbList(a)}},e.prototype.handleSlotChange=function(){var e,a=this,t=null===(e=this.el.shadowRoot.querySelector("slot"))||void 0===e?void 0:e.assignedNodes().filter((function(e){return"LI"===e.nodeName}));t&&t.forEach((function(e,r){if("LI"===e.nodeName){e.classList.add("usa-breadcrumb__list-item");var i=e.querySelector("a");0===r&&i&&a.homeVeteransAffairs&&(i.innerText="VA.gov home"),(null==i?void 0:i.getAttribute("aria-current"))&&r!==t.length-1&&i.removeAttribute("aria-current");var s=document.createElement("span");if(s.textContent=i.textContent,i.innerHTML="",i.appendChild(s),r===t.length-1){var l=document.createElement("span");l.textContent=i.textContent,e.classList.add("usa-current"),e.replaceChild(l,i),null==e||e.setAttribute("aria-current","page")}}}))},e.prototype.handleRouteChange=function(e,a){e.preventDefault(),this.routeChange.emit({href:a})},e.prototype.handleClick=function(e,a){var t=a.href;a.isRouterLink&&this.handleRouteChange(e,t),this.fireAnalyticsEvent(e)},e.prototype.render=function(){var e=this,a=this.label,t=this.wrapping,s=(0,i.c)({"usa-breadcrumb":!0,"usa-breadcrumb--wrap":t});return(0,r.h)(r.H,{key:"bad1db01e0e41c1d062ce8cca9d2220ee64e2d17"},(0,r.h)("nav",{key:"fc74e436bb6dd64c42d5ceb7ec3a96aa795e5386","aria-label":a,class:s},(0,r.h)("ol",{key:"8cd9dfc7661b88a305794d0b843a8c7844549998",role:"list",class:"usa-breadcrumb__list"},this.formattedBreadcrumbs.map((function(a,t){return(0,r.h)("li",{class:"usa-breadcrumb__list-item ".concat(t===e.formattedBreadcrumbs.length-1?"usa-current":""),"aria-current":t===e.formattedBreadcrumbs.length-1?"page":void 0},t===e.formattedBreadcrumbs.length-1?(0,r.h)("a",{class:"usa-breadcrumb__link",href:"#content",onClick:function(a){return e.fireAnalyticsEvent(a)},lang:a.lang||"en-US",hreflang:a.lang||"en-US"},(0,r.h)("span",null,a.label)):(0,r.h)("a",{class:"usa-breadcrumb__link",href:a.href,onClick:function(t){return e.handleClick(t,a)},lang:a.lang||"en-US",hreflang:a.lang||"en-US"},(0,r.h)("span",null,a.label)))})))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{breadcrumbList:["watchBreadcrumbListHandler"]}},enumerable:!1,configurable:!0}),e}();s.style='.usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}.usa-breadcrumb{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;color:#1b1b1b;background-color:white;padding-left:0;padding-right:0}@media all and (min-width: 30em){.usa-breadcrumb{padding-bottom:1rem;padding-top:1rem}}@media all and (min-width: 30em){.usa-breadcrumb:not(.usa-breadcrumb--wrap) .usa-breadcrumb__list{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}}.usa-breadcrumb__list{margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;display:block;padding:0.25rem;margin-left:-0.25rem;margin-right:-0.25rem}.usa-breadcrumb__list>li{margin-bottom:0;max-width:unset}.usa-breadcrumb__list-item{position:absolute;left:-999em;right:auto;display:inline}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item{white-space:normal}.usa-breadcrumb__list-item:nth-last-child(2){position:static}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link{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;padding-left:calc(2ex + 0px);text-indent:calc((2ex + 0px) * -1);color:#005ea2;display:inline-block;padding-bottom:1rem;padding-top:1rem}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:visited{color:#54278f}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:hover{color:#1a4480}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:active{color:#162e51}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled.usa-button--hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true].usa-button--hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled.usa-button--active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true].usa-button--active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:focus,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:focus,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled.usa-focus,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true].usa-focus,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true],.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--hover{color:#1a4480}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--active{color:#162e51}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true],.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:focus{color:#757575}}@media (max-width: 29.99em) and (forced-colors: active){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true],.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:focus{color:GrayText}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2ex 2ex;display:inline-block;height:2ex;width:2ex;content:"";vertical-align:baseline;margin-right:0rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link::before{background:none;background-color:#71767a;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2ex 2ex;mask-size:2ex 2ex}}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:visited{color:#54278f}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:active{color:#1a4480}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:before{bottom:-0.2em;height:2ex;position:relative}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:active{text-decoration:none}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link span{text-decoration:underline}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link::before{margin-right:0px}}@media all and (min-width: 30em){.usa-breadcrumb__list-item{position:static}.usa-breadcrumb__list-item:not(:last-child)::after{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2ex 2ex;display:inline-block;height:2ex;width:2ex;content:"";vertical-align:baseline;margin-left:0rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-breadcrumb__list-item:not(:last-child)::after{background:none;background-color:#71767a;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2ex 2ex;mask-size:2ex 2ex}}.usa-breadcrumb__list-item:not(:last-child)::after{bottom:-0.2em;margin-left:0px;margin-right:0px;height:2ex;position:relative}}.usa-breadcrumb__link{color:#005ea2;display:inline;text-decoration:none}.usa-breadcrumb__link:visited{color:#54278f}.usa-breadcrumb__link:hover,.usa-breadcrumb__link:active{color:#1a4480}.usa-breadcrumb__link span{text-decoration:underline}@media all and (min-width: 30em){.usa-breadcrumb--wrap{line-height:1.4}}.usa-breadcrumb--wrap .usa-breadcrumb__list-item{display:inline-block}:host{display:block}.usa-breadcrumb__link span{pointer-events:none}@media screen and (max-width: 29.99em){.usa-breadcrumb__list-item:not(:nth-last-child(2)){display:none}}.usa-breadcrumb{padding-top:20px;padding-bottom:32px}@media (min-width: 768px){.usa-breadcrumb{padding-bottom:48px}}.usa-breadcrumb__link{color:var(--vads-color-link)}.usa-breadcrumb__link:hover{color:var(--vads-color-primary-dark)}.usa-breadcrumb__link{color:var(--vads-color-link)}.usa-breadcrumb__link:hover{color:var(--vads-color-primary-dark)}.usa-breadcrumb__list-item:not(:last-child)::after{background:var(--vads-color-gray-medium)}@media (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link{padding-top:0;padding-bottom:0}}.usa-current a{font-weight:bold}'}}]);
|
|
2
|
+
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[7454,7485],{1320:function(e,a,t){t.r(a),t.d(a,{c:function(){return s}});var r,i={exports:{}};r=i,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var s=typeof i;if("string"===s||"number"===s)t.push(i);else if(Array.isArray(i)){if(i.length){var n=a.apply(null,i);n&&t.push(n)}}else if("object"===s)if(i.toString===Object.prototype.toString)for(var l in i)e.call(i,l)&&i[l]&&t.push(l);else t.push(i.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var s=i.exports},7454:function(e,a,t){t.r(a),t.d(a,{va_breadcrumbs:function(){return s}});var r=t(7131),i=t(1320),s=function(){function e(e){(0,r.r)(this,e),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.routeChange=(0,r.c)(this,"routeChange",7),this.label="Breadcrumb",this.wrapping=!1,this.breadcrumbList=void 0,this.homeVeteransAffairs=!0,this.formattedBreadcrumbs=[],this.disableAnalytics=!1}return e.prototype.watchBreadcrumbListHandler=function(e){var a;if(null===(a=this.breadcrumbList)||void 0===a?void 0:a.length){var t=this.validateBreadcrumbs(e);t&&this.updateBreadCrumbList(t)}},e.prototype.updateBreadCrumbList=function(e){var a=e[0];a&&this.homeVeteransAffairs&&(a.label="VA.gov home"),this.formattedBreadcrumbs=e},e.prototype.getClickLevel=function(e){return Array.from(this.el.shadowRoot.querySelectorAll("a")).findIndex((function(a){return a.isEqualNode(e)}))+1},e.prototype.fireAnalyticsEvent=function(e){if(!this.disableAnalytics){var a=e.target;if("A"===(null==a?void 0:a.tagName)){var t={componentName:"va-breadcrumbs",action:"linkClick",details:{clickLabel:a.innerText.trim(),clickLevel:this.getClickLevel(a),totalLevels:this.el.shadowRoot.querySelectorAll("a").length+1}};this.componentLibraryAnalytics.emit(t)}}},e.prototype.handleAnchorNode=function(e,a,t){var r=document.createElement("li");r.classList.add("va-breadcrumbs-li"),a===t.length-1&&e.setAttribute("aria-current","page"),e.parentNode.replaceChild(r,e),r.appendChild(e)},e.prototype.handleListNode=function(e,a,t){e.classList.add("va-breadcrumbs-li");var r=e.querySelector("a");r&&a===t.length-1&&r.setAttribute("aria-current","page")},e.prototype.validateBreadcrumbs=function(e){var a;if(Array.isArray(e))a=e;else{if("string"!=typeof e)return!1;try{a=JSON.parse(e)}catch(e){return!1}}return!(!Array.isArray(a)||!a.every((function(e){return"object"==typeof e&&e.hasOwnProperty("label")&&e.hasOwnProperty("href")})))&&a},e.prototype.componentDidLoad=function(){var e,a=this,t=null===(e=this.el.shadowRoot.querySelector("slot"))||void 0===e?void 0:e.assignedNodes();t&&t.forEach((function(e,r){"LI"===e.nodeName?a.handleListNode(e,r,t):"A"===e.nodeName&&a.handleAnchorNode(e,r,t)}))},e.prototype.componentWillLoad=function(){var e;if(null===(e=this.breadcrumbList)||void 0===e?void 0:e.length){var a=this.validateBreadcrumbs(this.breadcrumbList);a&&this.updateBreadCrumbList(a)}},e.prototype.handleSlotChange=function(){var e,a=this,t=null===(e=this.el.shadowRoot.querySelector("slot"))||void 0===e?void 0:e.assignedNodes().filter((function(e){return"LI"===e.nodeName}));t&&t.forEach((function(e,r){if("LI"===e.nodeName){e.classList.add("usa-breadcrumb__list-item");var i=e.querySelector("a");0===r&&i&&a.homeVeteransAffairs&&(i.innerText="VA.gov home"),(null==i?void 0:i.getAttribute("aria-current"))&&r!==t.length-1&&i.removeAttribute("aria-current");var s=document.createElement("span");if(s.textContent=i.textContent,i.innerHTML="",i.appendChild(s),r===t.length-1){var n=document.createElement("span");n.textContent=i.textContent,e.classList.add("usa-current"),e.replaceChild(n,i),null==e||e.setAttribute("aria-current","page")}}}))},e.prototype.handleRouteChange=function(e,a){e.preventDefault(),this.routeChange.emit({href:a})},e.prototype.handleClick=function(e,a){var t=a.href;a.isRouterLink&&this.handleRouteChange(e,t),this.fireAnalyticsEvent(e)},e.prototype.render=function(){var e=this,a=this.label,t=this.wrapping,s=(0,i.c)({"usa-breadcrumb":!0,"usa-breadcrumb--wrap":t});return(0,r.h)(r.H,{key:"bad1db01e0e41c1d062ce8cca9d2220ee64e2d17"},(0,r.h)("nav",{key:"fc74e436bb6dd64c42d5ceb7ec3a96aa795e5386","aria-label":a,class:s},(0,r.h)("ol",{key:"8cd9dfc7661b88a305794d0b843a8c7844549998",role:"list",class:"usa-breadcrumb__list"},this.formattedBreadcrumbs.map((function(a,t){return(0,r.h)("li",{class:"usa-breadcrumb__list-item ".concat(t===e.formattedBreadcrumbs.length-1?"usa-current":""),"aria-current":t===e.formattedBreadcrumbs.length-1?"page":void 0},t===e.formattedBreadcrumbs.length-1?(0,r.h)("a",{class:"usa-breadcrumb__link",href:"#content",onClick:function(a){return e.fireAnalyticsEvent(a)},lang:a.lang||"en-US",hreflang:a.lang||"en-US"},(0,r.h)("span",null,a.label)):(0,r.h)("a",{class:"usa-breadcrumb__link",href:a.href,onClick:function(t){return e.handleClick(t,a)},lang:a.lang||"en-US",hreflang:a.lang||"en-US"},(0,r.h)("span",null,a.label)))})))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{breadcrumbList:["watchBreadcrumbListHandler"]}},enumerable:!1,configurable:!0}),e}();s.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}.usa-breadcrumb{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;color:#1b1b1b;background-color:white;padding-left:0;padding-right:0}@media all and (min-width: 30em){.usa-breadcrumb{padding-bottom:1rem;padding-top:1rem}}@media all and (min-width: 30em){.usa-breadcrumb:not(.usa-breadcrumb--wrap) .usa-breadcrumb__list{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}}.usa-breadcrumb__list{margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;display:block;padding:0.25rem;margin-left:-0.25rem;margin-right:-0.25rem}.usa-breadcrumb__list>li{margin-bottom:0;max-width:unset}.usa-breadcrumb__list-item{position:absolute;left:-999em;right:auto;display:inline}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item{white-space:normal}.usa-breadcrumb__list-item:nth-last-child(2){position:static}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link{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;padding-left:calc(2ex + 0px);text-indent:calc((2ex + 0px) * -1);color:#005ea2;display:inline-block;padding-bottom:1rem;padding-top:1rem}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:visited{color:#54278f}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:hover{color:#1a4480}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:active{color:#162e51}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled.usa-button--hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true].usa-button--hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled.usa-button--active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true].usa-button--active,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:focus,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:focus,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled.usa-focus,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true].usa-focus,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true],.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--hover{color:#1a4480}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link.usa-button--active{color:#162e51}.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true],.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:focus{color:#757575}}@media (max-width: 29.99em) and (forced-colors: active){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true],.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:disabled:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link[aria-disabled=true]:focus{color:GrayText}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2ex 2ex;display:inline-block;height:2ex;width:2ex;content:"";vertical-align:baseline;margin-right:0rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link::before{background:none;background-color:#71767a;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2ex 2ex;mask-size:2ex 2ex}}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:visited{color:#54278f}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:active{color:#1a4480}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:before{bottom:-0.2em;height:2ex;position:relative}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:hover,.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link:active{text-decoration:none}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link span{text-decoration:underline}}@media all and (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link::before{margin-right:0px}}@media all and (min-width: 30em){.usa-breadcrumb__list-item{position:static}.usa-breadcrumb__list-item:not(:last-child)::after{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2ex 2ex;display:inline-block;height:2ex;width:2ex;content:"";vertical-align:baseline;margin-left:0rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-breadcrumb__list-item:not(:last-child)::after{background:none;background-color:#71767a;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2ex 2ex;mask-size:2ex 2ex}}.usa-breadcrumb__list-item:not(:last-child)::after{bottom:-0.2em;margin-left:0px;margin-right:0px;height:2ex;position:relative}}.usa-breadcrumb__link{color:#005ea2;display:inline;text-decoration:none}.usa-breadcrumb__link:visited{color:#54278f}.usa-breadcrumb__link:hover,.usa-breadcrumb__link:active{color:#1a4480}.usa-breadcrumb__link span{text-decoration:underline}@media all and (min-width: 30em){.usa-breadcrumb--wrap{line-height:1.4}}.usa-breadcrumb--wrap .usa-breadcrumb__list-item{display:inline-block}:host{display:block}.usa-breadcrumb__link span{pointer-events:none}@media screen and (max-width: 29.99em){.usa-breadcrumb__list-item:not(:nth-last-child(2)){display:none}}.usa-breadcrumb{padding-top:20px;padding-bottom:32px}@media (min-width: 768px){.usa-breadcrumb{padding-bottom:48px}}.usa-breadcrumb__link{color:var(--vads-color-link)}.usa-breadcrumb__link:hover{color:var(--vads-color-primary-dark)}.usa-breadcrumb__link{color:var(--vads-color-link)}.usa-breadcrumb__link:hover{color:var(--vads-color-primary-dark)}.usa-breadcrumb__list-item:not(:last-child)::after{background:var(--vads-color-gray-medium)}@media (max-width: 29.99em){.usa-breadcrumb__list-item:nth-last-child(2) .usa-breadcrumb__link{padding-top:0;padding-bottom:0}}.usa-current a{font-weight:bold}'}}]);
|
package/dist/8214.app.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[8214],{8214:function(e,a,t){t.r(a),t.d(a,{va_statement_of_truth:function(){return r}});var n=t(7131),r=function(){function e(e){var a=this;(0,n.r)(this,e),this.vaInputChange=(0,n.c)(this,"vaInputChange",7),this.vaInputBlur=(0,n.c)(this,"vaInputBlur",7),this.vaCheckboxChange=(0,n.c)(this,"vaCheckboxChange",7),this.handleInputChange=function(e){var t=e.currentTarget.value;a.vaInputChange.emit({value:t})},this.handleInputBlur=function(e){a.vaInputBlur.emit(e)},this.handleCheckboxChange=function(e){var t=e.currentTarget.checked;a.vaCheckboxChange.emit({checked:t})},this.heading="Statement of truth",this.inputValue="",this.inputError="",this.checkboxError="",this.inputMessageAriaDescribedby="",this.checked=void 0,this.inputLabel="Your full name",this.checkboxLabel="I certify the information above is correct and true to the best of my knowledge and belief."}return e.prototype.render=function(){var e=this,a=e.heading,t=e.inputLabel,r=e.checkboxLabel,o=e.inputMessageAriaDescribedby,i=e.checked,
|
|
1
|
+
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[8214],{8214:function(e,a,t){t.r(a),t.d(a,{va_statement_of_truth:function(){return r}});var n=t(7131),r=function(){function e(e){var a=this;(0,n.r)(this,e),this.vaInputChange=(0,n.c)(this,"vaInputChange",7),this.vaInputBlur=(0,n.c)(this,"vaInputBlur",7),this.vaCheckboxChange=(0,n.c)(this,"vaCheckboxChange",7),this.handleInputChange=function(e){var t=e.currentTarget.value;a.vaInputChange.emit({value:t})},this.handleInputBlur=function(e){a.vaInputBlur.emit(e)},this.handleCheckboxChange=function(e){var t=e.currentTarget.checked;a.vaCheckboxChange.emit({checked:t})},this.heading="Statement of truth",this.inputValue="",this.inputError="",this.checkboxError="",this.inputMessageAriaDescribedby="",this.checked=void 0,this.inputLabel="Your full name",this.checkboxLabel="I certify the information above is correct and true to the best of my knowledge and belief."}return e.prototype.render=function(){var e=this,a=e.heading,t=e.inputLabel,r=e.checkboxLabel,o=e.inputMessageAriaDescribedby,i=e.checked,s=e.inputValue,c=e.inputError,h=e.checkboxError;return(0,n.h)(n.H,{key:"4463c2700c0100fc5b487e8d50812a8997da61b8"},(0,n.h)("p",{key:"97be20c903141887f855cfad67536c44292a7164",class:"font-sans-6"},(0,n.h)("strong",{key:"82b385c6b0eb14ea8eac2794159c8e7aa4aa7a03"},"Note:")," According to federal law, there are criminal penalties, including a fine and/or imprisonment for up to 5 years, for withholding information or for providing incorrect information (Reference: 18 U.S.C. 1001)."),(0,n.h)("article",{key:"43757585701911f9f2a4bbd5609261f12d0b7fe9"},(0,n.h)("h3",{key:"00b11161a5b33c3bcc758138fd6195ad41b36971"},a),(0,n.h)("slot",{key:"4179eb9802a93e062087da8a1ef4db55fc1a18e2"}),(0,n.h)("p",{key:"91ea0f1a7ce7eca92b0da96d848579a5220e0e98",class:"font-sans-6"},"I have read and accept the ",(0,n.h)("va-link",{key:"6da7e9ffdae0487c98ff78014fd74c9eaf7b7a8c",external:!0,text:"privacy policy",href:"/privacy-policy/"}),"."),(0,n.h)("va-text-input",{key:"463663a9baf49df5024d88f385f8e5c184ec6159",id:"veteran-signature",name:"veteran-signature",label:t,value:s,"message-aria-describedby":o,required:!0,error:c,onInput:this.handleInputChange,onBlur:this.handleInputBlur}),(0,n.h)("va-checkbox",{key:"5f9dbb6b2373643ab1bb6d68295838764bff6a6e",id:"veteran-certify",name:"veteran-certify",label:r,required:!0,checked:i,error:h,onVaChange:this.handleCheckboxChange})))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),e}();r.style='.usa-sr-only{position:absolute;left:-999em;right:auto}[class*=font-mono-]{font-family:Roboto Mono Web, Bitstream Vera Sans Mono, Consolas, Courier, monospace}[class*=font-sans-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-serif-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}[class*=font-ui-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-heading-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}[class*=font-body-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-code-]{font-family:Roboto Mono Web, Bitstream Vera Sans Mono, Consolas, Courier, monospace}[class*=font-alt-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}:host :not(h3){font-size:16.96px}:host h3{font-family:var(--font-serif);margin:24px 0}:host>p{margin:24px}:host va-text-input{margin-bottom:24px}:host article{background-color:var(--vads-color-base-lightest);padding:1px 24px 24px 24px;margin-bottom:24px}va-checkbox::part(checkbox){max-width:100%}a{color:var(--vads-color-link)}'}}]);
|
package/dist/8509.app.bundle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 8509.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([[8509,7485],{1320: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},8509:function(t,e,n){n.r(e),n.d(e,{va_back_to_top:function(){return r}});var o=n(7131),i=n(1320);!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(t){for(var e=window.document,n=i(e);n;)n=i(e=n.ownerDocument);return e}(),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 h=i(e);h&&this._monitorIntersections(h.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=h(i),a=this._rootContainsTarget(i),c=o.entry,l=t&&a&&this._computeTargetAndRootIntersection(i,s,e),d=null;this._rootContainsTarget(i)?n&&!this.root||(d=e):d={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:d,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=f(e),c=!1;!c&&a;){var d=null,p=1==a.nodeType?window.getComputedStyle(a):{};if("none"==p.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,d=null,s=null):d=o:d=r;else{var m=f(a),b=m&&h(m),v=m&&this._computeTargetAndRootIntersection(m,b,r);b&&v?(a=m,d=u(b,v)):(a=null,s=null)}else{var g=a.ownerDocument;a!=g.body&&a!=g.documentElement&&"visible"!=p.overflow&&(d=h(a))}if(d&&(s=l(d,s)),!s)break;a=a&&f(a)}return s}},s.prototype._getRootRect=function(){var e;if(this.root&&!m(this.root))e=h(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||p(t,this.root)},s.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return p(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=d(t.rootBounds),this.boundingClientRect=d(t.boundingClientRect),this.intersectionRect=d(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 h(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 d(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 p(t,e){for(var n=e;n;){if(n==t)return!0;n=f(n)}return!1}function f(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:"6c79ddafe56bc1af5fc2eaf143947ed0b50463bc"},(0,o.h)("span",{key:"97e7be278d54df2a743aa33956f056abed221cdb",id:"marginWrapper"},(0,o.h)("span",{key:"7ce3d8a79e5002ee1d8492d4846fba84799d0473",class:"reveal-point",ref:function(e){return t.revealPixel=e}}),(0,o.h)("div",{key:"633ea54a20e9b44f1b50cb09351a83dab4537c82",class:(0,i.c)({docked:this.isDocked,reveal:this.revealed})},(0,o.h)("a",{key:"e52565d523061bcf8848fca2c95d42fb3486269f",href:"#ds-back-to-top",onClick:this.navigateToTop.bind(this)},(0,o.h)("span",{key:"eefaea0d574952a8c5c377d83fd0faa43f5fc2b4"},(0,o.h)("va-icon",{key:"4951bc24ebc38752b73ecc79d836d0ee7216dab4",icon:"arrow_upward",size:3}),(0,o.h)("span",{key:"1c65fdb9291f28f96eae8cd8a7f42991ab9c0530",class:"sr-only"},"Back to top")," ",(0,o.h)("span",{key:"55869c0cdec210e06841f4b3aa089dc708a06d44",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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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}#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:all 0.25s ease-in;transition:all 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{background-color:var(--vads-color-gray-cool-light);border-radius:0;color:var(--vads-color-primary-darker);outline:none}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}}'}}]);
|
|
2
|
+
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[8509,7485],{1320: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},8509:function(t,e,n){n.r(e),n.d(e,{va_back_to_top:function(){return r}});var o=n(7131),i=n(1320);!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(t){for(var e=window.document,n=i(e);n;)n=i(e=n.ownerDocument);return e}(),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:"6c79ddafe56bc1af5fc2eaf143947ed0b50463bc"},(0,o.h)("span",{key:"97e7be278d54df2a743aa33956f056abed221cdb",id:"marginWrapper"},(0,o.h)("span",{key:"7ce3d8a79e5002ee1d8492d4846fba84799d0473",class:"reveal-point",ref:function(e){return t.revealPixel=e}}),(0,o.h)("div",{key:"633ea54a20e9b44f1b50cb09351a83dab4537c82",class:(0,i.c)({docked:this.isDocked,reveal:this.revealed})},(0,o.h)("a",{key:"e52565d523061bcf8848fca2c95d42fb3486269f",href:"#ds-back-to-top",onClick:this.navigateToTop.bind(this)},(0,o.h)("span",{key:"eefaea0d574952a8c5c377d83fd0faa43f5fc2b4"},(0,o.h)("va-icon",{key:"4951bc24ebc38752b73ecc79d836d0ee7216dab4",icon:"arrow_upward",size:3}),(0,o.h)("span",{key:"1c65fdb9291f28f96eae8cd8a7f42991ab9c0530",class:"sr-only"},"Back to top")," ",(0,o.h)("span",{key:"55869c0cdec210e06841f4b3aa089dc708a06d44",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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}#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/876.app.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[876],{876:function(e,n,
|
|
1
|
+
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[876],{876:function(e,n,o){o.r(n),o.d(n,{va_promo_banner:function(){return a}});var t=o(7131),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:"cancel",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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}: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;font-size:1.25rem;padding: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/934.app.bundle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 934.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([[934,7485],{1320:function(e,i,t){t.r(i),t.d(i,{c:function(){return s}});var r,n={exports:{}};r=n,function(){var e={}.hasOwnProperty;function i(){for(var t=[],r=0;r<arguments.length;r++){var n=arguments[r];if(n){var s=typeof n;if("string"===s||"number"===s)t.push(n);else if(Array.isArray(n)){if(n.length){var
|
|
2
|
+
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[934,7485],{1320:function(e,i,t){t.r(i),t.d(i,{c:function(){return s}});var r,n={exports:{}};r=n,function(){var e={}.hasOwnProperty;function i(){for(var t=[],r=0;r<arguments.length;r++){var n=arguments[r];if(n){var s=typeof n;if("string"===s||"number"===s)t.push(n);else if(Array.isArray(n)){if(n.length){var o=i.apply(null,n);o&&t.push(o)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var a in n)e.call(n,a)&&n[a]&&t.push(a);else t.push(n.toString())}}return t.join(" ")}r.exports?(i.default=i,r.exports=i):window.classNames=i}();var s=n.exports},934:function(e,i,t){t.r(i),t.d(i,{va_icon:function(){return s}});var r=t(7131),n=t(1320),s=function(){function e(e){(0,r.r)(this,e),this.icon=void 0,this.size=void 0,this.srtext=void 0}return e.prototype.getSize=function(){return this.size&&![3,4,5,6,7,8,9].includes(this.size)?null:this.size},e.prototype.render=function(){var e,i=this.icon,t=this.srtext,s=this.getSize(),o=(0,n.c)(((e={"usa-icon":!0})["usa-icon--size-".concat(s)]=!!s,e)),a="/img/sprite.svg#".concat(i);return(0,r.h)(r.H,{key:"0961b0be2beca6744838c757ce30bb25a9e7933f"},(0,r.h)("svg",{key:"90e089fb4db082e243d1814f526857ee30120045",class:o,"aria-labelledby":t?"icon-title":null,"aria-hidden":t?null:"true",focusable:"false",role:"img"},t&&(0,r.h)("title",{key:"d3370ee6736ea55b8254dd05d44880b5dc6260ed",id:"icon-title"},t),(0,r.h)("use",{key:"e1d27cad525cbaa534ac007d7bef26c5cb523bef",href:a})))},Object.defineProperty(e,"assetsDirs",{get:function(){return["../img"]},enumerable:!1,configurable:!0}),e}();s.style=".usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}:host{display:inline-block;line-height:0;vertical-align:bottom}"}}]);
|
package/dist/9370.app.bundle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 9370.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([[9370,7485],{1320:function(e,a,t){t.r(a),t.d(a,{c:function(){return i}});var r,l={exports:{}};r=l,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var l=arguments[r];if(l){var i=typeof l;if("string"===i||"number"===i)t.push(l);else if(Array.isArray(l)){if(l.length){var s=a.apply(null,l);s&&t.push(s)}}else if("object"===i)if(l.toString===Object.prototype.toString)for(var o in l)e.call(l,o)&&l[o]&&t.push(o);else t.push(l.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var i=l.exports},9370:function(e,a,t){t.r(a),t.d(a,{va_checkbox:function(){return o}});var r=t(7131),l=t(1320),i=(t(4259),t(2764)),s=function(e,a,t){if(t||2===arguments.length)for(var r,l=0,i=a.length;l<i;l++)!r&&l in a||(r||(r=Array.prototype.slice.call(a,0,l)),r[l]=a[l]);return e.concat(r||Array.prototype.slice.call(a))},o=function(){function e(e){var a=this;(0,r.r)(this,e),this.vaChange=(0,r.c)(this,"vaChange",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.fireAnalyticsEvent=function(){var e,t=a.description||s(s([],null===(e=a.el.shadowRoot.querySelector('slot[name="description"]'))||void 0===e?void 0:e.assignedNodes(),!0),Array.from(a.el.shadowRoot.querySelectorAll('[slot="description"]')),!0).map((function(e){return e.textContent})).join(" ");a.componentLibraryAnalytics.emit({componentName:"va-checkbox",action:"change",details:{label:a.label,description:t,required:a.required,checked:a.checked}})},this.handleChange=function(e){a.checked=e.target.checked,a.vaChange.emit({checked:a.checked}),a.enableAnalytics&&a.fireAnalyticsEvent()},this.label=void 0,this.error=void 0,this.description=void 0,this.required=!1,this.enableAnalytics=!1,this.checked=!1,this.hint=void 0,this.tile=!1,this.checkboxDescription=void 0,this.disabled=!1,this.messageAriaDescribedby=void 0,this.name=void 0}return e.prototype.connectedCallback=function(){var e=this;i.i.on("languageChanged",(function(){(0,r.f)(e.el)}))},e.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},e.prototype.render=function(){var e=this,a=e.error,t=e.label,s=e.required,o=e.description,c=e.checked,n=e.hint,d=e.tile,b=e.checkboxDescription,u=e.disabled,h=e.messageAriaDescribedby,_=e.name,p=o||!!this.el.querySelector('[slot="description"]'),m=(0,l.c)({"usa-checkbox__input":!0,"usa-checkbox__input--tile":d}),g=(0,l.c)({"usa-legend":!0,"usa-label--error":a}),f=[h?"input-message":"",a?"checkbox-error-message":"",p?"description":""].filter(Boolean).join(" ").trim()||null;return(0,r.h)(r.H,{key:"c4c929a369a870ae8f67aef9140b18808010b44a"},o?(0,r.h)("legend",{id:"description",class:g},o):(0,r.h)("slot",{name:"description"}),n&&(0,r.h)("span",{key:"8342ebe25351c5d7b66cbc00fcd526bc68a0853e",class:"usa-hint"},n),(0,r.h)("span",{key:"ecf8ec7257d89b2a4d95d65d15720004be871ee4",id:"checkbox-error-message",role:"alert"},a&&(0,r.h)(r.F,{key:"00bf09a10a650f5e3c9ce1383d7b0a70a60711c7"},(0,r.h)("span",{key:"ff74bbf499a0bc5559498dc5639a06d0a8781fac",class:"usa-sr-only"},i.i.t("error")),(0,r.h)("span",{key:"33a5b3c20da4d558d9758f4c73a6514273de5cc6",class:"usa-error-message"},a))),(0,r.h)("div",{key:"5d3bc9e18656cb02925ff7deaa437f12b58de4b5",class:"usa-checkbox",part:"checkbox"},(0,r.h)("input",{key:"d7daae5748ef2dd9b8059e62b93bec8c191948be",class:m,type:"checkbox",name:_||null,id:"checkbox-element",checked:c,"aria-describedby":f,"aria-invalid":a?"true":"false",disabled:u,onChange:this.handleChange}),(0,r.h)("label",{key:"045fd10f84f8120fdc75070405ae681b1e756688",htmlFor:"checkbox-element",id:"option-label",class:"usa-checkbox__label",part:"label"},t," ",s&&(0,r.h)("span",{key:"f1272e9f0574067293432ec75e8e6c928c315a45",class:"usa-label--required"},i.i.t("required")),b&&(0,r.h)("span",{key:"02a741dfeffee5d2999141a630e15ad94dc761e9",class:"usa-checkbox__label-description","aria-describedby":"option-label",part:"description"},b)),h&&(0,r.h)("span",{key:"0cc312259e5f752c32e78cbeb88de723cce49dba",id:"input-message",class:"usa-sr-only dd-privacy-hidden"},h)))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();o.style='@charset "UTF-8";.usa-hint,.usa-checkbox__label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}.usa-checkbox{background:white}.usa-checkbox__label{color:#1b1b1b}.usa-checkbox__label::before{background:white;-webkit-box-shadow:0 0 0 2px #1b1b1b;box-shadow:0 0 0 2px #1b1b1b}@media (forced-colors: active){.usa-checkbox__label::before{outline:2px solid transparent;outline-offset:2px}}.usa-checkbox__input:checked+[class*=__label]::before{background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2}.usa-checkbox__input:disabled+[class*=__label],.usa-checkbox__input[aria-disabled=true]+[class*=__label]{color:#757575;cursor:not-allowed}@media (forced-colors: active){.usa-checkbox__input:disabled+[class*=__label],.usa-checkbox__input[aria-disabled=true]+[class*=__label]{color:GrayText}}.usa-checkbox__input:disabled+[class*=__label]::before,.usa-checkbox__input[aria-disabled=true]+[class*=__label]::before{background-color:white;-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-checkbox__input--tile+[class*=__label]{background-color:white;border:2px solid #c9c9c9;color:#1b1b1b}.usa-checkbox__input--tile:checked+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-checkbox__input--tile:checked+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-checkbox__input--tile:disabled+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-checkbox__input--tile:disabled:checked+[class*=__label],.usa-checkbox__input--tile:disabled:indeterminate+[class*=__label],.usa-checkbox__input--tile:disabled[data-indeterminate]+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]:checked+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]:indeterminate+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true][data-indeterminate]+[class*=__label]{background-color:white}.usa-checkbox__input:indeterminate+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2;background-position:center center;background-size:0.75rem auto}@media (forced-colors: active){.usa-checkbox__input:indeterminate+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 28.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8s1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 28.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8s1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-color:SelectedItem}}.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-checkbox__input:indeterminate:disabled+[class*=__label],.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label],.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label],.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-checkbox__input--tile:indeterminate+[class*=__label],.usa-checkbox__input--tile[data-indeterminate]+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-checkbox__input--tile:indeterminate+[class*=__label],.usa-checkbox__input--tile[data-indeterminate]+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-checkbox__input:checked+[class*=__label]::before,.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}@media (forced-colors: active){.usa-checkbox__input:checked+[class*=__label]::before,.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8-alt%3C%2Ftitle%3E%3Cpath fill%3D%22%23171717%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8-alt%3C%2Ftitle%3E%3Cpath fill%3D%22%23171717%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}}.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{background-color:#757575}@media (forced-colors: active){.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{background-color:GrayText}}.usa-checkbox__input{position:absolute;left:-999em;right:auto}.usa-checkbox__input:focus+[class*=__label]::before{outline:0.25rem solid #2491ff;outline-offset:0.25rem}.usa-checkbox__input--tile+[class*=__label]{border-radius:0.25rem;margin-top:0.5rem;padding:0.75rem 1rem 0.75rem 2.5rem}.usa-checkbox__input--tile+[class*=__label]::before{left:0.5rem}.usa-checkbox__input:checked+[class*=__label]::before{background-position:center center;background-size:0.75rem auto}@media print{.usa-checkbox__input:checked+[class*=__label]::before{background-image:none;background-color:white;content:"✔";text-align:center}}@media (forced-colors: active){.usa-checkbox__input:checked+[class*=__label]::before{background-color:SelectedItem}}.usa-checkbox__label{cursor:pointer;display:inherit;font-weight:normal;margin-top:0.75rem;padding-left:2rem;position:relative}.usa-checkbox__label::before{content:" ";display:block;left:0;margin-left:2px;margin-top:0.064rem;position:absolute}.usa-checkbox__label::before{height:1.25rem;width:1.25rem;border-radius:2px}.usa-checkbox__label-description{display:block;font-size:0.93rem;margin-top:0.5rem}.usa-legend{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host{display:block}.usa-checkbox{max-width:320px;background:transparent}.usa-checkbox__input:focus+[class*=__label]::before{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:4px}'}}]);
|
|
2
|
+
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[9370,7485],{1320:function(e,a,t){t.r(a),t.d(a,{c:function(){return i}});var r,l={exports:{}};r=l,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var l=arguments[r];if(l){var i=typeof l;if("string"===i||"number"===i)t.push(l);else if(Array.isArray(l)){if(l.length){var s=a.apply(null,l);s&&t.push(s)}}else if("object"===i)if(l.toString===Object.prototype.toString)for(var o in l)e.call(l,o)&&l[o]&&t.push(o);else t.push(l.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var i=l.exports},9370:function(e,a,t){t.r(a),t.d(a,{va_checkbox:function(){return o}});var r=t(7131),l=t(1320),i=(t(4259),t(2764)),s=function(e,a,t){if(t||2===arguments.length)for(var r,l=0,i=a.length;l<i;l++)!r&&l in a||(r||(r=Array.prototype.slice.call(a,0,l)),r[l]=a[l]);return e.concat(r||Array.prototype.slice.call(a))},o=function(){function e(e){var a=this;(0,r.r)(this,e),this.vaChange=(0,r.c)(this,"vaChange",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.fireAnalyticsEvent=function(){var e,t=a.description||s(s([],null===(e=a.el.shadowRoot.querySelector('slot[name="description"]'))||void 0===e?void 0:e.assignedNodes(),!0),Array.from(a.el.shadowRoot.querySelectorAll('[slot="description"]')),!0).map((function(e){return e.textContent})).join(" ");a.componentLibraryAnalytics.emit({componentName:"va-checkbox",action:"change",details:{label:a.label,description:t,required:a.required,checked:a.checked}})},this.handleChange=function(e){a.checked=e.target.checked,a.vaChange.emit({checked:a.checked}),a.enableAnalytics&&a.fireAnalyticsEvent()},this.label=void 0,this.error=void 0,this.description=void 0,this.required=!1,this.enableAnalytics=!1,this.checked=!1,this.hint=void 0,this.tile=!1,this.checkboxDescription=void 0,this.disabled=!1,this.messageAriaDescribedby=void 0,this.name=void 0}return e.prototype.connectedCallback=function(){var e=this;i.i.on("languageChanged",(function(){(0,r.f)(e.el)}))},e.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},e.prototype.render=function(){var e=this,a=e.error,t=e.label,s=e.required,o=e.description,c=e.checked,n=e.hint,d=e.tile,b=e.checkboxDescription,u=e.disabled,h=e.messageAriaDescribedby,_=e.name,p=!o&&this.el.querySelectorAll('[slot="description"]:not(:empty)').length>0,m=(0,l.c)({"usa-checkbox__input":!0,"usa-checkbox__input--tile":d}),f=(0,l.c)({"usa-legend":!0,"usa-label--error":a}),g=[h?"input-message":"",a?"checkbox-error-message":"",o||p?"description":""].filter(Boolean).join(" ").trim()||null;return(0,r.h)(r.H,{key:"4d901a8a9a894cd45a1f4050830c79d2583d4fb4"},o&&(0,r.h)("legend",{key:"1c21ace294a23565b4ca3a35cb5229b6888ed7fd",id:"description",class:f},o),p&&(0,r.h)("div",{key:"6b9de8752ca15559836d5a2e93afcb4c4d6d004e",id:"description"},(0,r.h)("slot",{key:"7cdb284effaffeb1020caa8c09cc4b8253fa6843",name:"description"})),n&&(0,r.h)("span",{key:"b699f52e059955b6deed97b356184526e7ad9b92",class:"usa-hint"},n),(0,r.h)("span",{key:"568903699a8bd9afc9acb84fd0b1c4c27ea3c1d9",id:"checkbox-error-message",role:"alert"},a&&(0,r.h)(r.F,{key:"72ed25460084c7d84fa594abfe3e6bc15aa1fc74"},(0,r.h)("span",{key:"2a61680192275ad1e34847ec9f198b0f27cfd02a",class:"usa-sr-only"},i.i.t("error")),(0,r.h)("span",{key:"8e018cf3b65a3b65248ca30a4ec203589aa9a977",class:"usa-error-message"},a))),(0,r.h)("div",{key:"58f8082d7dee149d41004f37808e98baec04aae7",class:"usa-checkbox",part:"checkbox"},(0,r.h)("input",{key:"d4395fa05a659b1ab39b073e2df8ad680807d68b",class:m,type:"checkbox",name:_||null,id:"checkbox-element",checked:c,"aria-describedby":g,"aria-invalid":a?"true":"false",disabled:u,onChange:this.handleChange}),(0,r.h)("label",{key:"f49924e9e253e541438e266fdc85d4810357cbfe",htmlFor:"checkbox-element",class:"usa-checkbox__label",part:"label"},t," ",s&&(0,r.h)("span",{key:"9965f1b169ea473c477cb11b3fcc5f017b0e8b77",class:"usa-label--required"},i.i.t("required")),b&&(0,r.h)("span",{key:"9419f1461a1717cf9679ed77c2980e79ccc2a91f",class:"usa-checkbox__label-description",part:"description"},b)),h&&(0,r.h)("span",{key:"7062922bed33ab43834aa7c5b917a6bcd57e338d",id:"input-message",class:"usa-sr-only dd-privacy-hidden"},h)))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();o.style='@charset "UTF-8";.usa-hint,.usa-checkbox__label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}.usa-checkbox{background:white}.usa-checkbox__label{color:#1b1b1b}.usa-checkbox__label::before{background:white;-webkit-box-shadow:0 0 0 2px #1b1b1b;box-shadow:0 0 0 2px #1b1b1b}@media (forced-colors: active){.usa-checkbox__label::before{outline:2px solid transparent;outline-offset:2px}}.usa-checkbox__input:checked+[class*=__label]::before{background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2}.usa-checkbox__input:disabled+[class*=__label],.usa-checkbox__input[aria-disabled=true]+[class*=__label]{color:#757575;cursor:not-allowed}@media (forced-colors: active){.usa-checkbox__input:disabled+[class*=__label],.usa-checkbox__input[aria-disabled=true]+[class*=__label]{color:GrayText}}.usa-checkbox__input:disabled+[class*=__label]::before,.usa-checkbox__input[aria-disabled=true]+[class*=__label]::before{background-color:white;-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-checkbox__input--tile+[class*=__label]{background-color:white;border:2px solid #c9c9c9;color:#1b1b1b}.usa-checkbox__input--tile:checked+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-checkbox__input--tile:checked+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-checkbox__input--tile:disabled+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-checkbox__input--tile:disabled:checked+[class*=__label],.usa-checkbox__input--tile:disabled:indeterminate+[class*=__label],.usa-checkbox__input--tile:disabled[data-indeterminate]+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]:checked+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true]:indeterminate+[class*=__label],.usa-checkbox__input--tile[aria-disabled=true][data-indeterminate]+[class*=__label]{background-color:white}.usa-checkbox__input:indeterminate+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 26.3.1%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A%23FFFFFF%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8c0.8%2C0.8%2C1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-color:#005ea2;-webkit-box-shadow:0 0 0 2px #005ea2;box-shadow:0 0 0 2px #005ea2;background-position:center center;background-size:0.75rem auto}@media (forced-colors: active){.usa-checkbox__input:indeterminate+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 28.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8s1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 28.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 64 64%22 style%3D%22enable-background%3Anew 0 0 64 64%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3B%7D%3C%2Fstyle%3E%3Cpath class%3D%22st0%22 d%3D%22M2.9%2C35.9c0%2C1.1%2C0.4%2C2%2C1.2%2C2.8s1.7%2C1.2%2C2.8%2C1.2h7.9h42.3c1.1%2C0%2C2-0.4%2C2.8-1.2s1.2-1.7%2C1.2-2.8l0%2C0V28%09c0-1.1-0.4-2-1.2-2.8S58.2%2C24%2C57.1%2C24H6.9c-1.1%2C0-2%2C0.4-2.8%2C1.2S2.9%2C26.9%2C2.9%2C28V35.9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat;background-color:SelectedItem}}.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{-webkit-box-shadow:0 0 0 2px #757575;box-shadow:0 0 0 2px #757575}.usa-checkbox__input:indeterminate:disabled+[class*=__label],.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label],.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label],.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]{border-color:#e6e6e6}.usa-checkbox__input--tile:indeterminate+[class*=__label],.usa-checkbox__input--tile[data-indeterminate]+[class*=__label]{background-color:rgba(0, 94, 162, 0.1);border-color:#005ea2}@media (forced-colors: active){.usa-checkbox__input--tile:indeterminate+[class*=__label],.usa-checkbox__input--tile[data-indeterminate]+[class*=__label]{border:ButtonText solid 0.25rem}}.usa-checkbox__input:checked+[class*=__label]::before,.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8%3C%2Ftitle%3E%3Cpath fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}@media (forced-colors: active){.usa-checkbox__input:checked+[class*=__label]::before,.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before{background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8-alt%3C%2Ftitle%3E%3Cpath fill%3D%22%23171717%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2265%22 height%3D%2250%22 viewBox%3D%220 0 65 50%22%3E%3Ctitle%3Ecorrect8-alt%3C%2Ftitle%3E%3Cpath fill%3D%22%23171717%22 fill-rule%3D%22evenodd%22 d%3D%22M63.268 7.063l-5.616-5.61C56.882.685 55.946.3 54.845.3s-2.038.385-2.808 1.155L24.951 28.552 12.81 16.385c-.77-.77-1.707-1.155-2.808-1.155-1.1 0-2.037.385-2.807 1.154l-5.616 5.61C.81 22.764.425 23.7.425 24.8s.385 2.035 1.155 2.805l14.947 14.93 5.616 5.61c.77.77 1.706 1.154 2.807 1.154s2.038-.384 2.808-1.154l5.616-5.61 29.894-29.86c.77-.77 1.157-1.707 1.157-2.805 0-1.101-.385-2.036-1.156-2.805l-.001-.002z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);background-repeat:no-repeat}}.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{background-color:#757575}@media (forced-colors: active){.usa-checkbox__input:checked:disabled+[class*=__label]::before,.usa-checkbox__input:checked[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input:indeterminate:disabled+[class*=__label]::before,.usa-checkbox__input:indeterminate[aria-disabled=true]+[class*=__label]::before,.usa-checkbox__input[data-indeterminate]:disabled+[class*=__label]::before,.usa-checkbox__input[data-indeterminate][aria-disabled=true]+[class*=__label]::before{background-color:GrayText}}.usa-checkbox__input{position:absolute;left:-999em;right:auto}.usa-checkbox__input:focus+[class*=__label]::before{outline:0.25rem solid #2491ff;outline-offset:0.25rem}.usa-checkbox__input--tile+[class*=__label]{border-radius:0.25rem;margin-top:0.5rem;padding:0.75rem 1rem 0.75rem 2.5rem}.usa-checkbox__input--tile+[class*=__label]::before{left:0.5rem}.usa-checkbox__input:checked+[class*=__label]::before{background-position:center center;background-size:0.75rem auto}@media print{.usa-checkbox__input:checked+[class*=__label]::before{background-image:none;background-color:white;content:"✔";text-align:center}}@media (forced-colors: active){.usa-checkbox__input:checked+[class*=__label]::before{background-color:SelectedItem}}.usa-checkbox__label{cursor:pointer;display:inherit;font-weight:normal;margin-top:0.75rem;padding-left:2rem;position:relative}.usa-checkbox__label::before{content:" ";display:block;left:0;margin-left:2px;margin-top:0.064rem;position:absolute}.usa-checkbox__label::before{height:1.25rem;width:1.25rem;border-radius:2px}.usa-checkbox__label-description{display:block;font-size:0.93rem;margin-top:0.5rem}.usa-legend{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host{display:block}.usa-checkbox{max-width:320px;background:transparent}.usa-checkbox__input:focus+[class*=__label]::before{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:4px}'}}]);
|
package/dist/9398.app.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[9398],{9398:function(e,t,i){i.r(t),i.d(t,{va_file_input_multiple:function(){return n}});var r=i(7131),o=(i(4259),i(2764)),n=function(){function e(e){var t=this;(0,r.r)(this,e),this.vaMultipleChange=(0,r.c)(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.renderLabelOrHeader=function(e,t,i){var n=t?(0,r.h)("span",{class:"required"}," ",o.i.t("required")):null;if(i&&i>=1&&i<=6){var a="h".concat(i);return(0,r.h)("div",{class:"label-header"},(0,r.h)(a,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,n))}return(0,r.h)("div",{class:"label-header"},(0,r.h)("span",{part:"label",class:"usa-label"},e),n)},this.hasErrors=function(){return t.errors.some((function(e){return!!e}))},this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.files=[{key:0,file:null,content:null}]}return e.prototype.findFileByKey=function(e){return this.files.find((function(t){return t.key===e}))},e.prototype.isEmpty=function(){return null===this.files[0].file},e.prototype.setSlotContent=function(){var e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()},e.prototype.getAdditionalContent=function(){return this.additionalSlot.map((function(e){return e.cloneNode(!0)}))},e.prototype.handleChange=function(e,t,i){var r=e.detail.files[0];if(r){var o=this.findFileByKey(t);o.file?o.file=r:(o.file=r,o.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files.push({file:null,key:this.fileKeyCounter,content:null}))}else{this.files.splice(i,1);var n=this.el.shadowRoot.querySelector("#statusMessage");n.textContent="",setTimeout((function(){n.textContent="File removed."}),1e3)}this.vaMultipleChange.emit({files:this.files.map((function(e){return e.file})).filter((function(e){return!!e}))}),this.files=Array.of.apply(Array,this.files)},e.prototype.componentDidRender=function(){var e=this,t=this.el.shadowRoot.querySelectorAll("va-file-input");this.setSlotContent(),t.forEach((function(t,i){e.files[i].content&&e.files[i].content.forEach((function(e){return t.append(e)}))}))},e.prototype.render=function(){var e=this,t=this,i=t.label,o=t.required,n=t.headerSize,a=t.hint,s=t.files,l=t.name,h=t.accept,d=t.errors,f=t.enableAnalytics,m=this.isEmpty()?"":"outer-wrap",p=this.hasErrors()?"has-error":"";return(0,r.h)(r.H,{key:"5b267ed02e3d7f08c9bf0b3b1ef01f5bd32c9d66",class:p},i&&this.renderLabelOrHeader(i,o,n),a&&(0,r.h)("div",{key:"e6b93e159bc5ab19871267bbfa3a440894b0e8b8",class:"usa-hint",id:"input-hint-message"},a),(0,r.h)("div",{key:"983b051dd271545513b02b0540035458a348e449",class:m},(0,r.h)("div",{key:"5e9ce9c339d2da5429522b9618babb12aa0cad0e",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&(0,r.h)("div",{key:"72b309e7802a4ab753c65101fcdf314964e14618",class:"selected-files-label"},"Selected files"),s.map((function(t,n){return(0,r.h)("va-file-input",{key:t.key,headless:!0,label:i,hint:a,name:"".concat(l,"-").concat(t.key),accept:h,required:o,error:d[n],onVaChange:function(i){return e.handleChange(i,t.key,n)},"enable-analytics":f})}))),(0,r.h)("slot",{key:"9c5203258cec6a55ad516f2f40fef06d9137c7f6"}))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();n.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@import \'~@department-of-veterans-affairs/css-library/dist/stylesheets/base/headings.css\';:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;padding:0 8px;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host #input-error-message{padding:0 8px;width:100%}:host .file-size-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}:host .file-info-section{border-bottom:1px solid var(--vads-color-base-lighter);padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 481px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .additional-info-slot{padding-bottom:16px}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host.has-error{border-left:0.25rem solid #b50909;padding-left:1rem}:host .outer-wrap{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light);display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .outer-wrap va-file-input:last-child{padding:0 8px}:host va-file-input:not(:last-child){border-bottom:1px solid var(--vads-color-white)}:host va-file-input.has-error{border-left:none;padding-left:0}@media screen and (min-width: 1008px){:host va-file-input.has-error{margin-left:0}}'}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[9398],{9398:function(e,t,i){i.r(t),i.d(t,{va_file_input_multiple:function(){return a}});var r=i(7131),o=(i(4259),i(2764)),a=function(){function e(e){var t=this;(0,r.r)(this,e),this.vaMultipleChange=(0,r.c)(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.renderLabelOrHeader=function(e,t,i){var a=t?(0,r.h)("span",{class:"required"}," ",o.i.t("required")):null;if(i&&i>=1&&i<=6){var n="h".concat(i);return(0,r.h)("div",{class:"label-header"},(0,r.h)(n,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,a))}return(0,r.h)("div",{class:"label-header"},(0,r.h)("span",{part:"label",class:"usa-label"},e),a)},this.hasErrors=function(){return t.errors.some((function(e){return!!e}))},this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.files=[{key:0,file:null,content:null}]}return e.prototype.findFileByKey=function(e){return this.files.find((function(t){return t.key===e}))},e.prototype.isEmpty=function(){return null===this.files[0].file},e.prototype.setSlotContent=function(){var e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()},e.prototype.getAdditionalContent=function(){return this.additionalSlot.map((function(e){return e.cloneNode(!0)}))},e.prototype.handleChange=function(e,t,i){var r=e.detail.files[0];if(r){var o=this.findFileByKey(t);o.file?o.file=r:(o.file=r,o.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files.push({file:null,key:this.fileKeyCounter,content:null}))}else{this.files.splice(i,1);var a=this.el.shadowRoot.querySelector("#statusMessage");a.textContent="",setTimeout((function(){a.textContent="File removed."}),1e3)}this.vaMultipleChange.emit({files:this.files.map((function(e){return e.file})).filter((function(e){return!!e}))}),this.files=Array.of.apply(Array,this.files)},e.prototype.componentDidRender=function(){var e=this,t=this.el.shadowRoot.querySelectorAll("va-file-input");this.setSlotContent(),t.forEach((function(t,i){e.files[i].content&&e.files[i].content.forEach((function(e){return t.append(e)}))}))},e.prototype.render=function(){var e=this,t=this,i=t.label,o=t.required,a=t.headerSize,n=t.hint,s=t.files,l=t.name,h=t.accept,d=t.errors,f=t.enableAnalytics,m=this.isEmpty()?"":"outer-wrap",p=this.hasErrors()?"has-error":"";return(0,r.h)(r.H,{key:"af7427e886d01affb931a59db070773af9ec4bf6",class:p},i&&this.renderLabelOrHeader(i,o,a),n&&(0,r.h)("div",{key:"ed07b915f544da437498eb9cdf576e49696b2f00",class:"usa-hint",id:"input-hint-message"},n),(0,r.h)("div",{key:"edfb6730639935c14cac0a1354c1b2c4c8ad1cf5",class:m},(0,r.h)("div",{key:"daf2a66eac7cd43d46fa1fd9b68034a0f4ede021",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&(0,r.h)("div",{key:"2aa2b95c19f8d5f4fff169a5a0b723fdbb775c99",class:"selected-files-label"},"Selected files"),s.map((function(t,a){return(0,r.h)("va-file-input",{key:t.key,headless:!0,label:i,hint:n,name:"".concat(l,"-").concat(t.key),accept:h,required:o,error:d[a],onVaChange:function(i){return e.handleChange(i,t.key,a)},"enable-analytics":f})}))),(0,r.h)("slot",{key:"66b602ad8c45c9db6debfe099ed30a8a9f5540a3"}))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();a.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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@import \'~@department-of-veterans-affairs/css-library/dist/stylesheets/base/headings.css\';:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;padding:0 8px;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host #input-error-message{padding:0 8px;width:100%}:host .file-size-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}:host .file-info-section{border-bottom:1px solid var(--vads-color-base-lighter);padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 481px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .additional-info-slot{padding-bottom:16px}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){padding-left:0}}:host.has-error{border-left:0.25rem solid #b50909;padding-left:1rem}:host .outer-wrap{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light);display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .outer-wrap va-file-input:last-child{padding:0 8px}:host va-file-input:not(:last-child){border-bottom:1px solid var(--vads-color-white)}:host va-file-input.has-error{border-left:none;padding-left:0}@media screen and (min-width: 1008px){:host va-file-input.has-error{margin-left:0}}'}}]);
|