!function r(a,n,i){function o(t,e){if(!n[t]){if(!a[t]){var s="function"==typeof require&&require;if(!e&&s)return s(t,!0);if(c)return c(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}s=n[t]={exports:{}},a[t][0].call(s.exports,function(e){return o(a[t][1][e]||e)},s,s.exports,r,a,n,i)}return n[t].exports}for(var c="function"==typeof require&&require,e=0;e<i.length;e++)o(i[e]);return o}({1:[function(e,t,s){"use strict";if("document"in window.self){if(!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))if("Element"in(n=window.self)){var r="classList",a="prototype",n=n.Element[a],i=Object,o=String[a].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[a].indexOf||function(e){for(var t=0,s=this.length;t<s;t++)if(t in this&&this[t]===e)return t;return-1},l=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},u=function(e,t){if(""===t)throw new l("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new l("INVALID_CHARACTER_ERR","String contains an invalid character");return c.call(e,t)},d=function(e){for(var t=o.call(e.getAttribute("class")||""),s=t?t.split(/\s+/):[],r=0,a=s.length;r<a;r++)this.push(s[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},p=d[a]=[],b=function(){return new d(this)};if(l[a]=Error[a],p.item=function(e){return this[e]||null},p.contains=function(e){return-1!==u(this,e+="")},p.add=function(){for(var e,t=arguments,s=0,r=t.length,a=!1;-1===u(this,e=t[s]+"")&&(this.push(e),a=!0),++s<r;);a&&this._updateClassName()},p.remove=function(){var e,t,s=arguments,r=0,a=s.length,n=!1;do{for(t=u(this,e=s[r]+"");-1!==t;)this.splice(t,1),n=!0,t=u(this,e)}while(++r<a);n&&this._updateClassName()},p.toggle=function(e,t){var s=this.contains(e+=""),r=s?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!s},p.toString=function(){return this.join(" ")},i.defineProperty){p={get:b,enumerable:!0,configurable:!0};try{i.defineProperty(n,r,p)}catch(e){void 0!==e.number&&-2146823252!==e.number||(p.enumerable=!1,i.defineProperty(n,r,p))}}else i[a].__defineGetter__&&n.__defineGetter__(r,b)}(p=document.createElement("_")).classList.add("c1","c2"),p.classList.contains("c2")||((i=function(e){var r=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){for(var t=arguments.length,s=0;s<t;s++)r.call(this,arguments[s])}})("add"),i("remove")),p.classList.toggle("c3",!1),p.classList.contains("c3")&&(f=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:f.call(this,e)})}var f},{}],2:[function(e,t,s){"use strict";var r;"function"!=typeof(r=window.Element.prototype).matches&&(r.matches=r.msMatchesSelector||r.mozMatchesSelector||r.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),s=0;t[s]&&t[s]!==this;)++s;return Boolean(t[s])}),"function"!=typeof r.closest&&(r.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},{}],3:[function(e,t,s){"use strict";for(var r={polyfill:function(){if(!("KeyboardEvent"in window)||"key"in KeyboardEvent.prototype)return!1;var e={get:function(e){var t=r.keys[this.which||this.keyCode];return t=Array.isArray(t)?t[+this.shiftKey]:t}};return Object.defineProperty(KeyboardEvent.prototype,"key",e),e},keys:{3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"}},a=1;a<25;a++)r.keys[111+a]="F"+a;var n="";for(a=65;a<91;a++)n=String.fromCharCode(a),r.keys[a]=[n.toLowerCase(),n.toUpperCase()];"function"==typeof define&&define.amd?define("keyboardevent-key-polyfill",r):void 0!==s&&void 0!==t?t.exports=r:window&&(window.keyboardeventKeyPolyfill=r)},{}],4:[function(e,t,s){"use strict";var c=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(Object.assign){var e=new String("abc");if(e[5]="de","5"!==Object.getOwnPropertyNames(e)[0]){for(var t={},s=0;s<10;s++)t["_"+String.fromCharCode(s)]=s;var r,a=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"===a.join(""))return r={},"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")?1:void 0}}}catch(e){}}()?Object.assign:function(e,t){for(var s,r=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),a=1;a<arguments.length;a++){for(var n in s=Object(arguments[a]))l.call(s,n)&&(r[n]=s[n]);if(c)for(var i=c(s),o=0;o<i.length;o++)u.call(s,i[o])&&(r[i[o]]=s[i[o]])}return r}},{}],5:[function(e,t,s){"use strict";const c=e("object-assign"),l=e("../delegate"),u=e("../delegateAll"),d=/^(.+):delegate\((.+)\)$/;function p(e,t){var s=e[t];return delete e[t],s}t.exports=function(o,e){const s=Object.keys(o).reduce(function(e,t){s=o[t=t],(i=t.match(d))&&(t=i[1],r=i[2]),"object"==typeof s&&(a={capture:p(s,"capture"),passive:p(s,"passive")}),n={selector:r,delegate:"object"==typeof s?u(s):r?l(r,s):s,options:a};var s,r,a,n,i=-1<t.indexOf(" ")?t.split(" ").map(function(e){return c({type:e},n)}):(n.type=t,[n]);return e.concat(i)},[]);return c({add:function(t){s.forEach(function(e){t.addEventListener(e.type,e.delegate,e.options)})},remove:function(t){s.forEach(function(e){t.removeEventListener(e.type,e.delegate,e.options)})}},e)}},{"../delegate":7,"../delegateAll":8,"object-assign":4}],6:[function(e,t,s){"use strict";t.exports=function(e){return function(t){return e.some(function(e){return!1===e.call(this,t)},this)}}},{}],7:[function(e,t,s){"use strict";e("element-closest"),t.exports=function(s,r){return function(e){var t=e.target.closest(s);if(t)return r.call(t,e)}}},{"element-closest":2}],8:[function(e,t,s){"use strict";const r=e("../delegate"),a=e("../compose");t.exports=function(s){var e=Object.keys(s);return 1===e.length&&"*"===e[0]?s["*"]:(e=e.reduce(function(e,t){return e.push(r(t,s[t])),e},[]),a(e))}},{"../compose":6,"../delegate":7}],9:[function(e,t,s){"use strict";t.exports=function(t,s){return function(e){if(t!==e.target&&!t.contains(e.target))return s.call(this,e)}}},{}],10:[function(e,t,s){"use strict";t.exports={behavior:e("./behavior"),delegate:e("./delegate"),delegateAll:e("./delegateAll"),ignore:e("./ignore"),keymap:e("./keymap")}},{"./behavior":5,"./delegate":7,"./delegateAll":8,"./ignore":9,"./keymap":11}],11:[function(e,t,s){"use strict";e("keyboardevent-key-polyfill");const n={Alt:"altKey",Control:"ctrlKey",Ctrl:"ctrlKey",Shift:"shiftKey"};t.exports=function(a){const e=Object.keys(a).some(function(e){return-1<e.indexOf("+")});return function(s){var r=function(e,t){var s=e.key;if(t)for(var r in n)!0===e[n[r]]&&(s=[r,s].join("+"));return s}(s,e);return[r,r.toLowerCase()].reduce(function(e,t){return e=t in a?a[r].call(this,s):e},void 0)}},t.exports.MODIFIERS=n},{"keyboardevent-key-polyfill":3}],12:[function(e,t,s){"use strict";t.exports=function(t,s){function r(e){return e.currentTarget.removeEventListener(e.type,r,s),t.call(this,e)}return r}},{}],13:[function(e,t,s){"use strict";var r=/(^\s+)|(\s+$)/g,a=/\s+/,n=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(r,"")};t.exports=function(e,t){if("string"!=typeof e)throw new Error("Expected a string but got "+typeof e);var s=((t=t||window.document).getElementById||function(e){return this.querySelector('[id="'+e.replace(/"/g,'\\"')+'"]')}).bind(t);return 1===(e=n(e).split(a)).length&&""===e[0]?[]:e.map(function(e){var t=s(e);if(t)return t;throw new Error('no element with id: "'+e+'"')})}},{}],14:[function(e,t,s){"use strict";var r=e("../../uswds-core/src/js/utils/behavior");const a=e("../../uswds-core/src/js/utils/toggle-form-input");var n=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];t.exports=r({[n]:{[`.${e}-show-password`]:function(e){e.preventDefault(),a(this)}}})},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/toggle-form-input":56}],15:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select");var a=e("../../uswds-core/src/js/utils/behavior");const n=e("../../uswds-core/src/js/utils/toggle"),i=e("../../uswds-core/src/js/utils/is-in-viewport");var o=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];const c=`.${e}-accordion, .${e}-accordion--bordered`,l=`.${e}-accordion__button[aria-controls]:not(${`.${e}-banner__button`})`,u="aria-expanded",d=t=>{return r(l,t).filter(e=>e.closest(c)===t)},p=(t,e)=>{var s=t.closest(c);if(!s)throw new Error(l+" is missing outer "+c);var e=n(t,e),r=s.hasAttribute("data-allow-multiple");e&&!r&&d(s).forEach(e=>{e!==t&&n(e,!1)})};e=a({[o]:{[l](){p(this),"true"!==this.getAttribute(u)||i(this)||this.scrollIntoView()}}},{init(e){r(l,e).forEach(e=>{var t="true"===e.getAttribute(u);p(e,t)})},ACCORDION:c,BUTTON:l,show:e=>p(e,!0),hide:e=>p(e,!1),toggle:p,getButtons:d});t.exports=e},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/is-in-viewport":49,"../../uswds-core/src/js/utils/select":54,"../../uswds-core/src/js/utils/toggle":57}],16:[function(e,t,s){"use strict";var r=e("../../uswds-core/src/js/utils/behavior");const a=e("../../uswds-core/src/js/utils/select");var n=e("../../uswds-core/src/js/events")["CLICK"],i=e("../../uswds-core/src/js/config")["prefix"];const o=e("../../uswds-core/src/js/utils/toggle"),c=`.${i}-banner__header`,l=i+"-banner__header--expanded",u=c+" [aria-controls]";t.exports=r({[n]:{[u]:function(e){e.preventDefault();e=e.target.closest(u);o(e),this.closest(c).classList.toggle(l)}}},{init(e){a(u,e).forEach(e=>{var t="true"===e.getAttribute(l);o(e,t)})}})},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/select":54,"../../uswds-core/src/js/utils/toggle":57}],17:[function(e,t,s){"use strict";var r=e("receptor/keymap"),e=e("../../uswds-core/src/js/utils/behavior")({keydown:{'a[class*="usa-button"]':r({" ":e=>{e.preventDefault(),e.target.click()}})}});t.exports=e},{"../../uswds-core/src/js/utils/behavior":46,"receptor/keymap":11}],18:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select");var a=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/utils/debounce"),e=e("../../uswds-core/src/js/config")["prefix"],i=e+"-character-count";const o="."+i,c=`.${e}-character-count__field`,l=`.${e}-character-count__message`,u="The content is too long.",d=e+"-character-count__status--invalid",p=i+"__status",b=i+"__sr-status",f="."+p,h="."+b,m="characters allowed",v=e=>{e=e.closest(o);if(!e)throw new Error(c+" is missing outer "+o);var t=e.querySelector(l);if(t)return{characterCountEl:e,messageEl:t};throw new Error(o+" is missing inner "+l)},g=e=>{var t=document.createElement("div"),s=document.createElement("div"),r=e.dataset.maxlength+" "+m;t.classList.add(""+p,"usa-hint"),s.classList.add(""+b,"usa-sr-only"),t.setAttribute("aria-hidden",!0),s.setAttribute("aria-live","polite"),t.textContent=r,s.textContent=r,e.append(t,s)},w=(e,t)=>{let s="";var r;return s=0===e?t+" "+m:(r=Math.abs(t-e))+` ${"character"+(1===r?"":"s")} `+(t<e?"over limit":"left")},y=n((e,t)=>{e.textContent=t},1e3),E=e=>{var t=v(e)["characterCountEl"],s=e.value.length,r=parseInt(t.getAttribute("data-maxlength"),10),a=t.querySelector(f),t=t.querySelector(h),n=w(s,r);r&&(r=s&&r<s,a.textContent=n,y(t,n),r&&!e.validationMessage&&e.setCustomValidity(u),r||e.validationMessage!==u||e.setCustomValidity(""),a.classList.toggle(d,r))},A=e=>{var t,{characterCountEl:s,messageEl:r}=v(e);r.classList.add("usa-sr-only"),r.removeAttribute("aria-live"),r=e,e=v(r).characterCountEl,(t=r.getAttribute("maxlength"))&&(r.removeAttribute("maxlength"),e.setAttribute("data-maxlength",t)),g(s)};e=a({input:{[c](){E(this)}}},{init(e){r(c,e).forEach(e=>A(e))},MESSAGE_INVALID_CLASS:d,VALIDATION_MESSAGE:u,STATUS_MESSAGE_CLASS:p,STATUS_MESSAGE_SR_ONLY_CLASS:b,DEFAULT_STATUS_LABEL:m,createStatusMessages:g,getCountMessage:w,updateCountMessage:E});t.exports=e},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/debounce":47,"../../uswds-core/src/js/utils/select":54}],19:[function(e,t,I){"use strict";var s=e("receptor/keymap");const r=e("../../uswds-core/src/js/utils/select-or-matches");var a=e("../../uswds-core/src/js/utils/behavior");const b=e("../../uswds-core/src/js/utils/sanitizer");var n=e("../../uswds-core/src/js/config")["prefix"],e=e("../../uswds-core/src/js/events")["CLICK"],n=n+"-combo-box";const f=n+"--pristine",h=n+"__select",m=n+"__input",v=n+"__clear-input",O=v+"__wrapper",B=n+"__input-button-separator",g=n+"__toggle-list",H=g+"__wrapper",w=n+"__list",y=n+"__list-option",E=y+"--focused",A=y+"--selected",x=n+"__status",j="."+n,P="."+h,u="."+m,d="."+v,p="."+g,F="."+w,i="."+y,L="."+E,R="."+A,Y="."+x,U=".*{{query}}.*";const _=(e,t="")=>{e.value=t,t=new CustomEvent("change",{bubbles:!0,cancelable:!0,detail:{value:t}});e.dispatchEvent(t)},S=e=>{var t,s,r,a,n,i,o,c,l,e=e.closest(j);if(e)return t=e.querySelector(P),s=e.querySelector(u),r=e.querySelector(F),a=e.querySelector(Y),n=e.querySelector(L),i=e.querySelector(R),o=e.querySelector(p),c=e.querySelector(d),l=e.classList.contains(f),{comboBoxEl:e,selectEl:t,inputEl:s,listEl:r,statusEl:a,focusedOptionEl:n,selectedOptionEl:i,toggleListBtnEl:o,clearInputBtnEl:c,isPristine:l,disableFiltering:"true"===e.dataset.disableFiltering};throw new Error("Element is missing outer "+j)},C=e=>{var{inputEl:e,toggleListBtnEl:t,clearInputBtnEl:s}=S(e);s.hidden=!0,s.disabled=!0,t.disabled=!0,e.disabled=!0};const o=e=>{e=e.closest(j);if(!e.dataset.enhanced){const u=e.querySelector("select");if(!u)throw new Error(j+" is missing inner select");var t=u.id,r=document.querySelector(`label[for="${t}"]`),a=t+"--list",n=t+"-label",i=t+"--assistiveHint";const d=[];var o=e.dataset["defaultValue"],c=e.dataset["placeholder"];let s;if(c&&d.push({placeholder:c}),o)for(let e=0,t=u.options.length;e<t;e+=1){var l=u.options[e];if(l.value===o){s=l;break}}if(!r||!r.matches(`label[for="${t}"]`))throw new Error(j+` for ${t} is either missing a label or a "for" attribute`);r.setAttribute("id",n),r.setAttribute("id",n),u.setAttribute("aria-hidden","true"),u.setAttribute("tabindex","-1"),u.classList.add("usa-sr-only",h),u.id="",u.value="",["required","aria-label","aria-labelledby"].forEach(e=>{var t;u.hasAttribute(e)&&(t=u.getAttribute(e),d.push({[e]:t}),u.removeAttribute(e))});const p=document.createElement("input");p.setAttribute("id",t),p.setAttribute("aria-owns",a),p.setAttribute("aria-controls",a),p.setAttribute("aria-autocomplete","list"),p.setAttribute("aria-describedby",i),p.setAttribute("aria-expanded","false"),p.setAttribute("autocapitalize","off"),p.setAttribute("autocomplete","off"),p.setAttribute("class",m),p.setAttribute("type","text"),p.setAttribute("role","combobox"),d.forEach(s=>Object.keys(s).forEach(e=>{var t=b.escapeHTML`${s[e]}`;p.setAttribute(e,t)})),e.insertAdjacentElement("beforeend",p),e.insertAdjacentHTML("beforeend",b.escapeHTML`
    <span class="${O}" tabindex="-1">
        <button type="button" class="${v}" aria-label="Clear the select contents"> </button>
      </span>
      <span class="${B}"> </span>
      <span class="${H}" tabindex="-1">
        <button type="button" tabindex="-1" class="${g}" aria-label="Toggle the dropdown list"> </button>
      </span>
      <ul
        tabindex="-1"
        id="${a}"
        class="${w}"
        role="listbox"
        aria-labelledby="${n}"
        hidden>
      </ul>
      <div class="${x} usa-sr-only" role="status"></div>
      <span id="${i}" class="usa-sr-only">
        When autocomplete results are available use up and down arrows to review and enter to select.
        Touch device users, explore by touch or with swipe gestures.
      </span>`),s&&(c=S(e)["inputEl"],_(u,s.value),_(c,s.text),e.classList.add(f)),u.disabled&&(C(e),u.disabled=!1),u.hasAttribute("aria-disabled")&&(r=e,{inputEl:r,toggleListBtnEl:t,clearInputBtnEl:a}=S(r),a.hidden=!0,a.setAttribute("aria-disabled",!0),t.setAttribute("aria-disabled",!0),r.setAttribute("aria-disabled",!0),u.removeAttribute("aria-disabled")),e.dataset.enhanced="true"}},D=(e,t,{skipFocus:s,preventScroll:r}={})=>{var{inputEl:e,listEl:a,focusedOptionEl:n}=S(e);n&&(n.classList.remove(E),n.setAttribute("tabIndex","-1")),t?(e.setAttribute("aria-activedescendant",t.id),t.setAttribute("tabIndex","0"),t.classList.add(E),r||(n=t.offsetTop+t.offsetHeight,a.scrollTop+a.offsetHeight<n&&(a.scrollTop=n-a.offsetHeight),t.offsetTop<a.scrollTop&&(a.scrollTop=t.offsetTop)),s||t.focus({preventScroll:r})):(e.setAttribute("aria-activedescendant",""),e.focus())},$=(e,r="",a={})=>{const n=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");e=`^(?:${e.replace(/{{(.*?)}}/g,(e,t)=>{var t=t.trim(),s=a[t];return"query"!==t&&s?(t=new RegExp(s,"i"),(s=r.match(t))?n(s[1]):""):n(r)})})$`;return new RegExp(e,"i")},c=e=>{const{comboBoxEl:t,selectEl:s,inputEl:r,listEl:a,statusEl:n,isPristine:i,disableFiltering:o}=S(e);let c,l;const u=a.id+"--option-";var d=(r.value||"").toLowerCase(),e=t.dataset.filter||U,p=$(e,d,t.dataset);const b=[];for(let e=0,t=s.options.length;e<t;e+=1){var f=s.options[e],h=u+b.length;f.value&&(o||i||!d||p.test(f.text))&&(s.value&&f.value===s.value&&(c=h),o&&!l&&p.test(f.text)&&(l=h),b.push(f))}var e=b.length,m=b.map((e,t)=>{var s=u+t,r=[y];let a="-1",n="false";s===c&&(r.push(A,E),a="0",n="true"),c||0!==t||(r.push(E),a="0");var i=document.createElement("li");return i.setAttribute("aria-setsize",b.length),i.setAttribute("aria-posinset",t+1),i.setAttribute("aria-selected",n),i.setAttribute("id",s),i.setAttribute("class",r.join(" ")),i.setAttribute("tabindex",a),i.setAttribute("role","option"),i.setAttribute("data-value",e.value),i.textContent=e.text,i}),v=document.createElement("li");v.setAttribute("class",y+"--no-results"),v.textContent="No results found",a.hidden=!1,e?(a.innerHTML="",m.forEach(e=>a.insertAdjacentElement("beforeend",e))):(a.innerHTML="",a.insertAdjacentElement("beforeend",v)),r.setAttribute("aria-expanded","true"),n.textContent=e?e+` result${1<e?"s":""} available.`:"No results.";let g;i&&c?g=a.querySelector("#"+c):o&&l&&(g=a.querySelector("#"+l)),g&&D(a,g,{skipFocus:!0})},l=e=>{var{inputEl:e,listEl:t,statusEl:s,focusedOptionEl:r}=S(e);s.innerHTML="",e.setAttribute("aria-expanded","false"),e.setAttribute("aria-activedescendant",""),r&&r.classList.remove(E),t.scrollTop=0,t.hidden=!0},T=e=>{var{comboBoxEl:t,selectEl:s,inputEl:r}=S(e);_(s,e.dataset.value),_(r,e.textContent),t.classList.add(f),l(t),r.focus()},k=e=>{var{comboBoxEl:s,selectEl:r,inputEl:a}=S(e),n=r.value,i=(a.value||"").toLowerCase();if(n)for(let e=0,t=r.options.length;e<t;e+=1){var o=r.options[e];if(o.value===n)return i!==o.text&&_(a,o.text),void s.classList.add(f)}i&&_(a)};var M=e=>{var{comboBoxEl:t,listEl:s}=S(e.target),s=(s.hidden&&c(t),s.querySelector(L)||s.querySelector(i));s&&D(t,s),e.preventDefault()},q=e=>{var t=e.target,s=t.nextSibling;s&&D(t,s),e.preventDefault()},N=e=>{var{comboBoxEl:t,listEl:s,focusedOptionEl:r}=S(e.target),r=r&&r.previousSibling,s=!s.hidden;D(t,r),s&&e.preventDefault(),r||l(t)};a=a({[e]:{[u](){var e,t;this.disabled||(e=this,{comboBoxEl:e,listEl:t}=S(e),t.hidden&&c(e))},[p](){var e,t,s;this.disabled||(e=this,{comboBoxEl:e,listEl:t,inputEl:s}=S(e),(t.hidden?c:l)(e),s.focus())},[i](){this.disabled||T(this)},[d](){var e,t,s,r;this.disabled||(e=this,{comboBoxEl:e,listEl:r,selectEl:t,inputEl:s}=S(e),r=!r.hidden,t.value&&_(t),s.value&&_(s),e.classList.remove(f),r&&c(e),s.focus())}},focusout:{[j](e){this.contains(e.relatedTarget)||(k(this),l(this))}},keydown:{[j]:s({Escape:e=>{var{comboBoxEl:e,inputEl:t}=S(e.target);l(e),k(e),t.focus()}}),[u]:s({Enter:e=>{var{comboBoxEl:t,listEl:s}=S(e.target),s=!s.hidden;(e=>{var{comboBoxEl:s,selectEl:r,inputEl:a,statusEl:e}=S(e),n=(e.textContent="",(a.value||"").toLowerCase());if(n)for(let e=0,t=r.options.length;e<t;e+=1){var i=r.options[e];if(i.text.toLowerCase()===n)return _(r,i.value),_(a,i.text),s.classList.add(f)}k(s)})(t),s&&l(t),e.preventDefault()},ArrowDown:M,Down:M}),[i]:s({ArrowUp:N,Up:N,ArrowDown:q,Down:q,Enter:e=>{T(e.target),e.preventDefault()}," ":e=>{T(e.target),e.preventDefault()},"Shift+Tab":()=>{}})},input:{[u](){this.closest(j).classList.remove(f),c(this)}},mouseover:{[i](){var e;(e=this).classList.contains(E)||D(e,e,{preventScroll:!0})}}},{init(e){r(j,e).forEach(e=>{o(e)})},getComboBoxContext:S,enhanceComboBox:o,generateDynamicRegExp:$,disable:C,enable:e=>{var{inputEl:e,toggleListBtnEl:t,clearInputBtnEl:s}=S(e);s.hidden=!1,s.disabled=!1,t.disabled=!1,e.disabled=!1},displayList:c,hideList:l,COMBO_BOX_CLASS:n});t.exports=a},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/sanitizer":51,"../../uswds-core/src/js/utils/select-or-matches":53,"receptor/keymap":11}],20:[function(e,E,A){"use strict";const t=e("receptor/keymap");var _=e("../../uswds-core/src/js/utils/behavior");const S=e("../../uswds-core/src/js/utils/select"),P=e("../../uswds-core/src/js/utils/select-or-matches");var s=e("../../uswds-core/src/js/config")["prefix"],F=e("../../uswds-core/src/js/events")["CLICK"];const R=e("../../uswds-core/src/js/utils/active-element");var Y=e("../../uswds-core/src/js/utils/is-ios-device");const C=e("../../uswds-core/src/js/utils/sanitizer");e=s+"-date-picker";const U=e+"__wrapper",V=e+"--initialized",K=e+"--active",W=e+"__internal-input",z=e+"__external-input",Q=e+"__button",n=e+"__calendar",G=e+"__status",D=n+"__date",Z=D+"--focused",X=D+"--selected",J=D+"--previous-month",ee=D+"--current-month",te=D+"--next-month",se=D+"--range-date",re=D+"--today",ae=D+"--range-date-start",ne=D+"--range-date-end",ie=D+"--within-range",oe=n+"__previous-year",ce=n+"__previous-month",le=n+"__next-year",ue=n+"__next-month",de=n+"__month-selection",pe=n+"__year-selection",p=n+"__month",be=p+"--focused",fe=p+"--selected",x=n+"__year",he=x+"--focused",me=x+"--selected",ve=n+"__previous-year-chunk",ge=n+"__next-year-chunk",we=n+"__date-picker",ye=n+"__month-picker",Ee=n+"__year-picker",$=n+"__table",Ae=n+"__row",T=n+"__cell",k=T+"--center-items",xe=n+"__month-label",je=n+"__day-of-week",f="."+e,Le="."+Q,_e="."+W,h="."+z,m="."+n,Se="."+G;s="."+D;const o="."+Z;e="."+ee;const Ce="."+oe,De="."+ce,$e="."+le,Te="."+ue;var ke="."+pe,Me="."+de,qe="."+p;const v="."+x,Ne="."+ve,Ie="."+ge,M="."+we;var Oe="."+ye;const Be="."+Ee,He="."+be,c="."+he,Pe="Please enter a valid date",Fe=["January","February","March","April","May","June","July","August","September","October","November","December"],Re=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],j=12,Ye="MM/DD/YYYY",Ue="YYYY-MM-DD";var r=(...e)=>e.map(e=>e+":not([disabled])").join(", "),Ve=r(Ce,De,ke,Me,$e,Te,o),Ke=r(He),r=r(Ne,Ie,c);const We=(e,t)=>(t!==e.getMonth()&&e.setDate(0),e),ze=(e,t,s)=>{var r=new Date(0);return r.setFullYear(e,t,s),r},Qe=()=>{var e=new Date,t=e.getDate(),s=e.getMonth(),e=e.getFullYear();return ze(e,s,t)},Ge=e=>{var t=new Date(0);return t.setFullYear(e.getFullYear(),e.getMonth(),1),t},Ze=e=>{var t=new Date(0);return t.setFullYear(e.getFullYear(),e.getMonth()+1,0),t},q=(e,t)=>{e=new Date(e.getTime());return e.setDate(e.getDate()+t),e},Xe=(e,t)=>q(e,-t),Je=(e,t)=>q(e,7*t),et=e=>{var t=e.getDay();return Xe(e,t)},N=(e,t)=>{var e=new Date(e.getTime()),s=(e.getMonth()+12+t)%12;return e.setMonth(e.getMonth()+t),We(e,s),e},tt=(e,t)=>N(e,-t),st=(e,t)=>N(e,12*t),rt=(e,t)=>st(e,-t),b=(e,t)=>{e=new Date(e.getTime());return e.setMonth(t),We(e,t),e},L=(e,t)=>{var e=new Date(e.getTime()),s=e.getMonth();return e.setFullYear(t),We(e,s),e},at=(e,t)=>{let s=t<e?t:e;return new Date(s.getTime())},nt=(e,t)=>{let s=e<t?t:e;return new Date(s.getTime())},it=(e,t)=>e&&t&&e.getFullYear()===t.getFullYear(),I=(e,t)=>it(e,t)&&e.getMonth()===t.getMonth(),O=(e,t)=>I(e,t)&&e.getDate()===t.getDate(),l=(e,t,s)=>{let r=e;return e<t?r=t:s&&s<e&&(r=s),new Date(r.getTime())},ot=(e,t,s)=>t<=e&&(!s||e<=s),ct=(e,t,s)=>Ze(e)<t||s&&Ge(e)>s,lt=(e,t,s)=>Ze(b(e,11))<t||s&&Ge(b(e,0))>s,g=(r,a=Ue,n=!1)=>{let i,o,c,l,u;if(r){let e,t,s;a===Ye?[e,t,s]=r.split("/"):[s,e,t]=r.split("-"),s&&(u=parseInt(s,10),Number.isNaN(u)||(l=u,n&&(l=Math.max(0,l),s.length<3)&&(r=(a=Qe().getFullYear())-a%10**s.length,l=r+u))),e&&(u=parseInt(e,10),Number.isNaN(u)||(o=u,n&&(o=Math.max(1,o),o=Math.min(12,o)))),o&&t&&null!=l&&(u=parseInt(t,10),Number.isNaN(u)||(c=u,n&&(a=ze(l,o,0).getDate(),c=Math.max(1,c),c=Math.min(a,c)))),o&&c&&null!=l&&(i=ze(l,o-1,c))}return i},B=(e,t=Ue)=>{var s=(e,t)=>("0000"+e).slice(-t),r=e.getMonth()+1,a=e.getDate(),e=e.getFullYear();return t===Ye?[s(r,2),s(a,2),s(e,4)].join("/"):[s(e,4),s(r,2),s(a,2)].join("-")},ut=(e,t)=>{var s=[],r=[];let a=0;for(;a<e.length;){r=[];const i=document.createElement("tr");for(;a<e.length&&r.length<t;){var n=document.createElement("td");n.insertAdjacentElement("beforeend",e[a]),r.push(n),a+=1}r.forEach(e=>{i.insertAdjacentElement("beforeend",e)}),s.push(i)}return s},dt=e=>{const t=document.createElement("tbody");return e.forEach(e=>{t.insertAdjacentElement("beforeend",e)}),t},pt=(e,t="")=>{e.value=t,t=new CustomEvent("change",{bubbles:!0,cancelable:!0,detail:{value:t}});e.dispatchEvent(t)},H=e=>{e=e.closest(f);if(!e)throw new Error("Element is missing outer "+f);var t=e.querySelector(_e),s=e.querySelector(h),r=e.querySelector(m),a=e.querySelector(Le),n=e.querySelector(Se),i=e.querySelector(v),o=g(s.value,Ye,!0),c=g(t.value),l=g(r.dataset.value),u=g(e.dataset.minDate),d=g(e.dataset.maxDate),p=g(e.dataset.rangeDate),b=g(e.dataset.defaultDate);if(u&&d&&d<u)throw new Error("Minimum date cannot be after maximum date");return{calendarDate:l,minDate:u,toggleBtnEl:a,selectedDate:c,maxDate:d,firstYearChunkEl:i,datePickerEl:e,inputDate:o,internalInputEl:t,externalInputEl:s,calendarEl:r,rangeDate:p,defaultDate:b,statusEl:n}},bt=e=>{var{externalInputEl:e,toggleBtnEl:t}=H(e);t.disabled=!0,e.disabled=!0},ft=e=>{var{externalInputEl:e,toggleBtnEl:t}=H(e);t.setAttribute("aria-disabled",!0),e.setAttribute("aria-disabled",!0)};const ht=e=>{var t,s,r,a,{externalInputEl:e,minDate:n,maxDate:i}=H(e),e=e.value;let o=!1;return o=e&&(o=!0,[t,s,r]=(e=e.split("/")).map(e=>{let t;e=parseInt(e,10);return t=Number.isNaN(e)?t:e}),t)&&s&&null!=r&&(a=ze(r,t-1,s)).getMonth()===t-1&&a.getDate()===s&&a.getFullYear()===r&&4===e[2].length&&ot(a,n,i)?!1:o},mt=e=>{var e=H(e)["externalInputEl"],t=ht(e);t&&!e.validationMessage&&e.setCustomValidity(Pe),t||e.validationMessage!==Pe||e.setCustomValidity("")},vt=(e,t)=>{var s,r,a=g(t);a&&(a=B(a,Ye),{datePickerEl:e,internalInputEl:s,externalInputEl:r}=H(e),pt(s,t),pt(r,a),mt(e))},u=(e,t)=>{const{datePickerEl:s,calendarEl:r,statusEl:a,selectedDate:d,maxDate:p,minDate:b,rangeDate:f}=H(e),h=Qe();let n=t||h;e=r.hidden;const m=q(n,0);var i=n.getMonth(),t=n.getFullYear();const v=tt(n,1),g=N(n,1);var o=B(n),c=Ge(n),l=I(n,b),u=I(n,p),w=d||n;const y=f&&at(w,f),E=f&&nt(w,f),A=f&&q(y,1),x=f&&Xe(E,1);for(var w=Fe[i],j=(n=et(c),[]);j.length<28||n.getMonth()===i||j.length%7!=0;)j.push((e=>{var t=[D],s=e.getDate(),r=e.getMonth(),a=e.getFullYear(),n=e.getDay(),i=B(e);let o="-1";var c=!ot(e,b,p),l=O(e,d),e=(I(e,v)&&t.push(J),I(e,m)&&t.push(ee),I(e,g)&&t.push(te),l&&t.push(X),O(e,h)&&t.push(re),f&&(O(e,f)&&t.push(se),O(e,y)&&t.push(ae),O(e,E)&&t.push(ne),ot(e,A,x))&&t.push(ie),O(e,m)&&(o="0",t.push(Z)),Fe[r]),n=Re[n],u=document.createElement("button");return u.setAttribute("type","button"),u.setAttribute("tabindex",o),u.setAttribute("class",t.join(" ")),u.setAttribute("data-day",s),u.setAttribute("data-month",r+1),u.setAttribute("data-year",a),u.setAttribute("data-value",i),u.setAttribute("aria-label",C.escapeHTML`${s} ${e} ${a} ${n}`),u.setAttribute("aria-selected",l?"true":"false"),!0==c&&(u.disabled=!0),u.textContent=s,u})(n)),n=q(n,1);var c=ut(j,7),L=r.cloneNode(),o=(L.dataset.value=o,L.style.top=s.offsetHeight+"px",L.hidden=!1,L.innerHTML=C.escapeHTML`
    <div tabindex="-1" class="${we}">
      <div class="${Ae}">
        <div class="${T} ${k}">
          <button
            type="button"
            class="${oe}"
            aria-label="Navigate back one year"
            ${l?'disabled="disabled"':""}
          ></button>
        </div>
        <div class="${T} ${k}">
          <button
            type="button"
            class="${ce}"
            aria-label="Navigate back one month"
            ${l?'disabled="disabled"':""}
          ></button>
        </div>
        <div class="${T} ${xe}">
          <button
            type="button"
            class="${de}" aria-label="${w}. Select month"
          >${w}</button>
          <button
            type="button"
            class="${pe}" aria-label="${t}. Select year"
          >${t}</button>
        </div>
        <div class="${T} ${k}">
          <button
            type="button"
            class="${ue}"
            aria-label="Navigate forward one month"
            ${u?'disabled="disabled"':""}
          ></button>
        </div>
        <div class="${T} ${k}">
          <button
            type="button"
            class="${le}"
            aria-label="Navigate forward one year"
            ${u?'disabled="disabled"':""}
          ></button>
        </div>
      </div>
    </div>
    `,document.createElement("table")),l=(o.setAttribute("class",$),document.createElement("thead"));o.insertAdjacentElement("beforeend",l);const _=document.createElement("tr"),S=(l.insertAdjacentElement("beforeend",_),{Sunday:"S",Monday:"M",Tuesday:"T",Wednesday:"W",Thursday:"Th",Friday:"Fr",Saturday:"S"});Object.keys(S).forEach(e=>{var t=document.createElement("th");t.setAttribute("class",je),t.setAttribute("scope","col"),t.setAttribute("aria-label",e),t.textContent=S[e],_.insertAdjacentElement("beforeend",t)});u=dt(c);o.insertAdjacentElement("beforeend",u);L.querySelector(M).insertAdjacentElement("beforeend",o),r.parentNode.replaceChild(L,r),s.classList.add(K);l=[];return O(d,m)&&l.push("Selected date"),e?(l.push("You can navigate by day using left and right arrows","Weeks by using up and down arrows","Months by using page up and page down keys","Years by using shift plus page up and shift plus page down","Home and end keys navigate to the beginning and end of a week"),a.textContent=""):l.push(w+" "+t),a.textContent=l.join(". "),L},gt=e=>{var{datePickerEl:e,calendarEl:t,statusEl:s}=H(e);e.classList.remove(K),t.hidden=!0,s.textContent=""},wt=e=>{var{calendarEl:e,inputDate:t,minDate:s,maxDate:r}=H(e);!e.hidden&&t&&(t=l(t,s,r),u(e,t))},yt=(e,t)=>{const{calendarEl:s,statusEl:r,calendarDate:o,minDate:c,maxDate:l}=H(e),u=o.getMonth(),d=null==t?u:t;var e=Fe.map((e,t)=>{var s=b(o,t),s=ct(s,c,l);let r="-1";var a=[p],n=t===u,i=(t===d&&(r="0",a.push(be)),n&&a.push(fe),document.createElement("button"));return i.setAttribute("type","button"),i.setAttribute("tabindex",r),i.setAttribute("class",a.join(" ")),i.setAttribute("data-value",t),i.setAttribute("data-label",e),i.setAttribute("aria-selected",n?"true":"false"),!0===s&&(i.disabled=!0),i.textContent=e,i}),t=document.createElement("div"),a=(t.setAttribute("tabindex","-1"),t.setAttribute("class",ye),document.createElement("table")),e=(a.setAttribute("class",$),a.setAttribute("role","presentation"),ut(e,3)),e=dt(e),e=(a.insertAdjacentElement("beforeend",e),t.insertAdjacentElement("beforeend",a),s.cloneNode());return e.insertAdjacentElement("beforeend",t),s.parentNode.replaceChild(e,s),r.textContent="Select a month.",e},d=(e,t)=>{var{calendarEl:e,statusEl:s,calendarDate:r,minDate:a,maxDate:n}=H(e),i=r.getFullYear(),o=null==t?i:t,t=o,c=(t-=t%j,t=Math.max(0,t),lt(L(r,t-1),a,n)),l=lt(L(r,t+j),a,n),u=[];let d=t;for(;u.length<j;){var p=lt(L(r,d),a,n);let e="-1";var b=[x],f=d===i,h=(d===o&&(e="0",b.push(he)),f&&b.push(me),document.createElement("button"));h.setAttribute("type","button"),h.setAttribute("tabindex",e),h.setAttribute("class",b.join(" ")),h.setAttribute("data-value",d),h.setAttribute("aria-selected",f?"true":"false"),!0===p&&(h.disabled=!0),h.textContent=d,u.push(h),d+=1}var m=e.cloneNode(),v=document.createElement("div"),g=(v.setAttribute("tabindex","-1"),v.setAttribute("class",Ee),document.createElement("table")),w=(g.setAttribute("class",$),document.createElement("tbody")),y=document.createElement("tr"),E=document.createElement("button"),c=(E.setAttribute("type","button"),E.setAttribute("class",ve),E.setAttribute("aria-label",`Navigate back ${j} years`),!0===c&&(E.disabled=!0),E.innerHTML=C.escapeHTML` `,document.createElement("button")),l=(c.setAttribute("type","button"),c.setAttribute("class",ge),c.setAttribute("aria-label",`Navigate forward ${j} years`),!0===l&&(c.disabled=!0),c.innerHTML=C.escapeHTML` `,document.createElement("table")),A=(l.setAttribute("class",$),l.setAttribute("role","presentation"),ut(u,3)),A=dt(A),A=(l.insertAdjacentElement("beforeend",A),document.createElement("td")),E=(A.insertAdjacentElement("beforeend",E),document.createElement("td")),l=(E.setAttribute("colspan","3"),E.insertAdjacentElement("beforeend",l),document.createElement("td"));return l.insertAdjacentElement("beforeend",c),y.insertAdjacentElement("beforeend",A),y.insertAdjacentElement("beforeend",E),y.insertAdjacentElement("beforeend",l),w.insertAdjacentElement("beforeend",y),g.insertAdjacentElement("beforeend",w),v.insertAdjacentElement("beforeend",g),m.insertAdjacentElement("beforeend",v),e.parentNode.replaceChild(m,e),s.textContent=C.escapeHTML`Showing years ${t} to ${t+j-1}. Select a year.`,m},Et=e=>{var{datePickerEl:t,externalInputEl:s}=H(e.target);gt(t),s.focus(),e.preventDefault()};var a=i=>e=>{var{calendarEl:t,calendarDate:s,minDate:r,maxDate:a}=H(e.target),n=i(s),n=l(n,r,a);O(s,n)||u(t,n).querySelector(o).focus(),e.preventDefault()},At=a(e=>{return e=e,t=1,Je(e,-t);var t}),xt=a(e=>Je(e,1)),jt=a(e=>Xe(e,1)),Lt=a(e=>q(e,1)),_t=a(e=>et(e)),St=a(e=>{return t=(e=e).getDay(),q(e,6-t);var t}),Ct=a(e=>N(e,1)),Dt=a(e=>tt(e,1)),$t=a(e=>st(e,1)),a=a(e=>rt(e,1));var i=o=>e=>{var t=e.target,s=parseInt(t.dataset.value,10),{calendarEl:t,calendarDate:r,minDate:a,maxDate:n}=H(t),i=b(r,s),s=o(s),s=Math.max(0,Math.min(11,s)),r=b(r,s),s=l(r,a,n);I(i,s)||yt(t,s.getMonth()).querySelector(He).focus(),e.preventDefault()},Tt=i(e=>e-3),kt=i(e=>e+3),Mt=i(e=>e-1),qt=i(e=>e+1),Nt=i(e=>e-e%3),It=i(e=>e+2-e%3),Ot=i(()=>11),i=i(()=>0);var w=o=>e=>{var t=e.target,s=parseInt(t.dataset.value,10),{calendarEl:t,calendarDate:r,minDate:a,maxDate:n}=H(t),i=L(r,s),s=o(s),s=Math.max(0,s),r=L(r,s),s=l(r,a,n);it(i,s)||d(t,s.getFullYear()).querySelector(c).focus(),e.preventDefault()},Bt=w(e=>e-3),Ht=w(e=>e+3),Pt=w(e=>e-1),Ft=w(e=>e+1),Rt=w(e=>e-e%3),Yt=w(e=>e+2-e%3),Ut=w(e=>e-j),w=w(e=>e+j);var y=n=>{const a=e=>{var e=H(e)["calendarEl"],e=S(n,e),t=e.length-1,s=e[0],r=e[t],a=e.indexOf(R());return{focusableElements:e,isNotFound:-1===a,firstTabStop:s,isFirstTab:0===a,lastTabStop:r,isLastTab:a===t}};return{tabAhead(e){var{firstTabStop:t,isLastTab:s,isNotFound:r}=a(e.target);(s||r)&&(e.preventDefault(),t.focus())},tabBack(e){var{lastTabStop:t,isFirstTab:s,isNotFound:r}=a(e.target);(s||r)&&(e.preventDefault(),t.focus())}}},Ve=y(Ve),Ke=y(Ke),y=y(r),r={[F]:{[Le](){var e,t,s,r,a,n;(e=this).disabled||({calendarEl:t,inputDate:n,minDate:s,maxDate:r,defaultDate:a}=H(e),t.hidden?(n=l(n||a||Qe(),s,r),u(t,n).querySelector(o).focus()):gt(e))},[s](){var e,t,s;(e=this).disabled||({datePickerEl:t,externalInputEl:s}=H(e),vt(e,e.dataset.value),gt(t),s.focus())},[qe](){var e,t,s,r,a;(e=this).disabled||({calendarEl:t,calendarDate:a,minDate:s,maxDate:r}=H(e),e=parseInt(e.dataset.value,10),a=b(a,e),a=l(a,s,r),u(t,a).querySelector(o).focus())},[v](){var e,t,s,r,a;(e=this).disabled||({calendarEl:t,calendarDate:a,minDate:s,maxDate:r}=H(e),e=parseInt(e.innerHTML,10),a=L(a,e),a=l(a,s,r),u(t,a).querySelector(o).focus())},[De](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:a}=H(t),s=tt(s,1),s=l(s,r,a),r=u(t,s);let e=r.querySelector(De);(e=e.disabled?r.querySelector(M):e).focus()}},[Te](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:a}=H(t),s=N(s,1),s=l(s,r,a),r=u(t,s);let e=r.querySelector(Te);(e=e.disabled?r.querySelector(M):e).focus()}},[Ce](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:a}=H(t),s=rt(s,1),s=l(s,r,a),r=u(t,s);let e=r.querySelector(Ce);(e=e.disabled?r.querySelector(M):e).focus()}},[$e](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:a}=H(t),s=st(s,1),s=l(s,r,a),r=u(t,s);let e=r.querySelector($e);(e=e.disabled?r.querySelector(M):e).focus()}},[Ne](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:a}=H(t),n=t.querySelector(c),n=parseInt(n.textContent,10)-j,n=Math.max(0,n),s=L(s,n),n=l(s,r,a),s=d(t,n.getFullYear());let e=s.querySelector(Ne);(e=e.disabled?s.querySelector(Be):e).focus()}},[Ie](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:a}=H(t),n=t.querySelector(c),n=parseInt(n.textContent,10)+j,n=Math.max(0,n),s=L(s,n),n=l(s,r,a),s=d(t,n.getFullYear());let e=s.querySelector(Ie);(e=e.disabled?s.querySelector(Be):e).focus()}},[Me](){yt(this).querySelector(He).focus()},[ke](){d(this).querySelector(c).focus()}},keyup:{[m](e){var t=this.dataset.keydownKeyCode;""+e.keyCode!==t&&e.preventDefault()}},keydown:{[h](e){13===e.keyCode&&mt(this)},[s]:t({Up:At,ArrowUp:At,Down:xt,ArrowDown:xt,Left:jt,ArrowLeft:jt,Right:Lt,ArrowRight:Lt,Home:_t,End:St,PageDown:Ct,PageUp:Dt,"Shift+PageDown":$t,"Shift+PageUp":a,Tab:Ve.tabAhead}),[M]:t({Tab:Ve.tabAhead,"Shift+Tab":Ve.tabBack}),[qe]:t({Up:Tt,ArrowUp:Tt,Down:kt,ArrowDown:kt,Left:Mt,ArrowLeft:Mt,Right:qt,ArrowRight:qt,Home:Nt,End:It,PageDown:Ot,PageUp:i}),[Oe]:t({Tab:Ke.tabAhead,"Shift+Tab":Ke.tabBack}),[v]:t({Up:Bt,ArrowUp:Bt,Down:Ht,ArrowDown:Ht,Left:Pt,ArrowLeft:Pt,Right:Ft,ArrowRight:Ft,Home:Rt,End:Yt,PageDown:w,PageUp:Ut}),[Be]:t({Tab:y.tabAhead,"Shift+Tab":y.tabBack}),[m](e){this.dataset.keydownKeyCode=e.keyCode},[f](e){t({Escape:Et})(e)}},focusout:{[h](){mt(this)},[f](e){this.contains(e.relatedTarget)||gt(this)}},input:{[h](){{var t=this,{internalInputEl:s,inputDate:r}=H(t);let e="";r&&!ht(t)&&(e=B(r)),s.value!==e&&pt(s,e)}wt(this)}}},F=(Y()||(r.mouseover={[e](){var e,t,s;(e=this).disabled||(s=(t=e.closest(m)).dataset.value,(e=e.dataset.value)!==s&&(s=g(e),u(t,s).querySelector(o).focus()))},[qe](){var e,t;(e=this).disabled||e.classList.contains(be)||(t=parseInt(e.dataset.value,10),yt(e,t).querySelector(He).focus())},[v](){var e,t;(e=this).disabled||e.classList.contains(he)||(t=parseInt(e.dataset.value,10),d(e,t).querySelector(c).focus())}}),_(r,{init(e){P(f,e).forEach(e=>{var t=(e=e.closest(f)).dataset.defaultValue,s=e.querySelector("input");if(!s)throw new Error(f+" is missing inner input");s.value&&(s.value="");var r=g(e.dataset.minDate||s.getAttribute("min"));e.dataset.minDate=r?B(r):"0000-01-01",(r=g(e.dataset.maxDate||s.getAttribute("max")))&&(e.dataset.maxDate=B(r));(r=document.createElement("div")).classList.add(U);var a=s.cloneNode();a.classList.add(z),a.type="text",r.appendChild(a),r.insertAdjacentHTML("beforeend",C.escapeHTML`
    <button type="button" class="${Q}" aria-haspopup="true" aria-label="Toggle calendar"></button>
    <div class="${n}" role="application" hidden></div>
    <div class="usa-sr-only ${G}" role="status" aria-live="polite"></div>`),s.setAttribute("aria-hidden","true"),s.setAttribute("tabindex","-1"),s.style.display="none",s.classList.add(W),s.removeAttribute("id"),s.removeAttribute("name"),s.required=!1,e.appendChild(r),e.classList.add(V),t&&vt(e,t),s.disabled&&(bt(e),s.disabled=!1),s.hasAttribute("aria-disabled")&&(ft(e),s.removeAttribute("aria-disabled"))})},getDatePickerContext:H,disable:bt,ariaDisable:ft,enable:e=>{var{externalInputEl:e,toggleBtnEl:t}=H(e);t.disabled=!1,e.disabled=!1},isDateInputInvalid:ht,setCalendarValue:vt,validateDateInput:mt,renderCalendar:u,updateCalendarIfVisible:wt}));E.exports=F},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/active-element":45,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/is-ios-device":50,"../../uswds-core/src/js/utils/sanitizer":51,"../../uswds-core/src/js/utils/select":54,"../../uswds-core/src/js/utils/select-or-matches":53,"receptor/keymap":11}],21:[function(e,t,s){"use strict";var r=e("../../uswds-core/src/js/utils/behavior");const a=e("../../uswds-core/src/js/utils/select"),n=e("../../uswds-core/src/js/utils/select-or-matches");var i=e("../../uswds-core/src/js/config")["prefix"];const{getDatePickerContext:o,isDateInputInvalid:c,updateCalendarIfVisible:l}=e("../../usa-date-picker/src/index");e=i+"-date-range-picker";const u=e+"__range-start",d=e+"__range-end",p="."+(i+"-date-picker"),b="."+e,f="."+u,h="."+d,m=e=>{var t,s,e=e.closest(b);if(e)return t=e.querySelector(f),s=e.querySelector(h),{dateRangePickerEl:e,rangeStartEl:t,rangeEndEl:s};throw new Error("Element is missing outer "+b)},v=e=>{var{dateRangePickerEl:e,rangeStartEl:t,rangeEndEl:s}=m(e),t=o(t)["internalInputEl"],r=t.value;r&&!c(t)?(s.dataset.minDate=r,s.dataset.rangeDate=r,s.dataset.defaultDate=r):(s.dataset.minDate=e.dataset.minDate||"",s.dataset.rangeDate="",s.dataset.defaultDate=""),l(s)},g=e=>{var{dateRangePickerEl:e,rangeStartEl:t,rangeEndEl:s}=m(e),s=o(s)["internalInputEl"],r=s.value;r&&!c(s)?(t.dataset.maxDate=r,t.dataset.rangeDate=r,t.dataset.defaultDate=r):(t.dataset.maxDate=e.dataset.maxDate||"",t.dataset.rangeDate="",t.dataset.defaultDate=""),l(t)};i=r({"input change":{[f](){v(this)},[h](){g(this)}}},{init(e){n(b,e).forEach(e=>{var e=(e=e).closest(b),[t,s]=a(p,e);if(!t)throw new Error(`${b} is missing inner two '${p}' elements`);if(!s)throw new Error(`${b} is missing second '${p}' element`);t.classList.add(u),s.classList.add(d),e.dataset.minDate||(e.dataset.minDate="0000-01-01");var r=e.dataset["minDate"];(r=(t.dataset.minDate=r,s.dataset.minDate=r,e.dataset)["maxDate"])&&(t.dataset.maxDate=r,s.dataset.maxDate=r),v(e),g(e)})}});t.exports=i},{"../../usa-date-picker/src/index":20,"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/select":54,"../../uswds-core/src/js/utils/select-or-matches":53}],22:[function(e,t,I){"use strict";const s=e("../../uswds-core/src/js/utils/select-or-matches");var r=e("../../uswds-core/src/js/utils/behavior");const g=e("../../uswds-core/src/js/utils/sanitizer");e=e("../../uswds-core/src/js/config").prefix;const w=e+"-file-input",c="."+w,l=e+"-file-input__input",u=e+"-file-input__target",a="."+l,d=e+"-file-input__box",p=e+"-file-input__instructions",y=e+"-file-input__preview",o=e+"-file-input__preview-heading",b=e+"-file-input--disabled",f=e+"-file-input__choose",E=e+"-file-input__accepted-files-message",h=e+"-file-input__drag-text",n=e+"-file-input--drag",A="is-loading",x="has-invalid-file",j=e+"-file-input__preview-image",L=j+"--generic",_=j+"--pdf",S=j+"--word",C=j+"--video",D=j+"--excel",$=e+"-sr-only",T="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";let k=Boolean(!0),M="",m="";const v=e=>{var t,e=e.closest(c);if(e)return t=e.querySelector(a),{dropZoneEl:e,inputEl:t};throw new Error("Element is missing outer "+c)};const i=e=>{var t=e.charCodeAt(0);return 32===t?"-":65<=t&&t<=90?"img_"+e.toLowerCase():"__"+t.toString(16).slice(-4)},O=e=>e.replace(/[^a-z0-9]/g,i),B=e=>e+"-"+Math.floor(Date.now().toString()/1e3),q=e=>{return e.hasAttribute("multiple")?"files":"file"},H=e=>{var t,s,r,a=e.hasAttribute("aria-disabled")||e.hasAttribute("disabled"),n=(t=e,s=document.createElement("div"),i=document.createElement("div"),n=document.createElement("div"),t.classList.remove(w),t.classList.add(l),s.classList.add(w),n.classList.add(d),i.classList.add(u),i.prepend(n),t.parentNode.insertBefore(i,t),t.parentNode.insertBefore(s,i),i.appendChild(t),s.appendChild(i),i),i=(s=(t=e).closest(c),i=q(t),r=document.createElement("div"),i=`Drag ${i} here or`,o="choose from folder",M=i+" "+o,r.classList.add(p),r.setAttribute("aria-hidden","true"),t.setAttribute("aria-label",M),r.innerHTML=g.escapeHTML`<span class="${h}">${i}</span> <span class="${f}">${o}</span>`,t.parentNode.insertBefore(r,t),(/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(s.querySelector("."+h).outerHTML=""),r),o=v(e)["dropZoneEl"];return a?o.classList.add(b):(t=e,s=document.createElement("div"),r=q(t),a=t.closest(c),t=t.closest("."+u),m=`No ${r} selected.`,s.classList.add($),s.setAttribute("aria-live","polite"),s.textContent=m,a.insertBefore(s,t)),{instructions:i,dropTarget:n}},N=(e,t)=>{var s=e.querySelectorAll("."+y),r=e.querySelector("."+o),a=e.querySelector("."+E);r&&(r.outerHTML=""),a&&(a.outerHTML="",e.classList.remove(x)),null!==s&&(t&&t.removeAttribute("hidden"),Array.prototype.forEach.call(s,e=>{e.parentNode.removeChild(e)}))},P=(e,t,s)=>{const r=e;let a=m;1===t.length?a="You have selected the file: "+s:1<t.length&&(a=`You have selected ${t.length} files: `+s.join(", ")),setTimeout(()=>{r.textContent=a},1e3)},F=(e,t)=>{var s=document.createElement("div"),r=e.closest("."+u),a=r.querySelector("."+p);let n="Change file",i="";1===t.length?i=g.escapeHTML`Selected file <span class="usa-file-input__choose">${n}</span>`:1<t.length&&(n="Change files",i=g.escapeHTML`${t.length} files selected <span class="usa-file-input__choose">${n}</span>`),a.setAttribute("hidden","true"),s.classList.add(o),s.innerHTML=i,r.insertBefore(s,a),e.setAttribute("aria-label",n)},R=(e,t,s,r)=>{var a=e,n=t,i=s,o=r,c=n.getAttribute("accept");if(o.classList.remove(x),c){var l=c.split(","),c=document.createElement("div");let t=!0;var u=a.target.files||a.dataTransfer.files;for(let e=0;e<u.length;e+=1){var d=u[e];if(!t)break;for(let e=0;e<l.length;e+=1){var p=l[e];if(t=0<d.name.indexOf(p)||((e,t)=>{let s=!1;e=e.indexOf(t);return s=0<=e?!0:s})(d.type,p.replace(/\*/g,""))){k=!0;break}}}t||(N(o,i),n.value="",o.insertBefore(c,n),c.textContent=n.dataset.errormessage||"This is not a valid file type.",c.classList.add(E),o.classList.add(x),k=!1,a.preventDefault(),a.stopPropagation())}if(!0===k){var i=t,b=s,n=r,f=(c=e).target.files,c=n.closest("."+w).querySelector("."+$),h=[];N(n,b);for(let e=0;e<f.length;e+=1){const m=new FileReader,v=f[e].name;let t;h.push(v),m.onloadstart=function(){t=B(O(v)),b.insertAdjacentHTML("afterend",g.escapeHTML`<div class="${y}" aria-hidden="true">
          <img id="${t}" src="${T}" alt="" class="${j} ${A}"/>${v}
        <div>`)},m.onloadend=function(){var e=document.getElementById(t);0<v.indexOf(".pdf")?e.setAttribute("onerror",`this.onerror=null;this.src="${T}"; this.classList.add("${_}")`):0<v.indexOf(".doc")||0<v.indexOf(".pages")?e.setAttribute("onerror",`this.onerror=null;this.src="${T}"; this.classList.add("${S}")`):0<v.indexOf(".xls")||0<v.indexOf(".numbers")?e.setAttribute("onerror",`this.onerror=null;this.src="${T}"; this.classList.add("${D}")`):0<v.indexOf(".mov")||0<v.indexOf(".mp4")?e.setAttribute("onerror",`this.onerror=null;this.src="${T}"; this.classList.add("${C}")`):e.setAttribute("onerror",`this.onerror=null;this.src="${T}"; this.classList.add("${L}")`),e.classList.remove(A),e.src=m.result},f[e]&&m.readAsDataURL(f[e])}0===f.length?i.setAttribute("aria-label",M):F(i,f),P(c,f,h)}};e=r({},{init(e){s(c,e).forEach(t=>{const{instructions:s,dropTarget:r}=H(t);r.addEventListener("dragover",function(){this.classList.add(n)},!1),r.addEventListener("dragleave",function(){this.classList.remove(n)},!1),r.addEventListener("drop",function(){this.classList.remove(n)},!1),t.addEventListener("change",e=>R(e,t,s,r),!1)})},teardown(e){s(a,e).forEach(e=>{var t=e.parentElement.parentElement;t.parentElement.replaceChild(e,t),e.className=w})},getFileInputContext:v,disable:e=>{var{dropZoneEl:e,inputEl:t}=v(e);t.disabled=!0,e.classList.add(b)},ariaDisable:e=>{e=v(e).dropZoneEl;e.classList.add(b)},enable:e=>{var{dropZoneEl:e,inputEl:t}=v(e);t.disabled=!1,e.classList.remove(b),e.removeAttribute("aria-disabled")}});t.exports=e},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/sanitizer":51,"../../uswds-core/src/js/utils/select-or-matches":53}],23:[function(e,t,s){"use strict";var r=e("../../uswds-core/src/js/utils/behavior"),a=e("../../uswds-core/src/js/events")["CLICK"];const n=e("../../uswds-core/src/js/config")["prefix"],i=`.${n}-footer--big`,o=i+" nav"+` .${n}-footer__primary-link`;function c(r){var e=document.querySelector(i);e&&e.querySelectorAll(o).forEach(e=>{var t=e.getAttribute("class"),s=e.getAttribute("data-tag")||e.tagName,s=document.createElement(r?"button":s);s.setAttribute("class",t),s.classList.toggle(n+"-footer__primary-link--button",r),s.textContent=e.textContent,r&&(s.setAttribute("data-tag",e.tagName),t=n+"-footer-menu-list-"+Math.floor(1e5*Math.random()),s.setAttribute("aria-controls",t),s.setAttribute("aria-expanded","false"),e.nextElementSibling.setAttribute("id",t),s.setAttribute("type","button")),e.after(s),e.remove()})}const l=e=>{c(e.matches)};t.exports=r({[a]:{[o]:function(){var e;window.innerWidth<480&&(e="true"===this.getAttribute("aria-expanded"),this.closest(i).querySelectorAll(o).forEach(e=>{e.setAttribute("aria-expanded",!1)}),this.setAttribute("aria-expanded",!e))}}},{HIDE_MAX_WIDTH:480,init(){c(window.innerWidth<480),this.mediaQueryList=window.matchMedia("(max-width: 479.9px)"),this.mediaQueryList.addListener(l)},teardown(){this.mediaQueryList.removeListener(l)}})},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46}],24:[function(e,t,I){"use strict";var s=e("receptor/keymap"),r=e("../../uswds-core/src/js/utils/behavior");const a=e("../../uswds-core/src/js/utils/select"),n=e("../../uswds-core/src/js/utils/toggle"),i=e("../../uswds-core/src/js/utils/focus-trap"),o=e("../../usa-accordion/src/index");var c=e("../../uswds-core/src/js/utils/scrollbar-width"),l=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];const u=`.${e}-header`,d=`.${e}-nav`;var p=`.${e}-nav-container`;const b=`.${e}-nav__primary`,f=`.${e}-nav__primary-item`,h=`button.${e}-nav__link`;var m=d+" a";const v="data-nav-hidden",g=`.${e}-menu-btn`,w=`.${e}-nav__close`;var y=w+`, .${e}-overlay`;const E=[d,`.${e}-overlay`].join(", "),A=`body *:not(${u}, ${p}, ${d}, ${d} *):not([aria-hidden])`,x=(v,"usa-js-mobile-nav--active");let j,L,_;const S=()=>document.body.classList.contains(x),C=navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome");e=c();const D=window.getComputedStyle(document.body).getPropertyValue("padding-right"),$=parseInt(D.replace(/px/,""),10)+parseInt(e.replace(/px/,""),10)+"px",T=()=>{const t=document.querySelector(u).parentNode;(_=document.querySelectorAll(A)).forEach(e=>{e!==t&&(e.setAttribute("aria-hidden",!0),e.setAttribute(v,""))})},k=()=>{(_=document.querySelectorAll("[data-nav-hidden]"))&&_.forEach(e=>{e.removeAttribute("aria-hidden"),e.removeAttribute(v)})};p=e=>{var t=document["body"];const s="boolean"==typeof e?e:!S();e=t,r=`-${window.scrollY}px`,C&&e.style.setProperty("--scrolltop",r),t.classList.toggle(x,s),a(E).forEach(e=>e.classList.toggle("is-visible",s)),j.focusTrap.update(s);var e=t.querySelector(w),r=document.querySelector(g);return t.style.paddingRight=t.style.paddingRight===$?D:$,(s?T:k)(),s&&e?e.focus():!s&&r&&"none"!==getComputedStyle(r).display&&r.focus(),s};const M=()=>{var e=document.body.querySelector(w);S()&&e&&0===e.getBoundingClientRect().width&&j.toggleNav.call(e,!1)},q=()=>j.toggleNav.call(j,!1),N=()=>{L&&(n(L,!1),L=null)};j=r({[l]:{[h](){return L!==this&&N(),L||(L=this,n(L,!0)),!1},body:N,[g]:p,[y]:p,[m](){var e=this.closest(o.ACCORDION);e&&o.getButtons(e).forEach(e=>o.hide(e)),S()&&j.toggleNav.call(j,!1)}},keydown:{[b]:s({Escape:e=>{var t;N(),t=(e=e).target.closest(f),e.target.matches(h)||(e=t.querySelector(h))&&e.focus()}})},focusout:{[b](e){e.target.closest(b).contains(e.relatedTarget)||N()}}},{init(e){e=e.matches(d)?e:e.querySelector(d);e&&(j.focusTrap=i(e,{Escape:q})),C&&document.body.classList.add("is-safari"),M(),window.addEventListener("resize",M,!1)},teardown(){window.removeEventListener("resize",M,!1),L=!1},focusTrap:null,toggleNav:p}),t.exports=j},{"../../usa-accordion/src/index":15,"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/focus-trap":48,"../../uswds-core/src/js/utils/scrollbar-width":52,"../../uswds-core/src/js/utils/select":54,"../../uswds-core/src/js/utils/toggle":57,"receptor/keymap":11}],25:[function(e,t,s){"use strict";const r=e("receptor/once");var a=e("receptor/keymap");const n=e("../../uswds-core/src/js/utils/select-or-matches");var i=e("../../uswds-core/src/js/utils/behavior"),o=e("../../uswds-core/src/js/config")["prefix"],c=e("../../uswds-core/src/js/events")["CLICK"];const l=e("../../uswds-core/src/js/utils/sanitizer"),u=o+"-current",d=0,p=o+"-in-page-nav",b=o+"-anchor",f=p+"__nav",h=p+"__list",m=p+"__item",v=p+"__link",g=p+"__heading",w=m+"--sub-item",y=e=>{const t=document.querySelectorAll("."+v);e.map(e=>!0===e.isIntersecting&&1<=e.intersectionRatio&&(t.forEach(e=>e.classList.remove(u)),document.querySelector(`a[href="#${e.target.id}"]`).classList.add(u),!0))},E=e=>{var t=document.querySelector("."+p).dataset.scrollOffset||d;window.scroll({behavior:"smooth",top:e.offsetTop-t,block:"start"}),window.location.hash.slice(1)!==e.id&&window.history.pushState(null,"","#"+e.id)},A=e=>{var t=l.escapeHTML`${e.dataset.titleText||"On this page"}`,s=l.escapeHTML`${e.dataset.titleHeadingLevel||"h4"}`,r={root:null,rootMargin:l.escapeHTML`${e.dataset.rootMargin||"0px 0px 0px 0px"}`,threshold:[l.escapeHTML`${e.dataset.threshold||"1"}`]},a=(e=>{e=document.querySelectorAll(e+` h2, ${e} h3`);return Array.from(e).filter(e=>{e=window.getComputedStyle(e);return"none"!==e.getPropertyValue("display")&&"hidden"!==e.getPropertyValue("visibility")})})(l.escapeHTML`${e.dataset.mainContentSelector||"main"}`),n=document.createElement("nav"),s=(n.setAttribute("aria-label",t),n.classList.add(f),document.createElement(s));s.classList.add(g),s.setAttribute("tabindex","0"),s.textContent=t,n.appendChild(s);const i=document.createElement("ul");i.classList.add(h),n.appendChild(i),a.forEach(e=>{var t=document.createElement("li"),s=document.createElement("a"),r=document.createElement("a"),a=e.textContent,n=e.tagName.toLowerCase(),n=(t.classList.add(m),"h3"===n&&t.classList.add(w),(e=>{var t=e.textContent.toLowerCase().replace(/[^a-z\d]/g,"-").replace(/-{2,}/g,"-").replace(/^-|-$/g,"");let s,r=0;for(;s=t,1<(r+=1)&&(s+="-"+r),document.getElementById(s););return s})(e));s.setAttribute("href","#"+n),s.setAttribute("class",v),s.textContent=a,r.setAttribute("id",n),r.setAttribute("class",b),e.insertAdjacentElement("afterbegin",r),i.appendChild(t),t.appendChild(s)}),e.appendChild(n);t=document.querySelectorAll("."+b);const o=new window.IntersectionObserver(y,r);t.forEach(e=>{o.observe(e)})};e=i({[c]:{["."+v](e){e.preventDefault(),this.disabled||(e=this,e=document.getElementById(e.hash.slice(1)),E(e))}},keydown:{["."+v]:a({Enter:e=>{e=(e=>{let t;return t=(e&&1===e.nodeType?e.getAttribute("href"):e.target.hash).replace("#","")})(e),e=document.getElementById(e);const t=e.parentElement;t&&(t.setAttribute("tabindex",0),t.focus(),t.addEventListener("blur",r(()=>{t.setAttribute("tabindex",-1)}))),E(e)}})}},{init(e){n("."+p,e).forEach(e=>{A(e),(e=window.location.hash.slice(1))&&(e=document.getElementById(e))&&E(e)})}});t.exports=e},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/sanitizer":51,"../../uswds-core/src/js/utils/select-or-matches":53,"receptor/keymap":11,"receptor/once":12}],26:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select-or-matches");var a=e("../../uswds-core/src/js/utils/behavior"),e=e("../../uswds-core/src/js/config")["prefix"];const n="."+(e+"-masked"),i=e+"-input-mask",o=i+"--content",c="placeholder",p="_#dDmMyY9",b="A",f=(e,t)=>e?t.replace(/\W/g,""):t.replace(/\D/g,""),h=e=>!Number.isNaN(parseInt(e,10)),m=e=>!!e&&e.match(/[A-Z]/i),l=e=>{var t=e,s=t.getAttribute("id"),r=(t.value=(e=>{var t=e.dataset.charset,s=t||e.dataset.placeholder,e=e["value"],r=s.length;let a="",n,i;var o=f(t,e);for(n=0,i=0;n<r;n+=1){var c=h(o[i]),l=m(o[i]),u=0<=p.indexOf(s[n]),d=0<=b.indexOf(s[n]);if(u&&c||t&&d&&l)a+=o[i],i+=1;else{if(!t&&!c&&u||t&&(d&&!l||u&&!c))return a;a+=s[n]}if(void 0===o[i])break}return a})(t),r=(t=e).value,t=""+e.dataset.placeholder.substr(r.length),(e=document.createElement("i")).textContent=r,[e,t]),e=document.getElementById(s+"Mask");e.textContent="",e.replaceChildren(r[0],r[1])};e=a({keyup:{[n](){l(this)}}},{init(e){r(n,e).forEach(e=>{var t,s,r;(r=(e=e).getAttribute(c))&&(e.setAttribute("maxlength",r.length),e.setAttribute("data-placeholder",r),e.removeAttribute(c),(t=document.createElement("span")).classList.add(i),t.setAttribute("data-mask",r),(s=document.createElement("span")).classList.add(o),s.setAttribute("aria-hidden","true"),s.id=e.id+"Mask",s.textContent=r,t.appendChild(s),e.closest("form").insertBefore(t,e),t.appendChild(e))})}});t.exports=e},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/select-or-matches":53}],27:[function(e,t,s){"use strict";var r=e("receptor/keymap"),a=e("../../uswds-core/src/js/utils/behavior");const n=e("../../uswds-core/src/js/utils/toggle"),i=e("../../uswds-core/src/js/utils/focus-trap"),o=e("../../usa-accordion/src/index");var c=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];const l=`.${e}-language__submenu`,u=`.${e}-language__primary`,d=`.${e}-language__primary-item`,p=`button.${e}-language__link`;let b,f;const h=()=>b.toggleLanguage.call(b,!1),m=()=>{f&&(n(f,!1),f=null)};b=a({[c]:{[p](){return f!==this&&m(),f===this?m():f||(f=this,n(f,!0)),!1},body:m,[`.${e}-language`+" a"](){var e=this.closest(o.ACCORDION);e&&o.getButtons(e).forEach(e=>o.hide(e))}},keydown:{[u]:r({Escape:e=>{var t;m(),t=(e=e).target.closest(d),e.target.matches(p)||t.querySelector(p).focus()}})},focusout:{[u](e){e.target.closest(u).contains(e.relatedTarget)||m()}}},{init(e){e=e.matches(l)?e:e.querySelector(l);e&&(b.focusTrap=i(e,{Escape:h}))},teardown(){f=!1},focusTrap:null}),t.exports=b},{"../../usa-accordion/src/index":15,"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/focus-trap":48,"../../uswds-core/src/js/utils/toggle":57,"receptor/keymap":11}],28:[function(e,t,s){"use strict";const a=e("../../uswds-core/src/js/utils/select-or-matches"),u=e("../../uswds-core/src/js/utils/focus-trap");var r=e("../../uswds-core/src/js/utils/scrollbar-width"),n=e("../../uswds-core/src/js/utils/behavior"),e=e("../../uswds-core/src/js/config")["prefix"];const d=e+"-modal",i=d+"-overlay",o=d+"-wrapper",p="data-open-modal",b="data-close-modal",f="data-force-action",h="data-modal-hidden",c="."+d,m=`.${o} *[data-focus]`,v=`${o} *[${b}]`,l=(p,v+`, .${i}:not([${f}])`),g=`body > *:not(.${o}):not([aria-hidden])`,w=(h,"usa-js-modal--active"),y="is-hidden";let E,A,x;const j=r(),L=()=>{E.toggleModal.call(E,!1)},_=()=>{A=window.getComputedStyle(document.body).getPropertyValue("padding-right"),x=parseInt(A.replace(/px/,""),10)+parseInt(j.replace(/px/,""),10)+"px"};function S(e){let t,s=e.target;var r,a,n,i,o=document["body"],c=!document.body.classList.contains(w),l=s?s.getAttribute("aria-controls"):document.querySelector(".usa-modal-wrapper.is-visible"),l=c?document.getElementById(l):document.querySelector(".usa-modal-wrapper.is-visible");return!(!l||(r=l.querySelector(m)?l.querySelector(m):l.querySelector(".usa-modal"),a=document.getElementById(l.getAttribute("data-opener")),n=o.querySelector("*[data-open-modal][aria-controls]"),i=l.getAttribute(f),(s="keydown"===e.type&&null!==l?l.querySelector(v):s)&&(s.hasAttribute(p)&&(null===this.getAttribute("id")?(t="modal-"+(Math.floor(9e5*Math.random())+1e5),this.setAttribute("id",t)):t=this.getAttribute("id"),l.setAttribute("data-opener",t)),s.closest("."+d))&&!s.hasAttribute(b)&&!s.closest(`[${b}]`)))&&(o.classList.toggle(w,c),l.classList.toggle("is-visible",c),l.classList.toggle(y,!c),i&&o.classList.toggle("usa-js-no-click",c),o.style.paddingRight===x?o.style.removeProperty("padding-right"):o.style.paddingRight=x,c&&r?(E.focusTrap=i?u(l):u(l,{Escape:L}),E.focusTrap.update(c),r.focus(),document.querySelectorAll(g).forEach(e=>{e.setAttribute("aria-hidden","true"),e.setAttribute(h,"")})):!c&&n&&a&&(document.querySelectorAll("[data-modal-hidden]").forEach(e=>{e.removeAttribute("aria-hidden"),e.removeAttribute(h)}),a.focus(),E.focusTrap.update(c)),c)}const C=(e,t)=>{const s=e.getAttribute("id");var r=e.getAttribute("aria-labelledby"),a=e.getAttribute("aria-describedby"),n=e.hasAttribute(f);if(!r)throw new Error(s+" is missing aria-labelledby attribute");if(a)return t.setAttribute("role","dialog"),t.setAttribute("id",s),t.setAttribute("aria-labelledby",r),t.setAttribute("aria-describedby",a),n&&t.setAttribute(f,n),t.querySelectorAll(l).forEach(e=>{e.setAttribute("aria-controls",s)}),e.removeAttribute("id"),e.removeAttribute("aria-labelledby"),e.removeAttribute("aria-describedby"),e.setAttribute("tabindex","-1"),t;throw new Error(s+" is missing aria-desribedby attribute")},D=e=>{if(!e.getAttribute("id"))throw new Error("Modal markup is missing ID");var t=(e=>{var t=e.getAttribute("id");const s=document.createElement("div");e=Array.from(e.attributes);return _(),s.setAttribute("data-placeholder-for",t),s.style.display="none",s.setAttribute("aria-hidden","true"),e.forEach(e=>{s.setAttribute("data-original-"+e.name,e.value)}),s})(e),s=(e.after(t),t=e,e=document.createElement("div"),s=document.createElement("div"),e.classList.add(y,o),s.classList.add(i),e.append(s),s.append(t),C(t,e),e);document.body.appendChild(s)};E=n({},{init(e){a(c,e).forEach(e=>{var t=e.id;D(e),a(`[aria-controls="${t}"]`,document).forEach(e=>{"A"===e.nodeName&&(e.setAttribute("role","button"),e.addEventListener("click",e=>e.preventDefault())),e.addEventListener("click",S)})})},teardown(e){a(c,e).forEach(e=>{var t=e.id;{const r=e;var e,s=(e=r.parentElement.parentElement).getAttribute("id");s&&((s=document.querySelector(`[data-placeholder-for="${s}"]`))&&(Array.from(s.attributes).forEach(e=>{e.name.startsWith("data-original-")&&r.setAttribute(e.name.substr(14),e.value)}),s.after(r),s.parentElement.removeChild(s)),e.parentElement.removeChild(e))}a(`[aria-controls="${t}"]`,document).forEach(e=>e.removeEventListener("click",S))})},focusTrap:null,toggleModal:S}),t.exports=E},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/focus-trap":48,"../../uswds-core/src/js/utils/scrollbar-width":52,"../../uswds-core/src/js/utils/select-or-matches":53}],29:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select-or-matches");var a=e("../../uswds-core/src/js/utils/behavior"),e=e("../../uswds-core/src/js/config")["prefix"];const n="."+(e+"-range"),i=e=>{var t=e.dataset.textPreposition||"of",s=e.dataset.textUnit,r=e.value,a=e.getAttribute("max")||100;let n;n=s?r+` ${s} ${t} `+a:r+` ${t} `+a,e.setAttribute("aria-valuetext",n)};e=a({change:{[n](){i(this)}}},{init(e){r(n,e).forEach(e=>{i(e)})},updateCallout:i});t.exports=e},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/select-or-matches":53}],30:[function(e,t,s){"use strict";const a=e("receptor/ignore");var r=e("../../uswds-core/src/js/utils/behavior");const n=e("../../uswds-core/src/js/utils/select"),i=e("../../uswds-core/src/js/events")["CLICK"],o=".js-search-button",c=".js-search-form",l="[type=search]",u="header";let d;const p=e=>{e=e.closest(u);return(e||document).querySelector(c)},b=(e,t)=>{var s=p(e);if(!s)throw new Error(`No ${c} found for search toggle in ${u}!`);if(e.hidden=t,s.hidden=!t,t){e=s.querySelector(l);e&&e.focus();const r=a(s,()=>{d&&!function(){b(this,!1),d=void 0}.call(d),document.body.removeEventListener(i,r)});setTimeout(()=>{document.body.addEventListener(i,r)},0)}};e=r({[i]:{".js-search-button":function(){b(this,!0),d=this}}},{init(e){n(o,e).forEach(e=>{b(e,!1)})},teardown(){d=void 0}});t.exports=e},{"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/select":54,"receptor/ignore":9}],31:[function(e,t,s){"use strict";const r=e("receptor/once");var a=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];t.exports=a({[n]:{[`.${e}-skipnav[href^="#"], .${e}-footer__return-to-top [href^="#"]`]:function(){var e=encodeURI(this.getAttribute("href"));const t=document.getElementById("#"===e?"main-content":e.slice(1));t&&(t.style.outline="0",t.setAttribute("tabindex",0),t.focus(),t.addEventListener("blur",r(()=>{t.setAttribute("tabindex",-1)})))}}})},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"receptor/once":12}],32:[function(e,t,s){"use strict";const o=e("../../uswds-core/src/js/utils/select");var r=e("../../uswds-core/src/js/utils/behavior"),a=e("../../uswds-core/src/js/events")["CLICK"];const n=e("../../uswds-core/src/js/config")["prefix"],i=e("../../uswds-core/src/js/utils/sanitizer"),c=`.${n}-table`,l="aria-sort",u="ascending",d="descending",p=n+"-table__header__button",b="."+p,f="th[data-sortable]",h=`.${n}-table__announcement-region[aria-live="polite"]`,m=(e,t)=>e.children[t].getAttribute("data-sort-value")||e.children[t].innerText||e.children[t].textContent,v=(r,a)=>(e,t)=>{var s=m(a?e:t,r),t=m(a?t:e,r);return s&&t&&!Number.isNaN(Number(s))&&!Number.isNaN(Number(t))?s-t:s.toString().localeCompare(t,navigator.language,{numeric:!0,ignorePunctuation:!0})},g=e=>{var t=e.innerText,s=e.getAttribute(l)===u,r=t+", sortable column, currently "+(e.getAttribute(l)===u||e.getAttribute(l)===d||!1?s?"sorted "+u:"sorted "+d:"unsorted"),t=`Click to sort by ${t} in ${s?d:u} order.`;e.setAttribute("aria-label",r),e.querySelector(b).setAttribute("title",t)},w=(t,e)=>{var s,r=t.closest(c);let a=e;if("boolean"!=typeof a&&(a=t.getAttribute(l)===u),!r)throw new Error(f+" is missing outer "+c);if(a=((e,t)=>{e.setAttribute(l,!0===t?d:u),g(e);const s=e.closest(c).querySelector("tbody");var r=[].slice.call(s.querySelectorAll("tr"));const a=[].slice.call(e.parentNode.children).indexOf(e);return r.sort(v(a,!t)).forEach(e=>{[].slice.call(e.children).forEach(e=>e.removeAttribute("data-sort-active")),e.children[a].setAttribute("data-sort-active",!0),s.appendChild(e)}),!0})(t,e)){s=r,o(f,s).filter(e=>e.closest(c)===s).forEach(e=>{e!==t&&((e=e).removeAttribute(l),g(e))});var e=r,r=t,n=e.querySelector("caption").innerText,i=r.getAttribute(l)===u,r=r.innerText;if(!(e=e.nextElementSibling)||!e.matches(h))throw new Error("Table containing a sortable column header is not followed by an aria-live region.");n=`The table named "${n}" is now sorted by ${r} in ${i?u:d} order.`,e.innerText=n}};e=r({[a]:{[b](e){e.preventDefault(),w(e.target.closest(f),e.target.closest(f).getAttribute(l)===u)}}},{init(e){var t,e=o(f,e),e=(e.forEach(e=>{return e=e,(t=document.createElement("button")).setAttribute("tabindex","0"),t.classList.add(p),t.innerHTML=i.escapeHTML`
  <svg class="${n}-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
    <g class="descending" fill="transparent">
      <path d="M17 17L15.59 15.59L12.9999 18.17V2H10.9999V18.17L8.41 15.58L7 17L11.9999 22L17 17Z" />
    </g>
    <g class="ascending" fill="transparent">
      <path transform="rotate(180, 12, 12)" d="M17 17L15.59 15.59L12.9999 18.17V2H10.9999V18.17L8.41 15.58L7 17L11.9999 22L17 17Z" />
    </g>
    <g class="unsorted" fill="transparent">
      <polygon points="15.17 15 13 17.17 13 6.83 15.17 9 16.58 7.59 12 3 7.41 7.59 8.83 9 11 6.83 11 17.17 8.83 15 7.42 16.41 12 21 16.59 16.41 15.17 15"/>
    </g>
  </svg>
  `,e.appendChild(t),void g(e);var t}),e.filter(e=>e.getAttribute(l)===u||e.getAttribute(l)===d)[0]);void 0!==e&&((t=e.getAttribute(l))===u?w(e,!0):t===d&&w(e,!1))},TABLE:c,SORTABLE_HEADER:f,SORT_BUTTON:b});t.exports=e},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/events":37,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/sanitizer":51,"../../uswds-core/src/js/utils/select":54}],33:[function(e,t,s){"use strict";var r=e("../../uswds-core/src/js/utils/behavior");const a=e("../../uswds-core/src/js/utils/select-or-matches");var n=e("../../uswds-core/src/js/config")["prefix"];const{COMBO_BOX_CLASS:f,enhanceComboBox:i}=e("../../usa-combo-box/src/index"),h="."+(n+"-time-picker"),m={filter:"0?{{ hourQueryFilter }}:{{minuteQueryFilter}}.*{{ apQueryFilter }}m?",apQueryFilter:"([ap])",hourQueryFilter:"([1-9][0-2]?)",minuteQueryFilter:"[\\d]+:([0-9]{0,2})"},v=e=>{let t;var s;return t=e&&([e,s]=e.split(":").map(e=>{let t;e=parseInt(e,10);return t=Number.isNaN(e)?t:e}),null!=e)&&null!=s?60*e+s:t},o=t=>{const s=t.closest(h),r=s.querySelector("input");if(!r)throw new Error(h+" is missing inner input");const a=document.createElement("select");["id","name","required","aria-label","aria-labelledby","disabled","aria-disabled"].forEach(e=>{var t;r.hasAttribute(e)&&(t=r.getAttribute(e),a.setAttribute(e,t),r.removeAttribute(e))});var n=(e,t)=>("0000"+e).slice(-t),t=Math.max(0,v(s.dataset.minTime)||0),i=Math.min(1439,v(s.dataset.maxTime)||1439),o=Math.floor(Math.max(1,s.dataset.step||30));let c;for(let e=t;e<=i;e+=o){u=e,l=void 0,l=u%60,u=Math.floor(u/60);var{minute:l,hour24:u,hour12:d,ampm:p}={minute:l,hour24:u,hour12:u%12||12,ampm:u<12?"am":"pm"},b=document.createElement("option");b.value=n(u,2)+":"+n(l,2),b.text=d+":"+n(l,2)+p,b.text===r.value&&(c=b.value),a.appendChild(b)}s.classList.add(f),Object.keys(m).forEach(e=>{s.dataset[e]=m[e]}),s.dataset.disableFiltering="true",s.dataset.defaultValue=c,s.appendChild(a),r.remove()};e=r({},{init(e){a(h,e).forEach(e=>{o(e),i(e)})},FILTER_DATASET:m});t.exports=e},{"../../usa-combo-box/src/index":19,"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/select-or-matches":53}],34:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select-or-matches");var a=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/config")["prefix"];const b=e("../../uswds-core/src/js/utils/is-in-viewport"),i=`.${n}-tooltip`;e=`.${n}-tooltip__trigger`;const o=n+"-tooltip__trigger",c=n+"-tooltip",f=n+"-tooltip__body",h="is-visible",m=n+"-tooltip__body--wrap",l=e=>{var t=e.parentNode,s=t.querySelector("."+f);return{trigger:e,wrapper:t,body:s}},u=(t,r,e)=>{t.setAttribute("aria-hidden","false"),t.classList.add("is-set");const a=e=>{t.classList.remove(f+"--top"),t.classList.remove(f+"--bottom"),t.classList.remove(f+"--right"),t.classList.remove(f+"--left"),t.classList.add(f+"--"+e)},n=e=>{e.style.top=null,e.style.bottom=null,e.style.right=null,e.style.left=null,e.style.margin=null},i=(e,t)=>parseInt(window.getComputedStyle(e).getPropertyValue(t),10),o=(e,t,s)=>{return 0<i(s,"margin-"+e)?t-i(s,"margin-"+e):t},c=e=>{n(e);var t=o("top",e.offsetHeight,r),s=o("left",e.offsetWidth,r);a("top"),e.style.left="50%",e.style.top="-5px",e.style.margin=`-${t}px 0 0 -${s/2}px`},l=e=>{n(e);var t=o("left",e.offsetWidth,r);a("bottom"),e.style.left="50%",e.style.margin=`5px 0 0 -${t/2}px`},u=e=>{n(e);var t=o("top",e.offsetHeight,r);a("right"),e.style.top="50%",e.style.left=r.offsetLeft+r.offsetWidth+5+"px",e.style.margin=`-${t/2}px 0 0 0`},d=e=>{n(e);var t=o("top",e.offsetHeight,r),s=o("left",r.offsetLeft>e.offsetWidth?r.offsetLeft-e.offsetWidth:e.offsetWidth,r);a("left"),e.style.top="50%",e.style.left="-5px",e.style.margin=`-${t/2}px 0 0 ${r.offsetLeft>e.offsetWidth?s:-s}px`};function p(s,e=1){const r=[c,l,u,d];let a=!1;!function e(t){t<r.length&&((0,r[t])(s),b(s)?a=!0:e(t+=1))}(0),a||(s.classList.add(m),e<=2&&p(s,e+=1))}switch(e){case"top":c(t),b(t)||p(t);break;case"bottom":l(t),b(t)||p(t);break;case"right":u(t),b(t)||p(t);break;case"left":d(t),b(t)||p(t)}setTimeout(()=>{t.classList.add(h)},20)},d=e=>{e.classList.remove(h),e.classList.remove("is-set"),e.classList.remove(m),e.setAttribute("aria-hidden","true")},p=e=>{var t="tooltip-"+(Math.floor(9e5*Math.random())+1e5),s=e.getAttribute("title");const r=document.createElement("span");var a=document.createElement("span"),n=e.getAttribute("data-classes");let i=e.getAttribute("data-position");return i||(i="top",e.setAttribute("data-position",i)),e.setAttribute("aria-describedby",t),e.setAttribute("tabindex","0"),e.removeAttribute("title"),e.classList.remove(c),e.classList.add(o),e.parentNode.insertBefore(r,e),r.appendChild(e),r.classList.add(c),r.appendChild(a),n&&n.split(" ").forEach(e=>r.classList.add(e)),a.classList.add(f),a.setAttribute("id",t),a.setAttribute("role","tooltip"),a.setAttribute("aria-hidden","true"),a.textContent=s,{tooltipBody:a,position:i,tooltipContent:s,wrapper:r}};n=a({"mouseover focusin":{[i](e){e=e.target;"BUTTON"===e.nodeName&&e.hasAttribute("title")&&p(e)},[e](e){var{trigger:e,body:t}=l(e.target);u(t,e,e.dataset.position)}},"mouseout focusout":{[e](e){e=l(e.target).body;d(e)}}},{init(e){r(i,e).forEach(e=>{p(e)})},setup:p,getTooltipElements:l,show:u,hide:d});t.exports=n},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/is-in-viewport":49,"../../uswds-core/src/js/utils/select-or-matches":53}],35:[function(e,t,s){"use strict";var r=e("../../uswds-core/src/js/utils/behavior");const a=e("../../uswds-core/src/js/utils/validate-input");var n=e("../../uswds-core/src/js/config")["prefix"];const i=e("../../uswds-core/src/js/utils/select-or-matches"),o="input[data-validation-element]",c=`.${n}-checklist__item`,l=e=>{var t,r,s,a;a=(t=e).parentNode,s=t.getAttribute("id")+"-sr-summary",t.setAttribute("aria-describedby",s),(t=document.createElement("span")).setAttribute("data-validation-status",""),t.classList.add("usa-sr-only"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic",!0),t.setAttribute("id",s),a.append(t),s=(r=e).parentNode.querySelectorAll(c),a=r.getAttribute("data-validation-element"),r.setAttribute("aria-controls",a),s.forEach(e=>{let t="status incomplete";r.hasAttribute("data-validation-incomplete")&&(t=r.getAttribute("data-validation-incomplete"));var s=`${e.textContent} ${t} `;e.setAttribute("tabindex","0"),e.setAttribute("aria-label",s)})};e=r({"input change":{"input[data-validation-element]"(e){e=e.target,a(e)}}},{init(e){i(o,e).forEach(e=>l(e))}});t.exports=e},{"../../uswds-core/src/js/config":36,"../../uswds-core/src/js/utils/behavior":46,"../../uswds-core/src/js/utils/select-or-matches":53,"../../uswds-core/src/js/utils/validate-input":58}],36:[function(e,t,s){"use strict";t.exports={prefix:"usa"}},{}],37:[function(e,t,s){"use strict";t.exports={CLICK:"click"}},{}],38:[function(e,t,s){"use strict";var r=e("../../../usa-accordion/src/index"),a=e("../../../usa-banner/src/index"),n=e("../../../usa-button/src/index"),i=e("../../../usa-character-count/src/index"),o=e("../../../usa-combo-box/src/index"),c=e("../../../usa-date-picker/src/index"),l=e("../../../usa-date-range-picker/src/index"),u=e("../../../usa-file-input/src/index"),d=e("../../../usa-footer/src/index"),p=e("../../../usa-in-page-navigation/src/index"),b=e("../../../usa-input-mask/src/index"),f=e("../../../usa-language-selector/src/index"),h=e("../../../usa-modal/src/index"),m=e("../../../usa-header/src/index"),v=e("../../../_usa-password/src/index"),g=e("../../../usa-range/src/index"),w=e("../../../usa-search/src/index"),y=e("../../../usa-skipnav/src/index"),E=e("../../../usa-table/src/index"),A=e("../../../usa-time-picker/src/index"),x=e("../../../usa-tooltip/src/index"),e=e("../../../usa-validation/src/index");t.exports={accordion:r,banner:a,button:n,characterCount:i,comboBox:o,datePicker:c,dateRangePicker:l,fileInput:u,footer:d,inPageNavigation:p,inputMask:b,languageSelector:f,modal:h,navigation:m,password:v,range:g,search:w,skipnav:y,table:E,timePicker:A,tooltip:x,validator:e}},{"../../../_usa-password/src/index":14,"../../../usa-accordion/src/index":15,"../../../usa-banner/src/index":16,"../../../usa-button/src/index":17,"../../../usa-character-count/src/index":18,"../../../usa-combo-box/src/index":19,"../../../usa-date-picker/src/index":20,"../../../usa-date-range-picker/src/index":21,"../../../usa-file-input/src/index":22,"../../../usa-footer/src/index":23,"../../../usa-header/src/index":24,"../../../usa-in-page-navigation/src/index":25,"../../../usa-input-mask/src/index":26,"../../../usa-language-selector/src/index":27,"../../../usa-modal/src/index":28,"../../../usa-range/src/index":29,"../../../usa-search/src/index":30,"../../../usa-skipnav/src/index":31,"../../../usa-table/src/index":32,"../../../usa-time-picker/src/index":33,"../../../usa-tooltip/src/index":34,"../../../usa-validation/src/index":35}],39:[function(e,t,s){"use strict";"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){var t=t||{bubbles:!1,cancelable:!1,detail:null},s=document.createEvent("CustomEvent");return s.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),s})},{}],40:[function(e,t,s){"use strict";var r=window.HTMLElement.prototype;const a="hidden";a in r||Object.defineProperty(r,a,{get(){return this.hasAttribute(a)},set(e){e?this.setAttribute(a,""):this.removeAttribute(a)}})},{}],41:[function(e,t,s){"use strict";e("classlist-polyfill"),e("./element-hidden"),e("./number-is-nan"),e("./custom-event"),e("./svg4everybody")},{"./custom-event":39,"./element-hidden":40,"./number-is-nan":42,"./svg4everybody":43,"classlist-polyfill":1}],42:[function(e,t,s){"use strict";Number.isNaN=Number.isNaN||function(e){return"number"==typeof e&&e!=e}},{}],43:[function(e,t,s){"use strict";function f(e,t,s,r){if(s){var a=document.createDocumentFragment(),n=!t.hasAttribute("viewBox")&&s.getAttribute("viewBox");n&&t.setAttribute("viewBox",n);for(var i=document.importNode?document.importNode(s,!0):s.cloneNode(!0),o=document.createElementNS(t.namespaceURI||"http://www.w3.org/2000/svg","g");i.childNodes.length;)o.appendChild(i.firstChild);if(r)for(var c=0;r.attributes.length>c;c++){var l=r.attributes[c];"xlink:href"!==l.name&&"href"!==l.name&&o.setAttribute(l.name,l.value)}a.appendChild(o),e.appendChild(a)}}t.exports=function(e){var c,l=Object(e),e=window.top!==window.self,u=(c="polyfill"in l?l.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537||/\bEdge\/.(\d+)\b/.test(navigator.userAgent)&&e,{}),d=window.requestAnimationFrame||setTimeout,p=document.getElementsByTagName("use"),b=0;c&&function e(){if(!(b&&p.length-b<=0))for(var t=b=0;t<p.length;){var s,r,a=p[t],n=a.parentNode,i=function(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}(n),o=a.getAttribute("xlink:href")||a.getAttribute("href");!o&&l.attributeName&&(o=a.getAttribute(l.attributeName)),i&&o?c&&(!l.validate||l.validate(o,i,a)?(n.removeChild(a),s=(o=o.split("#")).shift(),o=o.join("#"),s.length?((r=u[s])||((r=u[s]=new XMLHttpRequest).open("GET",s),r.send(),r._embeds=[]),r._embeds.push({parent:n,svg:i,id:o}),function(r,a){r.onreadystatechange=function(){var s;4===r.readyState&&((s=r._cachedDocument)||((s=r._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=r.responseText,s.domain!==document.domain&&(s.domain=document.domain),r._cachedTarget={}),r._embeds.splice(0).map(function(e){var t=(t=r._cachedTarget[e.id])||(r._cachedTarget[e.id]=s.getElementById(e.id));f(e.parent,e.svg,t,a)}))},r.onreadystatechange()}(r,a)):f(n,i,document.getElementById(o),a)):(++t,++b)):++t}d(e,67)}()}},{}],44:[function(e,t,s){"use strict";window.uswdsPresent=!0,e("./polyfills");var r=e("./config");const a=e("./index"),n=e("./polyfills/svg4everybody");r.components=a;e=()=>{const t=document.body;Object.keys(a).forEach(e=>{a[e].on(t)}),n()};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e,{once:!0}):e(),s.default=r,s.initComponents=e},{"./config":36,"./index":38,"./polyfills":41,"./polyfills/svg4everybody":43}],45:[function(e,t,s){"use strict";t.exports=(e=document)=>e.activeElement},{}],46:[function(e,t,s){"use strict";const r=e("object-assign"),a=e("receptor/behavior"),n=(...e)=>function(t=document.body){e.forEach(e=>{"function"==typeof this[e]&&this[e].call(this,t)})};t.exports=(e,t)=>a(e,r({on:n("init","add"),off:n("teardown","remove")},t))},{"object-assign":4,"receptor/behavior":5}],47:[function(e,t,s){"use strict";t.exports=function(t,s=500){let r=null;return(...e)=>{window.clearTimeout(r),r=window.setTimeout(()=>{t.apply(this,e)},s)}}},{}],48:[function(e,t,s){"use strict";const a=e("object-assign"),n=e("receptor")["keymap"],i=e("./behavior"),o=e("./select"),c=e("./active-element"),l=e=>{const t=o('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',e),s=t[0],r=t[t.length-1];return{firstTabStop:s,lastTabStop:r,tabAhead:function(e){c()===r&&(e.preventDefault(),s.focus())},tabBack:function(e){c()===s?(e.preventDefault(),r.focus()):t.includes(c())||(e.preventDefault(),s.focus())}}};t.exports=(e,t={})=>{const s=l(e);var{Esc:e,Escape:r}=t,e=(r&&!e&&(t.Esc=r),n(a({Tab:s.tabAhead,"Shift+Tab":s.tabBack},t)));return i({keydown:e},{init(){s.firstTabStop&&s.firstTabStop.focus()},update(e){e?this.on():this.off()}})}},{"./active-element":45,"./behavior":46,"./select":54,"object-assign":4,receptor:10}],49:[function(e,t,s){"use strict";t.exports=function(e,t=window,s=document.documentElement){return 0<=(e=e.getBoundingClientRect()).top&&0<=e.left&&e.bottom<=(t.innerHeight||s.clientHeight)&&e.right<=(t.innerWidth||s.clientWidth)}},{}],50:[function(e,t,s){"use strict";t.exports=function(){return"undefined"!=typeof navigator&&(navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints)&&!window.MSStream}},{}],51:[function(e,t,s){"use strict";t.exports=function(){"use strict";var n={_entity:/[&<>"'/]/g,_entities:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},getEntity:function(e){return n._entities[e]},escapeHTML:function(e){var t="";for(var s=0;s<e.length;s++){t+=e[s];if(s+1<arguments.length){var r=arguments[s+1]||"";t+=String(r).replace(n._entity,n.getEntity)}}return t},createSafeHTML:function(e){var t=arguments.length;var s=new Array(t>1?t-1:0);for(var r=1;r<t;r++)s[r-1]=arguments[r];var a=n.escapeHTML.apply(n,[e].concat(s));return{__html:a,toString:function(){return"[object WrappedHTMLObject]"},info:"This is a wrapped HTML object. See https://developer.mozilla.or"+"g/en-US/Firefox_OS/Security/Security_Automation for more."}},unwrapSafeHTML:function(){var e=arguments.length;var t=new Array(e);for(var s=0;s<e;s++)t[s]=arguments[s];var r=t.map(function(e){return e.__html});return r.join("")}};return n}()},{}],52:[function(e,t,s){"use strict";t.exports=function(){var e=document.createElement("div"),t=(e.style.visibility="hidden",e.style.overflow="scroll",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e),document.createElement("div")),t=(e.appendChild(t),e.offsetWidth-t.offsetWidth+"px");return e.parentNode.removeChild(e),t}},{}],53:[function(e,t,s){"use strict";const a=e("./select");t.exports=(e,t)=>{var s,r=a(e,t);return"string"==typeof e&&(s=t)&&"object"==typeof s&&1===s.nodeType&&t.matches(e)&&r.push(t),r}},{"./select":54}],54:[function(e,t,s){"use strict";t.exports=(e,t)=>{var s;return"string"!=typeof e?[]:(s=(t=t&&(s=t)&&"object"==typeof s&&1===s.nodeType?t:window.document).querySelectorAll(e),Array.prototype.slice.call(s))}},{}],55:[function(e,t,s){"use strict";t.exports=(e,t)=>{e.setAttribute("autocapitalize","off"),e.setAttribute("autocorrect","off"),e.setAttribute("type",t?"password":"text")}},{}],56:[function(e,t,s){"use strict";const a=e("resolve-id-refs"),n=e("./toggle-field-mask"),i="aria-pressed",o="data-show-text";t.exports=e=>{const t=e.hasAttribute(i)&&"true"!==e.getAttribute(i);a(e.getAttribute("aria-controls")).forEach(e=>n(e,t)),e.hasAttribute(o)||e.setAttribute(o,e.textContent);var s=e.getAttribute(o),r=e.getAttribute("data-hide-text")||s.replace(/\bShow\b/i,e=>`${"S"===e[0]?"H":"h"}ide`);return e.textContent=t?s:r,e.setAttribute(i,t),t}},{"./toggle-field-mask":55,"resolve-id-refs":13}],57:[function(e,t,s){"use strict";const r="aria-expanded";t.exports=(e,t)=>{let s=t;"boolean"!=typeof s&&(s="false"===e.getAttribute(r)),e.setAttribute(r,s);t=e.getAttribute("aria-controls"),e=document.getElementById(t);if(e)return s?e.removeAttribute("hidden"):e.setAttribute("hidden",""),s;throw new Error(`No toggle target found with id: "${t}"`)}},{}],58:[function(e,t,s){"use strict";const c=e("./debounce");e=e("../config").prefix;const l=e+"-checklist__item--checked";t.exports=function(n){var e=n.dataset.validationElement;const i="#"===e.charAt(0)?document.querySelector(e):document.getElementById(e);if(!i)throw new Error(`No validation element found with id: "${e}"`);let o="";Object.entries(n.dataset).forEach(([t,s])=>{if(t.startsWith("validate")){var t=t.substr("validate".length).toLowerCase(),s=new RegExp(s),r=`[data-validator="${t}"]`,r=i.querySelector(r);const a=n.parentNode.querySelector("[data-validation-status]");s=s.test(n.value);if(r.classList.toggle(l,s),!r)throw new Error(`No validator checkbox found for: "${t}"`);s=n.dataset.validationComplete||"status complete",t=n.dataset.validationIncomplete||"status incomplete";let e=r.textContent+" ";r.classList.contains(l)?e+=s:e+=t,r.setAttribute("aria-label",e),o+=e+". ",c(()=>{a.textContent=o},1e3)()}})}},{"../config":36,"./debounce":47}]},{},[44]);
//# sourceMappingURL=uswds.min.js.map