diff --git a/components/table/TableData.jsx b/components/table/TableData.jsx
index d33cca6f..a761790b 100644
--- a/components/table/TableData.jsx
+++ b/components/table/TableData.jsx
@@ -16,7 +16,7 @@ const propTypes = {
rows: PropTypes.arrayOf(oneOfType([PropTypes.array, PropTypes.object])).isRequired,
expandable: PropTypes.bool,
divider: PropTypes.string,
- onClickHandler: PropTypes.string,
+ onClickHandler: PropTypes.func,
isMobile: PropTypes.bool
};
@@ -50,6 +50,7 @@ const TableData = ({
onClickHandler(row);
}
}
+
return (
<>
{rows.map((row, i) => {
@@ -69,7 +70,14 @@ const TableData = ({
return (
localClickHandler(row, i)}
+ onKeyUp={(e) => {
+ if (e.key === 'Enter') {
+ e.preventDefault();
+ localClickHandler(row, i);
+ }
+ }}
className={`usda-table__row-item usda-table__row${oddClass}`}>
{row.map((data, j) => (
columns[j]?.bodyHeader ?
diff --git a/dist/index.js b/dist/index.js
index fe982965..d0ea95cc 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,2 +1,2 @@
/*! For license information please see index.js.LICENSE.txt */
-!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("accounting"),require("lodash"),require("prop-types"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["accounting","lodash","prop-types","React","ReactDOM"],t):"object"==typeof exports?exports["data-transparency-ui"]=t(require("accounting"),require("lodash"),require("prop-types"),require("react"),require("react-dom")):e["data-transparency-ui"]=t(e.accounting,e.lodash,e["prop-types"],e.React,e.ReactDOM)}(global,((e,t,n,r,o)=>(()=>{var a={228:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},646:(e,t,n)=>{var r=n(228);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},506:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},575:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},913:e=>{function t(e,t){for(var n=0;n{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},154:e=>{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},205:(e,t,n)=>{var r=n(489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},860:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},884:e=>{e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},521:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},206:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},479:(e,t,n)=>{var r=n(316);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.default=e.exports,e.exports.__esModule=!0},316:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},585:(e,t,n)=>{var r=n(8).default,o=n(506);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.default=e.exports,e.exports.__esModule=!0},489:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},38:(e,t,n)=>{var r=n(858),o=n(884),a=n(379),i=n(521);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},319:(e,t,n)=>{var r=n(646),o=n(860),a=n(379),i=n(206);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},8:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},379:(e,t,n)=>{var r=n(228);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";n.r(t)},161:(e,t,n)=>{"use strict";n.r(t)},922:(e,t,n)=>{"use strict";n.r(t)},345:(e,t,n)=>{"use strict";n.r(t)},350:(e,t,n)=>{"use strict";n.r(t)},470:(e,t,n)=>{"use strict";n.r(t)},171:(e,t,n)=>{"use strict";n.r(t)},172:(e,t,n)=>{"use strict";n.r(t)},670:(e,t,n)=>{"use strict";n.r(t)},738:(e,t,n)=>{"use strict";n.r(t)},733:(e,t,n)=>{"use strict";n.r(t)},78:(e,t,n)=>{"use strict";n.r(t)},783:(e,t,n)=>{"use strict";n.r(t)},930:(e,t,n)=>{"use strict";n.r(t)},363:(e,t,n)=>{"use strict";n.r(t)},488:(e,t,n)=>{"use strict";n.r(t)},548:t=>{"use strict";t.exports=e},356:e=>{"use strict";e.exports=t},935:e=>{"use strict";e.exports=n},639:e=>{"use strict";e.exports=r},346:e=>{"use strict";e.exports=o}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return a[e](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";s.r(l),s.d(l,{CardBody:()=>$r,CardButton:()=>ro,CardContainer:()=>Gr,CardHero:()=>eo,Carousel:()=>gr,ComingSoon:()=>ir,DownloadIconButton:()=>wr,ErrorMessage:()=>Ut,FiscalYearPicker:()=>Tr,FlexGridCol:()=>Yr,FlexGridContainer:()=>Br,FlexGridRow:()=>Wr,GenericMessage:()=>Wt,InformationBoxes:()=>dr,LoadingMessage:()=>_n,NoResultsMessage:()=>En,PageHeader:()=>_r,Pagination:()=>ht,Picker:()=>kt,QuarterPicker:()=>It,SearchBar:()=>At,SectionTitle:()=>mr,ShareIcon:()=>Dr,Table:()=>Fn,Tabs:()=>ar,TooltipComponent:()=>Kn,TooltipWrapper:()=>Xn,useCumulativeQuarterPicker:()=>Pt,useDynamicStickyClass:()=>br});var e=s(575),t=s.n(e),n=s(913),r=s.n(n),o=s(205),a=s.n(o),i=s(585),c=s.n(i),u=s(754),d=s.n(u),p=s(639),f=s.n(p),m=s(935),h=s.n(m),v=s(548),g=s.n(v),b=s(356),y={symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},_=1e12,E=1e9,x=1e6,w=function(e){var t=Object.assign({},y,{symbol:""});return g().formatMoney(e,t)},O=function(e,t){var n=Object.assign({},y,{symbol:"",precision:t});return g().formatMoney(e,n)};function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function k(e,t){for(var n=0;n0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ye(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function _e(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Ee(e){return e.size!==ge.size||e.x!==ge.x||e.y!==ge.y||e.rotate!==ge.rotate||e.flipX||e.flipY}function xe(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(a," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var we={x:0,y:0,width:"100%",height:"100%"};function Oe(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Ne(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,i=e.transform,s=e.symbol,l=e.title,c=e.maskId,u=e.titleId,d=e.extra,p=e.watchable,f=void 0!==p&&p,m=r.found?r:n,h=m.width,v=m.height,g="fak"===o,b=g?"":"fa-w-".concat(Math.ceil(h/v*16)),y=[U.replacementClass,a?"".concat(U.familyPrefix,"-").concat(a):"",b].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:S({},d.attributes,{"data-prefix":o,"data-icon":a,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(v)})},E=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(h/v*16*.0625,"em")}:{};f&&(_.attributes["data-fa-i2svg"]=""),l&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||be())},children:[l]});var x=S({},_,{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:s,styles:S({},E,d.styles)}),w=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,i=e.maskId,s=e.transform,l=o.width,c=o.icon,u=a.width,d=a.icon,p=xe({transform:s,containerWidth:u,iconWidth:l}),f={tag:"rect",attributes:S({},we,{fill:"white"})},m=c.children?{children:c.children.map(Oe)}:{},h={tag:"g",attributes:S({},p.inner),children:[Oe(S({tag:c.tag,attributes:S({},c.attributes,p.path)},m))]},v={tag:"g",attributes:S({},p.outer),children:[h]},g="mask-".concat(i||be()),b="clip-".concat(i||be()),y={tag:"mask",attributes:S({},we,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,v]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(_,{tag:"rect",attributes:S({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(g,")")},we)}),{children:n,attributes:r}}(x):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,a=_e(e.styles);if(a.length>0&&(n.style=a),Ee(o)){var i=xe({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:S({},i.outer),children:[{tag:"g",attributes:S({},i.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:S({},r.icon.attributes,i.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(x),O=w.children,N=w.attributes;return x.children=O,x.attributes=N,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:S({},o,{id:!0===a?"".concat(t,"-").concat(U.familyPrefix,"-").concat(n):a}),children:r}]}]}(x):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(Ee(i)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=_e(S({},a,{"transform-origin":"".concat(s.x+i.x/16,"em ").concat(s.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(x)}var ke=(U.measurePerformance&&A&&A.mark&&A.measure,function(e,t,n,r){var o,a,i,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,o,a){return e.call(t,n,r,o,a)}}(t,r):t;for(void 0===n?(o=1,i=e[s[0]]):(o=0,i=n);o2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,a=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof G.hooks.addPack||o?G.styles[e]=S({},G.styles[e]||{},a):G.hooks.addPack(e,a),"fas"===e&&Ce("fa",t)}var Se=G.styles,Te=G.shims,Pe=function(){var e=function(e){return ke(Se,(function(t,n,r){return t[r]=ke(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Se;ke(Te,(function(e,n){var r=n[0],o=n[1],a=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:a},e}),{})};function je(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function Me(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,a=void 0===o?[]:o;return"string"==typeof e?ye(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(ye(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(Me).join(""),"").concat(t,">")}Pe(),G.styles;function Re(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Re.prototype=Object.create(Error.prototype),Re.prototype.constructor=Re;var ze={fill:"currentColor"},Ie={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},De=(S({},ze,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),S({},Ie,{attributeName:"opacity"}));function qe(e){var t=e[0],n=e[1],r=T(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(U.familyPrefix,"-").concat(W.GROUP)},children:[{tag:"path",attributes:{class:"".concat(U.familyPrefix,"-").concat(W.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(U.familyPrefix,"-").concat(W.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}S({},ze,{cx:"256",cy:"364",r:"28"}),S({},Ie,{attributeName:"r",values:"28;14;28;28;14;28;"}),S({},De,{values:"1;0;1;1;0;1;"}),S({},ze,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),S({},De,{values:"1;0;0;0;0;1;"}),S({},ze,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),S({},De,{values:"0;0;1;1;0;0;"}),G.styles,G.styles;var Ae=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r-1;o--){var a=n[o],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=a)}q.head.insertBefore(t,r)}}(function(){var e="fa",t=F,n=U.familyPrefix,r=U.replacementClass,o='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(r))}return o}()),Ve=!0)}function Fe(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Me(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(L){var t=q.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Be(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return je(We.definitions,n,r)||je(G.styles,n,r)}var He,We=new Ae,Ve=!1,Ye={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),t):t}(e)}},Ue=(He=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?ge:n,o=t.symbol,a=void 0!==o&&o,i=t.mask,s=void 0===i?null:i,l=t.maskId,c=void 0===l?null:l,u=t.title,d=void 0===u?null:u,p=t.titleId,f=void 0===p?null:p,m=t.classes,h=void 0===m?[]:m,v=t.attributes,g=void 0===v?{}:v,b=t.styles,y=void 0===b?{}:b;if(e){var _=e.prefix,E=e.iconName,x=e.icon;return Fe(S({type:"icon"},e),(function(){return Le(),U.autoA11y&&(d?g["aria-labelledby"]="".concat(U.replacementClass,"-title-").concat(f||be()):(g["aria-hidden"]="true",g.focusable="false")),Ne({icons:{main:qe(x),mask:s?qe(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:E,transform:S({},ge,r),symbol:a,title:d,maskId:c,titleId:f,extra:{attributes:g,styles:y,classes:h}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:Be(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Be(r||{})),He(n,S({},t,{mask:r}))});function Xe(e){return Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe(e)}function Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Je(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0||!Array.isArray(t)&&t?Ge({},e,t):{}}function ot(e){var t=e.forwardedRef,n=$e(e,["forwardedRef"]),r=n.icon,o=n.mask,a=n.symbol,i=n.className,s=n.title,l=n.titleId,c=nt(r),u=rt("classes",[].concat(Je(function(e){var t,n=e.spin,r=e.pulse,o=e.fixedWidth,a=e.inverse,i=e.border,s=e.listItem,l=e.flip,c=e.size,u=e.rotation,d=e.pull,p=(Ge(t={"fa-spin":n,"fa-pulse":r,"fa-fw":o,"fa-inverse":a,"fa-border":i,"fa-li":s,"fa-flip-horizontal":"horizontal"===l||"both"===l,"fa-flip-vertical":"vertical"===l||"both"===l},"fa-".concat(c),null!=c),Ge(t,"fa-rotate-".concat(u),null!=u&&0!==u),Ge(t,"fa-pull-".concat(d),null!=d),Ge(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(p).map((function(e){return p[e]?e:null})).filter((function(e){return e}))}(n)),Je(i.split(" ")))),d=rt("transform","string"==typeof n.transform?Ye.transform(n.transform):n.transform),p=rt("mask",nt(o)),f=Ue(c,Ke({},u,{},d,{},p,{symbol:a,title:s,titleId:l}));if(!f)return function(){var e;!tt&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=f.abstract,h={ref:t};return Object.keys(n).forEach((function(e){ot.defaultProps.hasOwnProperty(e)||(h[e]=n[e])})),at(m[0],h)}ot.displayName="FontAwesomeIcon",ot.propTypes={border:h().bool,className:h().string,mask:h().oneOfType([h().object,h().array,h().string]),fixedWidth:h().bool,inverse:h().bool,flip:h().oneOf(["horizontal","vertical","both"]),icon:h().oneOfType([h().object,h().array,h().string]),listItem:h().bool,pull:h().oneOf(["right","left"]),pulse:h().bool,rotation:h().oneOf([0,90,180,270]),size:h().oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:h().bool,symbol:h().oneOfType([h().bool,h().string]),title:h().string,transform:h().oneOfType([h().string,h().object]),swapOpacity:h().bool},ot.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var at=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=et(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ze(t)]=r}return e}),{attrs:{}}),i=r.style,s=void 0===i?{}:i,l=$e(r,["style"]);return a.attrs.style=Ke({},a.attrs.style,{},s),t.apply(void 0,[n.tag,Ke({},a.attrs,{},l)].concat(Je(o)))}.bind(null,f().createElement);var it={changePage:h().func.isRequired,totalItems:h().number.isRequired,currentPage:h().number.isRequired,pageSize:h().number.isRequired},st=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(){return t()(this,s),i.apply(this,arguments)}return r()(s,[{key:"getPager",value:function(){var e,t,n=this.props,r=n.totalItems,o=n.currentPage,a=n.pageSize,i=n.changePage,s=Math.ceil(r/a),l=f().createElement("li",{className:"pager__ellipsis"},"..."),c=f().createElement("li",{className:"pager__ellipsis"},"..."),u=f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(1)}},1)),d=f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(s)}},O(s,0)));s<5?(e=1,t=s,l="",c="",u="",d=""):(e=o-1,t=o+1,o<4?(l="",u="",1===o?(e=o,t=o+2):3===o&&(e=1,t=4)):o>s-3&&(c="",d="",o===s?(e=o-2,t=o):o===s-2&&(e=o-1,t=s)));var p=(o-1)*a,m=Math.min(p+(a-1),r-1),h=(0,b.range)(e,t+1);return{totalPages:s,startPage:e,endPage:t,startIndex:p,endIndex:m,pages:h,prevEllipses:l,nextEllipses:c,firstButton:u,lastButton:d}}},{key:"generatePageButtons",value:function(e){var t=this,n=this.props.currentPage;return e.map((function(e,r){return f().createElement("li",{key:r,className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(n===e?"pager__button_active":""),type:"button",onClick:function(){return t.props.changePage(e)}},O(e,0)))}))}},{key:"render",value:function(){var e=this.props,t=e.currentPage,n=e.changePage,r=this.getPager(),o=this.generatePageButtons(r.pages,r.totalPages);return f().createElement("ul",{className:"pager"},f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(1===t?"pager__button_disabled":""),type:"button",disabled:1===t,onClick:function(){return n(t-1)},title:"Previous page"},f().createElement(ot,{icon:"angle-left"}))),r.firstButton,r.prevEllipses,o,r.nextEllipses,r.lastButton,f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(t===r.totalPages?"pager__button_disabled":""),type:"button",disabled:t===r.totalPages,onClick:function(){return n(t+1)},title:"Next page"},f().createElement(ot,{icon:"angle-right"}))))}}]),s}(f().Component);st.propTypes=it;var lt=s(506),ct=s.n(lt);var ut={changeLimit:h().func.isRequired,pageSize:h().number,limitList:h().arrayOf(h().number),label:h().string},dt=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(e){var n;return t()(this,s),(n=i.call(this,e)).changeLimit=n.changeLimit.bind(ct()(n)),n}return r()(s,[{key:"changeLimit",value:function(e){e.preventDefault();var t=parseInt(e.target.value,10);this.props.changeLimit(t)}},{key:"render",value:function(){var e=this.props.label?this.props.label:"Rows per page: ",t=this.props,n=t.limitList,r=t.pageSize,o=n.map((function(e){return f().createElement("option",{key:"limit-".concat(e),value:e},e)}));return f().createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},f().createElement("label",null,e),f().createElement("select",{onChange:this.changeLimit,value:r,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},o))}}]),s}(f().Component);dt.propTypes=ut,dt.defaultProps={pageLimit:10,limitList:[10,25,50,100]};var pt={changePage:h().func.isRequired,totalPages:h().number,id:h().string},ft=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(e){var n;return t()(this,s),(n=i.call(this,e)).state={goToPage:""},n.changePage=n.changePage.bind(ct()(n)),n.changedInput=n.changedInput.bind(ct()(n)),n.validPage=n.validPage.bind(ct()(n)),n}return r()(s,[{key:"changePage",value:function(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function(){var e=this.state.goToPage,t=this.props.totalPages;return!(""===e||parseInt(e,10)<1||parseInt(e,10)>t)}},{key:"render",value:function(){var e=this.props.totalPages,t=e>1?"1-".concat(e):"1";return f().createElement("form",{className:"usa-dt-pagination__go-to"},f().createElement("label",{htmlFor:"".concat(this.props.id,"-go-to")},"Go to page"),f().createElement("input",{type:"number",id:"".concat(this.props.id,"-go-to"),title:"Enter a number between 1 and ".concat(e),min:"1",max:e,placeholder:t,value:this.state.goToPage,onChange:this.changedInput,onSubmit:this.changePage}),f().createElement("button",{type:"submit",onClick:this.changePage,disabled:!this.validPage()},"Go"))}}]),s}(f().Component);ft.propTypes=pt,ft.defaultProps={totalPages:1,id:"usa-dt-pagination-go-to"};var mt={changePage:h().func.isRequired,totalItems:h().number.isRequired,currentPage:h().number,pageSize:h().number,resultsText:h().oneOfType([h().bool,h().element]),limitSelector:h().bool,changeLimit:h().func,goToPage:h().bool,id:h().string};s(363);var ht=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(){return t()(this,s),i.apply(this,arguments)}return r()(s,[{key:"getResultsText",value:function(){var e=this.props,t=e.resultsText,n=e.totalItems,r=e.currentPage,o=e.pageSize;if(f().isValidElement(t))return t;if(t){var a=function(e,t,n){var r=(e-1)*t+1,o=e*t;return e===Math.ceil(n/t)&&(o=n),{start:r,end:o}}(r,o,n),i=O(a.start,0),s=O(a.end,0),l=O(n,0);return f().createElement("div",{className:"usa-dt-pagination__totals"},"".concat(i,"-").concat(s," of ").concat(l," results"))}return null}},{key:"render",value:function(){var e=this.props,t=e.limitSelector,n=e.goToPage,r=e.changePage,o=e.changeLimit,a=e.currentPage,i=e.pageSize,s=e.totalItems,l=e.id,c=Math.ceil(s/i),u=this.getResultsText(),d=t?f().createElement(dt,{changeLimit:o,pageSize:i}):null,p=n?f().createElement(ft,{changePage:r,totalPages:c,id:l}):null;return!t&&c<=1?null:f().createElement("div",{className:"usa-dt-pagination"},u,f().createElement("div",{className:"usa-dt-pagination__wrapper"},d,f().createElement(st,{changePage:r,totalItems:s,currentPage:a,pageSize:i}),p))}}]),s}(f().Component);ht.propTypes=mt,ht.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function(){},goToPage:!1};var vt=s(713),gt=s.n(vt),bt=s(38),yt=s.n(bt);function _t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Et(e){for(var t=1;tt.name?1:0},Nt=function(e){var t=e.className,n=void 0===t?"":t,r=e.id,o=void 0===r?"":r,a=e.options,i=e.selectedOption,s=e.icon,l=void 0===s?null:s,c=e.sortFn,u=void 0===c?Ot:c,d=e.isFixedWidth,m=void 0!==d&&d,h=e.children,v=e.dropdownDirection,g=void 0===v?"right":v,y=e.backgroundColor,_=void 0===y?"#1a4480":y,E=(0,p.useRef)(null),x=(0,p.useRef)(null),w=(0,p.useState)(!1),O=yt()(w,2),N=O[0],k=O[1],C=(0,p.useState)({top:0,width:0,left:0,right:0}),S=yt()(C,2),T=S[0],P=S[1],j=function(){x.current&&E.current&&P({top:x.current.offsetHeight,width:x.current.offsetWidth,left:x.current.offsetLeft,right:E.current.offsetWidth-(x.current.offsetWidth+x.current.offsetLeft)})};return(0,p.useEffect)((function(){0!==T.width&&m&&x.current&&x.current.offsetWidth!==T.width&&j()})),(0,p.useEffect)((function(){var e=function(e){N&&E.current&&!E.current.contains(e.target)&&e.target.id!=="".concat(o,"-").concat(xt)&&e.target.parentNode.id!=="".concat(o,"-").concat(xt)&&k(!1)};return j(),document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}),[N]),f().createElement("div",{id:o,className:"usa-dt-picker ".concat(n),ref:E,style:{backgroundColor:_}},f().createElement("div",{className:"usa-dt-picker__dropdown-container",style:{backgroundColor:_}},f().createElement("button",{style:{backgroundColor:_},ref:x,"aria-label":"Dropdown Toggle Button",className:"usa-dt-picker__button",onClick:function(e){e.preventDefault(),k(!N)}},l&&f().createElement("div",{className:"usa-dt-picker__icon"},l),h?f().createElement(f().Fragment,null,h):f().createElement(f().Fragment,null,f().createElement("span",{className:"usa-dt-picker__button-text",style:{backgroundColor:_}},i),f().createElement("span",{className:"usa-dt-picker__button-icon"},!N&&f().createElement(ot,{id:"".concat(o,"-").concat(xt),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),N&&f().createElement(ot,{id:"".concat(o,"-").concat(xt),icon:"chevron-up",alt:"Toggle menu",color:"#555"})))),f().createElement("ul",{className:"usa-dt-picker__list ".concat(N?"":"hide"),style:function(){var e={top:"".concat(T.top,"px"),left:"".concat(T.left,"px")};return m&&"right"===g?Et(Et({},e),{},{width:"".concat(T.width,"px")}):m&&"left"===g?{top:e.top,right:"".concat(T.right),width:"".concat(T.width,"px")}:"left"===g?{top:e.top,right:"".concat(T.right,"px")}:e}()},a.sort((function(e,t){return u(e,t,i)})).map((function(e){return Et(Et({},e),{},{onClick:(t=e.onClick,function(e){t(e),k(!1)})});var t})).map((function(e){return f().createElement("li",{key:(0,b.uniqueId)(),className:"usa-dt-picker__list-item ".concat(null!=e&&e.classNames?e.classNames:"")},f().createElement("button",{className:"usa-dt-picker__item ".concat(e.name===i?"active":""),value:"".concat(e.value||e.name),onClick:function(t){t.preventDefault(),e.onClick(e.value)}},e.component?e.component:e.name))})))))};Nt.propTypes=wt;const kt=Nt;var Ct={disabled:h().bool,active:h().bool,showPeriods:h().bool,quarter:h().string,handleSelection:h().func,handleHover:h().func,handleBlur:h().func,toggleTooltip:h().func,title:h().string},St=function(e){var t=e.disabled,n=e.active,r=e.quarter,o=e.handleSelection,a=e.toggleTooltip,i=e.title,s=void 0===i?"":i,l=e.handleHover,c=e.handleBlur,u=e.showPeriods,d=void 0!==u&&u,p=s||"Q ".concat(r),m=function(){t?a(r):l(r,d?"period":"quarter")},h=function(){a(0),c(d?"period":"quarter")},v=function(e){e.preventDefault(),t||o(r)},g=t?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===r?g+="usa-dt-quarter-picker__quarter_first":"4"===r?g+="usa-dt-quarter-picker__quarter_last":s.includes("-")&&(g+="usa-dt-quarter-picker__quarter_double"),!t&&n&&(g+=" usa-dt-quarter-picker__quarter_active"),f().createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(g),onMouseDown:v,onClick:v,onMouseOver:m,onMouseEnter:m,onFocus:m,onMouseLeave:h,onBlur:h,"aria-disabled":t},p)};St.propTypes=Ct;const Tt=St;var Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,p.useState)(e),n=yt()(t,2),r=n[0],o=n[1],a=function(e){var t=parseInt(e,10),n=r.map((function(e){return parseInt(e,10)})).filter((function(e){return e<=t})).map((function(e){return"".concat(e)}));o(n.concat([e]))};return[r,a]},jt=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],Mt=function(e,t){return t.some((function(t){return parseInt(t,10)>=parseInt(e,10)}))},Rt={handleSelection:h().func,selectedQuarters:h().arrayOf(h().string),disabledQuarters:h().arrayOf(h().string),selectedPeriods:h().arrayOf(h().string),disabledPeriods:h().arrayOf(h().string),periodsPerQuarter:h().arrayOf(h().arrayOf(h().shape({title:h().string,id:h().string}))),showPeriods:h().bool,isCumulative:h().bool},zt=function(e){var t=e.handleSelection,n=e.disabledQuarters,r=void 0===n?[]:n,o=e.disabledPeriods,a=void 0===o?[]:o,i=e.periodsPerQuarter,s=void 0===i?jt:i,l=e.selectedQuarters,c=void 0===l?[]:l,u=e.selectedPeriods,d=void 0===u?[]:u,m=e.showPeriods,h=void 0!==m&&m,v=e.isCumulative,g=void 0!==v&&v,y=(0,p.useState)(""),_=yt()(y,2),E=_[0],x=_[1],w=(0,p.useState)(""),O=yt()(w,2),N=O[0],k=O[1],C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter";"quarter"===t?k(e):x(e)},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter";"quarter"===e?k(""):x("")};return f().createElement("div",{className:"usa-dt-quarter-picker"},f().createElement("ul",{className:"usa-dt-quarter-picker__list"},new Array(4).fill(0).map((function(e,n){var o=n+1,i="".concat(o);if(h){var l=s[n],u=l.every((function(e){return a.includes(e.id)}));return f().createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:(0,b.uniqueId)()},f().createElement("p",{className:u?"disabled":""},"Q".concat(o)),f().createElement("ul",{className:"usa-dt-quarter-picker__period-list"},l.map((function(e){return f().createElement("li",{className:Object.keys(e).includes("className")?"".concat(e.className," usa-dt-quarter-picker__list-item"):"usa-dt-quarter-picker__list-item",key:(0,b.uniqueId)()},f().createElement(Tt,{showPeriods:h,quarter:e.id,title:e.title,disabled:a.includes(e.id),active:Mt(e.id,d)||parseInt(E,10)>=parseInt(e.id,10),handleHover:C,handleBlur:S,handleSelection:t,toggleTooltip:function(){}}))}))))}return f().createElement("li",{className:"usa-dt-quarter-picker__list-item",key:(0,b.uniqueId)()},f().createElement(Tt,{quarter:i,disabled:r.includes(i),active:g?Mt(i,c)||parseInt(N,10)>=o:c.includes(i)||N===i,handleSelection:t,handleHover:C,handleBlur:S,toggleTooltip:function(){}}))}))))};zt.propTypes=Rt;const It=zt;s(670);var Dt={onSearch:h().func,minChars:h().number,isDisabled:h().bool,throttleOnChange:h().number,inputTitle:h().string,placeholder:h().string},qt=function(e){var t=e.onSearch,n=e.minChars,r=e.isDisabled,o=e.throttleOnChange,a=e.inputTitle,i=e.placeholder,s=(0,p.useState)(""),l=yt()(s,2),c=l[0],u=l[1],d=(0,p.useState)(""),m=yt()(d,2),h=m[0],v=m[1],g=function(){u(""),t(""),v("")},y=(0,b.throttle)((function(e){return function(e,t){return!(!t||e.target.value)}(e,h)?g():u(e.target.value)}),o),_="search";return(c&&h===c||h&&c.length=0||(o[n]=e[n]);return o}function Gt(){return Gt=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:t;s(n,e.target.value)},currentSort:i,title:t,displayName:a}))))};Cn.propTypes=kn;const Sn=Cn;var Tn={prefix:"fas",iconName:"angle-double-right",icon:[448,512,[],"f101","M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"]},Pn={prefix:"fas",iconName:"check-circle",icon:[512,512,[],"f058","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"]},jn={prefix:"fas",iconName:"file-download",icon:[384,512,[],"f56d","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm76.45 211.36l-96.42 95.7c-6.65 6.61-17.39 6.61-24.04 0l-96.42-95.7C73.42 337.29 80.54 320 94.82 320H160v-80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v80h65.18c14.28 0 21.4 17.29 11.27 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"]},Mn={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"]},Rn={columns:h().arrayOf(h().object).isRequired,rows:h().arrayOf((0,m.oneOfType)([h().array,h().object])).isRequired,expandable:h().bool,divider:h().string,onClickHandler:h().string,isMobile:h().bool},zn=function(e){var t=e.columns,n=e.rows,r=e.expandable,o=e.divider,a=e.onClickHandler,i=e.isMobile,s=(0,p.useState)(!1),l=yt()(s,2),c=l[0],u=l[1],d=(0,p.useState)(),m=yt()(d,2),h=m[0],v=m[1];return f().createElement(f().Fragment,null,n.map((function(e,n){var s=n%2==0?"":" usda-table__row_odd";return r?f().createElement(On,{key:(0,b.uniqueId)(),data:e,oddClass:s,columns:t,divider:o}):f().createElement("tr",{key:(0,b.uniqueId)(),onClick:function(){return function(e,t){i&&!c?(u(!0),v(t)):i&&c&&h===t?(a(e),u(!1)):i&&c&&h!==t?v(t):i||a(e)}(e,n)},className:"usda-table__row-item usda-table__row".concat(s)},e.map((function(e,r){var o,a;return null!==(o=t[r])&&void 0!==o&&o.bodyHeader?f().createElement(Sn,Ft()({className:"table-header_body-header",key:(0,b.uniqueId)()},e)):f().createElement("td",{key:(0,b.uniqueId)(),className:"usda-table__cell".concat(null!==(a=t[r])&&void 0!==a&&a.right?" usda-table__cell_right":"")},t[r]&&f().createElement("div",{className:"usda-table__cell-heading-container"},i&&f().createElement("div",{className:"usda-table__cell-heading"},t[r].displayName),i&&c&&0===r&&h===n&&f().createElement("div",{className:"usda-table__cell-message"},"View next level"," ",f().createElement(ot,{icon:Tn,color:"#2378c3"}))),e)})))})))};zn.propTypes=Rn;const In=zn;function Dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qn(e){for(var t=1;tr?t:r;return o<425?o-10:"bottom"===n.props.tooltipPosition?n.props.width:n.props.wide?a>800?700:a-5:n.props.width})),gt()(ct()(n),"getDimensionsForMobile",(function(e,t){return e?{top:"".concat(n.tooltipContainer.clientHeight+n.tooltipContainer.offsetTop+8,"px"),width:t,left:"".concat(n.tooltipContainer.clientWidth/2-8,"px")}:Vn(Vn({},n.state.spacerStyles),{},{width:t})})),n.state={showTooltip:!1,isHoveringOnTooltip:!1,offsetTop:0,arrowDirection:"left",spacerStyles:{}},n.showTooltip=n.showTooltip.bind(ct()(n)),n.closeTooltip=n.closeTooltip.bind(ct()(n)),n.setTooltipDimensions=(0,b.throttle)(n.setTooltipDimensions.bind(ct()(n)),16),n}return r()(s,[{key:"componentDidMount",value:function(){this.setTooltipDimensions(),window.addEventListener("scroll",(0,b.throttle)(this.setTooltipDimensions,500)),window.addEventListener("resize",(0,b.throttle)(this.setTooltipDimensions,100))}},{key:"componentDidUpdate",value:function(){this.setTooltipDimensions()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.setTooltipDimensions),window.removeEventListener("resize",this.setTooltipDimensions)}},{key:"getAvailableHorizontalSpace",value:function(){var e=window.innerWidth,t=this.tooltipContainer,n=t.offsetLeft;return{right:e-n-t.clientWidth,left:n,total:e}}},{key:"setTooltipDimensions",value:function(){if(Object.keys(this.props.styles).includes("transform")&&this.tooltipContainer)"bottom"===this.props.tooltipPosition?this.setState({arrowDirection:"bottom",spacerStyle:{width:this.getTooltipWidth()}}):this.setState({spacerStyle:{width:this.getTooltipWidth()}});else if(this.tooltipContainer){var e=this.getTooltipWidth(),t=this.getAvailableHorizontalSpace(),n=t.left,r=t.total,o=t.right,a=this.tooltipContainer.offsetTop+this.props.offsetAdjustments.top,i=r<700;if("bottom"===this.props.tooltipPosition||i)this.setState({arrowDirection:"bottom",spacerStyle:Vn({},this.getDimensionsForMobile(i,e))});else if("right"===this.props.tooltipPosition&&o1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[13,32];return function(r){n.includes(r.keyCode)&&e.apply(void 0,Jn()(t))}},er={label:h().string.isRequired,internal:h().string,labelContent:h().element,active:h().bool,enabled:h().bool,switchTab:h().func,className:h().string,tooltip:h().object,count:h().number,tablessStyle:h().bool},tr=function(e){var t=(0,p.useRef)(null),n=function(){var n,r;e.enabled&&(null!=t&&t.current&&null!==(n=t.current)&&void 0!==n&&n.scrollIntoView&&(null===(r=t.current)||void 0===r||r.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})),e.switchTab(e.internal))},r=Zn(n);return f().createElement("div",{className:"usa-dt-tab__wrapper".concat(e.enabled?"":" disabled").concat(e.tablessStyle?" tabless-tab":"").concat(e.active?" active":"")},f().createElement("div",{className:"usa-dt-tab".concat(e.active?" active":""," ").concat(e.className||"").concat(e.enabled?"":" disabled"),ref:t,onClick:n,onKeyDown:r,role:"tab",title:"Show ".concat(e.label),"aria-label":"Show ".concat(e.label),tabIndex:0,disabled:!e.enabled},f().createElement("div",{className:"usa-dt-tab__content"},f().createElement("div",{className:"usa-dt-tab__label"},f().createElement("div",{className:"usa-dt-tab__label-text"},e.label),e.count>=0&&f().createElement("div",{"aria-label":"Count of ".concat(w(e.count)," for ").concat(e.label),className:"count".concat(e.active?" active":"")},w(e.count)),e.tooltip&&f().createElement(Xn,{tooltipComponent:f().createElement(Kn,{title:e.label},e.tooltip),icon:"info"})))))};tr.propTypes=er;const nr=tr;s(78);var rr={types:h().arrayOf(h().shape({label:h().string.isRequired,internal:h().string.isRequired,count:h().number,disabled:h().bool,tooltip:h().element})).isRequired,active:h().string.isRequired,switchTab:h().func.isRequired,tabsClassName:h().string,tablessStyle:h().bool},or=function(e){var t=e.types,n=e.active,r=e.switchTab,o=e.tabsClassName,a=e.tablessStyle,i=t.map((function(e){return f().createElement(nr,Ft()({},e,{active:n===e.internal,switchTab:r,key:"table-type-item-".concat(e.internal),enabled:!e.disabled,className:o,tooltip:e.tooltip,tablessStyle:a}))}));return f().createElement("div",{className:"usa-dt-tab-list".concat(a?" tabless-tabs":""),role:"tablist"},!a&&f().createElement("div",{className:"usa-dt-tab-list__border-pre-filler"}),i,f().createElement("div",{className:"usa-dt-tab-list__border-post-filler"}))};or.propTypes=rr;const ar=or;s(470);const ir=function(e){var t=e.className;return f().createElement(Wt,{className:"coming soon ".concat(t),title:"Coming Soon",description:"This feature is currently under development."})};var sr=function(e,t,n){if(0!==e&&!e)return null;var r=t?function(e){return g().formatMoney(e,y)}(e):w(e);if(Math.abs(e)>x){var o=function(e){var t=Math.abs(e),n=1,r="",o="";return t>=_?(n=_,r="T",o="trillion"):t>=E?(n=E,r="B",o="billion"):t>=x?(n=x,r="M",o="million"):t>=1e3&&(n=1e3,r="k",o="thousand"),{unit:n,unitLabel:r,longLabel:o}}(e);r="".concat(t?function(e,t){var n=Object.assign({},y,{precision:t});return g().formatMoney(e,n)}(e/o.unit,2):O(e/o.unit,2)," ").concat(n?(0,b.startCase)(o.longLabel):o.unitLabel)}return r},lr={2:"two",3:"three",4:"four"};s(350);var cr={boxes:h().arrayOf(h().shape({type:h().string.isRequired,title:h().oneOfType([h().string,h().element]),amount:h().number,isMonetary:h().bool,subtitle:h().string,subtitleBottom:h().string,isLoading:h().bool}))},ur=function(e){var t=e.boxes,n=(0,p.useState)(window.innerWidth>1200),r=yt()(n,2),o=r[0],a=r[1],i=(0,b.throttle)((function(){return a(window.innerWidth>1200)}));return(0,p.useEffect)((function(){return i(),window.addEventListener("resize",i),function(){return window.removeEventListener("resize",i)}}),[]),f().createElement("div",{className:"usa-dt-information-boxes ".concat(lr[t.length],"-boxes")},t.map((function(e){return f().createElement("div",{key:e.type,className:"usa-dt-information-box"},f().createElement("div",{className:"usa-dt-information-box__divider"},f().createElement("div",{className:"usa-dt-information-box__content".concat(e.subtitle?" with-subtitle":"")},f().createElement("div",{className:"usa-dt-information-box__title"},e.title),e.subtitle&&f().createElement("div",{className:"usa-dt-information-box__subtitle"},e.subtitle),f().createElement("div",{className:"usa-dt-information-box__amount".concat(e.isLoading?" loading":"")},e.isLoading&&f().createElement("div",{className:"dot-pulse"}),!e.isLoading&&sr(e.amount,e.isMonetary,o)),e.subtitleBottom&&f().createElement("div",{className:"usa-dt-information-box__subtitle-bottom"},e.subtitleBottom))))})))};ur.propTypes=cr;const dr=ur;s(738);var pr={isControlled:!1,toggleExpand:function(){},isExpanded:!1},fr=function(e){var t=e.title,n=e.icon,r=e.children,o=e.id,a=void 0===o?"":o,i=e.classNames,s=void 0===i?"":i,l=e.isCollapsible,c=void 0!==l&&l,u=e.isComingSoon,d=void 0!==u&&u,m=e.controlledProps,h=void 0===m?pr:m,v=e.defaultExpandedState,g=void 0===v||v,b=e.overLine,y=void 0===b?"":b,_=e.titleTooltip,E=void 0===_?{tooltip:null,tooltipProps:{}}:_,x=e.descTooltip,w=void 0===x?{component:null,props:{}}:x,O=e.description,N=(0,p.useState)(g),k=yt()(N,2),C=k[0],S=k[1],T=function(){h.isControlled?h.toggleExpand():S(!C)},P=C||h.isControlled&&h.isExpanded||!c;return f().createElement("section",{id:a,className:"usda-section__container".concat(s?" ".concat(s):"")},f().createElement("div",{className:"usda-section-title__container"},n&&f().cloneElement(n,{className:"usda-section-title__title-icon"}),f().createElement("div",{className:"usda-section-title__header"},y&&f().createElement("strong",{className:"usda-section-title__overline"},y),f().createElement("div",{className:"usda-section-title__title"},f().createElement("h3",null,t),E.component&&f().createElement(Xn,Ft()({tooltipComponent:E.component,icon:"info",className:"".concat(y?"has-overline":"")},E.props)))),O&&f().cloneElement(O,{className:"usda-section-title__desc has-overline"}),w.component&&f().createElement(Xn,Ft()({tooltipComponent:w.component,icon:"info",tooltipPosition:"left"},w.props)),c&&f().createElement(ot,{tabIndex:0,onKeyDown:Zn(T),className:"usda-section-title__expand-icon",onClick:T,size:"2x",icon:C||h.isControlled&&h.isExpanded?"chevron-up":"chevron-down"})),f().createElement("hr",null),d&&P&&f().createElement(ir,null),P&&!d&&r)};fr.propTypes={icon:h().element.isRequired,children:h().element.isRequired,title:h().string.isRequired,defaultExpandedState:h().bool,overLine:h().string,controlledProps:h().shape({isControlled:h().bool.isRequired,toggleExpand:h().func.isRequired,isExpanded:h().bool.isRequired}),description:h().element,titleTooltip:h().shape({component:h().element,props:h().object}),descTooltip:h().shape({component:h().element,props:h().object}),isCollapsible:h().bool,isComingSoon:h().bool,classNames:h().string,id:h().string};const mr=fr;s(27);var hr={items:h().arrayOf(h().element)},vr=function(e){var t=e.items,n=(0,p.useState)(1),r=yt()(n,2),o=r[0],a=r[1],i=(0,p.useState)(!1),s=yt()(i,2),l=s[0],c=s[1],u=(0,p.useRef)(null),d=(0,p.useRef)(0),m=(0,p.useRef)((0,b.uniqueId)()),h=(0,p.useRef)(null),v=(0,p.useRef)(null),g=function(e){return a(e)},y=function(){return g(o)};(0,p.useEffect)((function(){return window.addEventListener("resize",y),function(){return window.removeEventListener("resize",y)}}),[]),(0,p.useEffect)((function(){var e,n;l||g((e=v.current.offsetWidth,(n=Math.round(-1*d.current/e)+1)>t.length?1:n<1?t.length:n))}),[l]),(0,p.useEffect)((function(){if(h.current&&v.current){var e=v.current.offsetWidth,t=(o-1)*e*-1;d.current=t,h.current.style.transform="translate(".concat(t,"px, 0px)")}}));var _=function(){u.current=null,c(!1)},E=function(){return _()},x=function(e){var t=e-u.current;u.current=e,d.current+=t,h.current.style.transform="translate(".concat(d.current,"px, 0px)")},w=function(){l&&_()},O=function(e){e.preventDefault(),g(parseInt(e.target.value,10))};return f().createElement("div",{className:"usa-dt-carousel","aria-describedby":"".concat(m.current,"-instructions")},f().createElement("div",{id:"".concat(m.current,"-instructions"),className:"usa-dt-carousel__instructions","aria-live":"polite"},"An image carousel containing ","".concat(t.length," item").concat(1!==t.length?"s":""),", with item ",o," shown."),f().createElement("div",{className:"usa-dt-carousel-content"},f().createElement("div",{className:"usa-dt-carousel-item",onTouchStart:function(){return c(!0)},onTouchMove:function(e){if(l&&e.touches&&e.touches.length&&h){var t=e.touches[0];null===u.current?u.current=t.pageX:x(t.pageX)}},onTouchEnd:E,onTouchCancel:E,onMouseDown:function(e){e.preventDefault(),c(!0)},onMouseUp:w,onMouseLeave:w,onMouseMove:function(e){l&&(null===u.current?u.current=e.pageX:x(e.pageX))},role:"presentation",ref:v},f().createElement("div",{className:"usa-dt-carousel-item__list ".concat(l?"usa-dt-carousel-item__list_dragging":""),"aria-live":"polite",ref:h},t.map((function(e,t){return f().createElement("div",{className:"usa-dt-carousel-item__list-item",key:"".concat(t,"-the-list-item"),"aria-hidden":o!==t+1,tabIndex:-1},(0,p.cloneElement)(e,{className:"usa-dt-carousel-item__item"}))}))))),f().createElement("div",{className:"usa-dt-carousel-pager"},f().createElement("div",{className:"usa-dt-carousel-pager__list",role:"menu","aria-label":"Pagination controls for carousel items"},t.map((function(e,t){return f().createElement("button",{className:"usa-dt-carousel-pager__dot-button ".concat(t+1===o?"usa-dt-carousel-pager__dot-button_active":""),value:t+1,key:"".concat(t,"-list-item"),onClick:O,"aria-label":"Skip to carousel item ".concat(t+1),"aria-checked":t+1===o,role:"menuitemradio"},f().createElement("div",{className:"usa-dt-carousel-pager__dot-decorator"}))})))))};vr.propTypes=hr;const gr=vr;var br=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,p.useState)(0),r=yt()(n,2),o=r[0],a=r[1],i=(0,p.useState)(!1),s=yt()(i,2),l=s[0],c=s[1];return[l,o,c,(0,b.throttle)((function(){var e=window.scrollY||document.documentElement.scrollTop;t&&e>=t&&!l||!t&&e>=o&&!l?c(!0):(e<=t||e<=o)&&c(!1)}),100),(0,b.throttle)((function(){var t=e.current?e.current.offsetTop:0;a(t)}),100)]};s(171);var yr=function(e){var t=e.title,n=e.overLine,r=void 0===n?"":n,o=e.stickyBreakPoint,a=void 0===o?0:o,i=e.toolBar,s=void 0===i?[]:i,l=e.backgroundColor,c=void 0===l?"#1a4480":l,u=(0,p.useRef)(null),d=br(u,a),m=yt()(d,5),h=m[0],v=m[3],g=m[4];(0,p.useEffect)((function(){return g(),window.addEventListener("scroll",v),window.addEventListener("resize",g),function(){window.removeEventListener("scroll",v),window.removeEventListener("resize",g)}}));var b,y,_=h?" usda-page-header--sticky":"";return f().createElement("section",{className:"usda-page-header".concat(_),ref:u,style:{backgroundColor:c}},f().createElement("div",{className:"usda-page-header__container"},f().createElement("div",{className:"usda-page-header__mobile-top"},f().createElement("div",{className:"usda-page-header__header"},r&&f().createElement("strong",{className:"usda-page-header__overline"},r),f().createElement("div",{className:"usda-page-header__title"},f().createElement("h1",null,t))),(y=null==s?void 0:s.find((function(e){return"Share Icon"===(null==e?void 0:e.type.displayName)})))?f().cloneElement(y):null,(b=null==s?void 0:s.find((function(e){return"ATDButton"===(null==e?void 0:e.type.displayName)})))?f().cloneElement(b):null),(null==s?void 0:s.length)>0&&f().createElement("div",{className:"usda-page-header__toolbar"},s.map((function(e){var t,n,r,o="".concat(null===(t=e.props)||void 0===t?void 0:t.className," ").concat(null===(n=e.props)||void 0===n?void 0:n.classNames),a="".concat(null===(r=e.props)||void 0===r?void 0:r.classNames);return o?f().cloneElement(e,{className:"".concat(o," toolbar__item")}):a?f().cloneElement(e,{classNames:"".concat(a," toolbar__item")}):f().cloneElement(e,{className:"toolbar__item",classNames:"toolbar__item"})})))))};yr.propTypes={stickyBreakPoint:h().number,overLine:h().string,title:h().string.isRequired,toolBar:h().arrayOf(h().element)};const _r=yr;s(161);var Er={onClick:h().func.isRequired,downloadInFlight:h().bool,tooltipComponent:h().element,isEnabled:h().bool,tooltipPosition:h().string},xr=function(e){var t=e.onClick,n=e.downloadInFlight,r=e.tooltipComponent,o=void 0===r?null:r,a=e.tooltipPosition,i=void 0===a?"left":a,s=e.isEnabled,l=void 0===s||s,c=e.backgroundColor,u=void 0===c?"#1a4480":c,d=function(e){e.preventDefault(),!n&&l&&t()},p=n||!l?" disabled":"",m=n?"Preparing Download...":"Download",h=n?Mn:jn;return o?f().createElement(Xn,{className:"usda-download-btn".concat(p),tooltipPosition:i,tooltipComponent:o},f().createElement("button",{className:"usda-button",title:m,"aria-label":m,disabled:n,onClick:d,style:{backgroundColor:u}},f().createElement(ot,{icon:h,spin:n,color:"#dfe1e2"})),f().createElement("span",{style:{color:"#dfe1e2"}},m)):f().createElement("div",{className:"usda-download-btn".concat(p)},f().createElement("button",{className:"usda-button",title:m,"aria-label":m,disabled:n,onClick:d,style:{backgroundColor:u}},f().createElement(ot,{icon:h,spin:n})),f().createElement("span",null,m))};xr.displayName="Download Icon Button",xr.propTypes=Er;const wr=xr;var Or={prefix:"far",iconName:"calendar-alt",icon:[448,512,[],"f073","M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]};function Nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kr(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:2008,t=arguments.length>1?arguments[1]:void 0;return Jn()(new Array(t-e)).reduce((function(t,n,r){return t.push(e+r+1),t}),[e]).sort((function(e,t){return t-e}))}(i,n).map((function(e){return{name:"FY ".concat(e),value:"".concat(e),onClick:u}})):[{name:"Loading fiscal years...",value:null,onClick:function(){}}]}),f().createElement("span",null,"Fiscal Year"))};Sr.displayName="Fiscal Year Picker",Sr.propTypes={backgroundColor:h().string,selectedFy:h().oneOfType([h().number,h().string]),earliestFy:h().number,latestFy:h().number,options:h().arrayOf(h().shape({name:h().oneOfType([h().string,h().number]),value:h().oneOfType([h().string,h().number])})),handleFyChange:h().func,sortFn:h().func};const Tr=Sr;var Pr=function(e){var t=e.icon,n=e.title;return f().createElement(f().Fragment,null,f().createElement(ot,{icon:t,color:"#555",size:"sm"}),f().createElement("span",null,n))},jr=[{component:f().createElement(Pr,{icon:{prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},title:"Copy link"}),name:"copy"},{component:f().createElement(Pr,{icon:{prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]},title:"Email"}),name:"email"},{component:f().createElement(Pr,{icon:{prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},title:"Twitter"}),name:"twitter"},{component:f().createElement(Pr,{icon:{prefix:"fab",iconName:"facebook-square",icon:[448,512,[],"f082","M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"]},title:"Facebook"}),name:"facebook"},{component:f().createElement(Pr,{icon:{prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},title:"LinkedIn"}),name:"linkedin"},{component:f().createElement(Pr,{icon:{prefix:"fab",iconName:"reddit-square",icon:[448,512,[],"f1a2","M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"]},title:"Reddit"}),name:"reddit"}];function Mr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rr(e){for(var t=1;t(()=>{var a={228:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},646:(e,t,n)=>{var r=n(228);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},506:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},575:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},913:e=>{function t(e,t){for(var n=0;n{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},154:e=>{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},205:(e,t,n)=>{var r=n(489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},860:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},884:e=>{e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},521:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},206:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},479:(e,t,n)=>{var r=n(316);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.default=e.exports,e.exports.__esModule=!0},316:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},585:(e,t,n)=>{var r=n(8).default,o=n(506);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.default=e.exports,e.exports.__esModule=!0},489:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},38:(e,t,n)=>{var r=n(858),o=n(884),a=n(379),i=n(521);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},319:(e,t,n)=>{var r=n(646),o=n(860),a=n(379),i=n(206);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},8:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},379:(e,t,n)=>{var r=n(228);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";n.r(t)},161:(e,t,n)=>{"use strict";n.r(t)},922:(e,t,n)=>{"use strict";n.r(t)},345:(e,t,n)=>{"use strict";n.r(t)},350:(e,t,n)=>{"use strict";n.r(t)},470:(e,t,n)=>{"use strict";n.r(t)},171:(e,t,n)=>{"use strict";n.r(t)},172:(e,t,n)=>{"use strict";n.r(t)},670:(e,t,n)=>{"use strict";n.r(t)},738:(e,t,n)=>{"use strict";n.r(t)},733:(e,t,n)=>{"use strict";n.r(t)},78:(e,t,n)=>{"use strict";n.r(t)},783:(e,t,n)=>{"use strict";n.r(t)},930:(e,t,n)=>{"use strict";n.r(t)},363:(e,t,n)=>{"use strict";n.r(t)},488:(e,t,n)=>{"use strict";n.r(t)},548:t=>{"use strict";t.exports=e},356:e=>{"use strict";e.exports=t},935:e=>{"use strict";e.exports=n},639:e=>{"use strict";e.exports=r},346:e=>{"use strict";e.exports=o}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return a[e](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";s.r(l),s.d(l,{CardBody:()=>$r,CardButton:()=>ro,CardContainer:()=>Gr,CardHero:()=>eo,Carousel:()=>gr,ComingSoon:()=>ir,DownloadIconButton:()=>wr,ErrorMessage:()=>Yt,FiscalYearPicker:()=>Tr,FlexGridCol:()=>Ur,FlexGridContainer:()=>Br,FlexGridRow:()=>Wr,GenericMessage:()=>Wt,InformationBoxes:()=>dr,LoadingMessage:()=>_n,NoResultsMessage:()=>En,PageHeader:()=>_r,Pagination:()=>ht,Picker:()=>kt,QuarterPicker:()=>It,SearchBar:()=>At,SectionTitle:()=>mr,ShareIcon:()=>Dr,Table:()=>Fn,Tabs:()=>ar,TooltipComponent:()=>Kn,TooltipWrapper:()=>Xn,useCumulativeQuarterPicker:()=>Pt,useDynamicStickyClass:()=>br});var e=s(575),t=s.n(e),n=s(913),r=s.n(n),o=s(205),a=s.n(o),i=s(585),c=s.n(i),u=s(754),d=s.n(u),p=s(639),f=s.n(p),m=s(935),h=s.n(m),v=s(548),g=s.n(v),b=s(356),y={symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},_=1e12,E=1e9,x=1e6,w=function(e){var t=Object.assign({},y,{symbol:""});return g().formatMoney(e,t)},O=function(e,t){var n=Object.assign({},y,{symbol:"",precision:t});return g().formatMoney(e,n)};function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function k(e,t){for(var n=0;n0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ye(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function _e(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Ee(e){return e.size!==ge.size||e.x!==ge.x||e.y!==ge.y||e.rotate!==ge.rotate||e.flipX||e.flipY}function xe(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(a," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var we={x:0,y:0,width:"100%",height:"100%"};function Oe(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Ne(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,i=e.transform,s=e.symbol,l=e.title,c=e.maskId,u=e.titleId,d=e.extra,p=e.watchable,f=void 0!==p&&p,m=r.found?r:n,h=m.width,v=m.height,g="fak"===o,b=g?"":"fa-w-".concat(Math.ceil(h/v*16)),y=[Y.replacementClass,a?"".concat(Y.familyPrefix,"-").concat(a):"",b].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:S({},d.attributes,{"data-prefix":o,"data-icon":a,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(v)})},E=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(h/v*16*.0625,"em")}:{};f&&(_.attributes["data-fa-i2svg"]=""),l&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||be())},children:[l]});var x=S({},_,{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:s,styles:S({},E,d.styles)}),w=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,i=e.maskId,s=e.transform,l=o.width,c=o.icon,u=a.width,d=a.icon,p=xe({transform:s,containerWidth:u,iconWidth:l}),f={tag:"rect",attributes:S({},we,{fill:"white"})},m=c.children?{children:c.children.map(Oe)}:{},h={tag:"g",attributes:S({},p.inner),children:[Oe(S({tag:c.tag,attributes:S({},c.attributes,p.path)},m))]},v={tag:"g",attributes:S({},p.outer),children:[h]},g="mask-".concat(i||be()),b="clip-".concat(i||be()),y={tag:"mask",attributes:S({},we,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,v]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(_,{tag:"rect",attributes:S({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(g,")")},we)}),{children:n,attributes:r}}(x):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,a=_e(e.styles);if(a.length>0&&(n.style=a),Ee(o)){var i=xe({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:S({},i.outer),children:[{tag:"g",attributes:S({},i.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:S({},r.icon.attributes,i.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(x),O=w.children,N=w.attributes;return x.children=O,x.attributes=N,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:S({},o,{id:!0===a?"".concat(t,"-").concat(Y.familyPrefix,"-").concat(n):a}),children:r}]}]}(x):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(Ee(i)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=_e(S({},a,{"transform-origin":"".concat(s.x+i.x/16,"em ").concat(s.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(x)}var ke=(Y.measurePerformance&&A&&A.mark&&A.measure,function(e,t,n,r){var o,a,i,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,o,a){return e.call(t,n,r,o,a)}}(t,r):t;for(void 0===n?(o=1,i=e[s[0]]):(o=0,i=n);o2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,a=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof G.hooks.addPack||o?G.styles[e]=S({},G.styles[e]||{},a):G.hooks.addPack(e,a),"fas"===e&&Ce("fa",t)}var Se=G.styles,Te=G.shims,Pe=function(){var e=function(e){return ke(Se,(function(t,n,r){return t[r]=ke(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Se;ke(Te,(function(e,n){var r=n[0],o=n[1],a=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:a},e}),{})};function je(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function Me(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,a=void 0===o?[]:o;return"string"==typeof e?ye(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(ye(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(Me).join(""),"").concat(t,">")}Pe(),G.styles;function Re(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Re.prototype=Object.create(Error.prototype),Re.prototype.constructor=Re;var ze={fill:"currentColor"},Ie={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},De=(S({},ze,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),S({},Ie,{attributeName:"opacity"}));function qe(e){var t=e[0],n=e[1],r=T(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Y.familyPrefix,"-").concat(W.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Y.familyPrefix,"-").concat(W.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Y.familyPrefix,"-").concat(W.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}S({},ze,{cx:"256",cy:"364",r:"28"}),S({},Ie,{attributeName:"r",values:"28;14;28;28;14;28;"}),S({},De,{values:"1;0;1;1;0;1;"}),S({},ze,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),S({},De,{values:"1;0;0;0;0;1;"}),S({},ze,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),S({},De,{values:"0;0;1;1;0;0;"}),G.styles,G.styles;var Ae=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r-1;o--){var a=n[o],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=a)}q.head.insertBefore(t,r)}}(function(){var e="fa",t=F,n=Y.familyPrefix,r=Y.replacementClass,o='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(r))}return o}()),Ve=!0)}function Fe(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Me(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(L){var t=q.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Be(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return je(We.definitions,n,r)||je(G.styles,n,r)}var He,We=new Ae,Ve=!1,Ue={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),t):t}(e)}},Ye=(He=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?ge:n,o=t.symbol,a=void 0!==o&&o,i=t.mask,s=void 0===i?null:i,l=t.maskId,c=void 0===l?null:l,u=t.title,d=void 0===u?null:u,p=t.titleId,f=void 0===p?null:p,m=t.classes,h=void 0===m?[]:m,v=t.attributes,g=void 0===v?{}:v,b=t.styles,y=void 0===b?{}:b;if(e){var _=e.prefix,E=e.iconName,x=e.icon;return Fe(S({type:"icon"},e),(function(){return Le(),Y.autoA11y&&(d?g["aria-labelledby"]="".concat(Y.replacementClass,"-title-").concat(f||be()):(g["aria-hidden"]="true",g.focusable="false")),Ne({icons:{main:qe(x),mask:s?qe(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:E,transform:S({},ge,r),symbol:a,title:d,maskId:c,titleId:f,extra:{attributes:g,styles:y,classes:h}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:Be(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Be(r||{})),He(n,S({},t,{mask:r}))});function Xe(e){return Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe(e)}function Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Je(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0||!Array.isArray(t)&&t?Ge({},e,t):{}}function ot(e){var t=e.forwardedRef,n=$e(e,["forwardedRef"]),r=n.icon,o=n.mask,a=n.symbol,i=n.className,s=n.title,l=n.titleId,c=nt(r),u=rt("classes",[].concat(Je(function(e){var t,n=e.spin,r=e.pulse,o=e.fixedWidth,a=e.inverse,i=e.border,s=e.listItem,l=e.flip,c=e.size,u=e.rotation,d=e.pull,p=(Ge(t={"fa-spin":n,"fa-pulse":r,"fa-fw":o,"fa-inverse":a,"fa-border":i,"fa-li":s,"fa-flip-horizontal":"horizontal"===l||"both"===l,"fa-flip-vertical":"vertical"===l||"both"===l},"fa-".concat(c),null!=c),Ge(t,"fa-rotate-".concat(u),null!=u&&0!==u),Ge(t,"fa-pull-".concat(d),null!=d),Ge(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(p).map((function(e){return p[e]?e:null})).filter((function(e){return e}))}(n)),Je(i.split(" ")))),d=rt("transform","string"==typeof n.transform?Ue.transform(n.transform):n.transform),p=rt("mask",nt(o)),f=Ye(c,Ke({},u,{},d,{},p,{symbol:a,title:s,titleId:l}));if(!f)return function(){var e;!tt&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=f.abstract,h={ref:t};return Object.keys(n).forEach((function(e){ot.defaultProps.hasOwnProperty(e)||(h[e]=n[e])})),at(m[0],h)}ot.displayName="FontAwesomeIcon",ot.propTypes={border:h().bool,className:h().string,mask:h().oneOfType([h().object,h().array,h().string]),fixedWidth:h().bool,inverse:h().bool,flip:h().oneOf(["horizontal","vertical","both"]),icon:h().oneOfType([h().object,h().array,h().string]),listItem:h().bool,pull:h().oneOf(["right","left"]),pulse:h().bool,rotation:h().oneOf([0,90,180,270]),size:h().oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:h().bool,symbol:h().oneOfType([h().bool,h().string]),title:h().string,transform:h().oneOfType([h().string,h().object]),swapOpacity:h().bool},ot.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var at=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=et(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ze(t)]=r}return e}),{attrs:{}}),i=r.style,s=void 0===i?{}:i,l=$e(r,["style"]);return a.attrs.style=Ke({},a.attrs.style,{},s),t.apply(void 0,[n.tag,Ke({},a.attrs,{},l)].concat(Je(o)))}.bind(null,f().createElement);var it={changePage:h().func.isRequired,totalItems:h().number.isRequired,currentPage:h().number.isRequired,pageSize:h().number.isRequired},st=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(){return t()(this,s),i.apply(this,arguments)}return r()(s,[{key:"getPager",value:function(){var e,t,n=this.props,r=n.totalItems,o=n.currentPage,a=n.pageSize,i=n.changePage,s=Math.ceil(r/a),l=f().createElement("li",{className:"pager__ellipsis"},"..."),c=f().createElement("li",{className:"pager__ellipsis"},"..."),u=f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(1)}},1)),d=f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(s)}},O(s,0)));s<5?(e=1,t=s,l="",c="",u="",d=""):(e=o-1,t=o+1,o<4?(l="",u="",1===o?(e=o,t=o+2):3===o&&(e=1,t=4)):o>s-3&&(c="",d="",o===s?(e=o-2,t=o):o===s-2&&(e=o-1,t=s)));var p=(o-1)*a,m=Math.min(p+(a-1),r-1),h=(0,b.range)(e,t+1);return{totalPages:s,startPage:e,endPage:t,startIndex:p,endIndex:m,pages:h,prevEllipses:l,nextEllipses:c,firstButton:u,lastButton:d}}},{key:"generatePageButtons",value:function(e){var t=this,n=this.props.currentPage;return e.map((function(e,r){return f().createElement("li",{key:r,className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(n===e?"pager__button_active":""),type:"button",onClick:function(){return t.props.changePage(e)}},O(e,0)))}))}},{key:"render",value:function(){var e=this.props,t=e.currentPage,n=e.changePage,r=this.getPager(),o=this.generatePageButtons(r.pages,r.totalPages);return f().createElement("ul",{className:"pager"},f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(1===t?"pager__button_disabled":""),type:"button",disabled:1===t,onClick:function(){return n(t-1)},title:"Previous page"},f().createElement(ot,{icon:"angle-left"}))),r.firstButton,r.prevEllipses,o,r.nextEllipses,r.lastButton,f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(t===r.totalPages?"pager__button_disabled":""),type:"button",disabled:t===r.totalPages,onClick:function(){return n(t+1)},title:"Next page"},f().createElement(ot,{icon:"angle-right"}))))}}]),s}(f().Component);st.propTypes=it;var lt=s(506),ct=s.n(lt);var ut={changeLimit:h().func.isRequired,pageSize:h().number,limitList:h().arrayOf(h().number),label:h().string},dt=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(e){var n;return t()(this,s),(n=i.call(this,e)).changeLimit=n.changeLimit.bind(ct()(n)),n}return r()(s,[{key:"changeLimit",value:function(e){e.preventDefault();var t=parseInt(e.target.value,10);this.props.changeLimit(t)}},{key:"render",value:function(){var e=this.props.label?this.props.label:"Rows per page: ",t=this.props,n=t.limitList,r=t.pageSize,o=n.map((function(e){return f().createElement("option",{key:"limit-".concat(e),value:e},e)}));return f().createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},f().createElement("label",null,e),f().createElement("select",{onChange:this.changeLimit,value:r,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},o))}}]),s}(f().Component);dt.propTypes=ut,dt.defaultProps={pageLimit:10,limitList:[10,25,50,100]};var pt={changePage:h().func.isRequired,totalPages:h().number,id:h().string},ft=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(e){var n;return t()(this,s),(n=i.call(this,e)).state={goToPage:""},n.changePage=n.changePage.bind(ct()(n)),n.changedInput=n.changedInput.bind(ct()(n)),n.validPage=n.validPage.bind(ct()(n)),n}return r()(s,[{key:"changePage",value:function(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function(){var e=this.state.goToPage,t=this.props.totalPages;return!(""===e||parseInt(e,10)<1||parseInt(e,10)>t)}},{key:"render",value:function(){var e=this.props.totalPages,t=e>1?"1-".concat(e):"1";return f().createElement("form",{className:"usa-dt-pagination__go-to"},f().createElement("label",{htmlFor:"".concat(this.props.id,"-go-to")},"Go to page"),f().createElement("input",{type:"number",id:"".concat(this.props.id,"-go-to"),title:"Enter a number between 1 and ".concat(e),min:"1",max:e,placeholder:t,value:this.state.goToPage,onChange:this.changedInput,onSubmit:this.changePage}),f().createElement("button",{type:"submit",onClick:this.changePage,disabled:!this.validPage()},"Go"))}}]),s}(f().Component);ft.propTypes=pt,ft.defaultProps={totalPages:1,id:"usa-dt-pagination-go-to"};var mt={changePage:h().func.isRequired,totalItems:h().number.isRequired,currentPage:h().number,pageSize:h().number,resultsText:h().oneOfType([h().bool,h().element]),limitSelector:h().bool,changeLimit:h().func,goToPage:h().bool,id:h().string};s(363);var ht=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(){return t()(this,s),i.apply(this,arguments)}return r()(s,[{key:"getResultsText",value:function(){var e=this.props,t=e.resultsText,n=e.totalItems,r=e.currentPage,o=e.pageSize;if(f().isValidElement(t))return t;if(t){var a=function(e,t,n){var r=(e-1)*t+1,o=e*t;return e===Math.ceil(n/t)&&(o=n),{start:r,end:o}}(r,o,n),i=O(a.start,0),s=O(a.end,0),l=O(n,0);return f().createElement("div",{className:"usa-dt-pagination__totals"},"".concat(i,"-").concat(s," of ").concat(l," results"))}return null}},{key:"render",value:function(){var e=this.props,t=e.limitSelector,n=e.goToPage,r=e.changePage,o=e.changeLimit,a=e.currentPage,i=e.pageSize,s=e.totalItems,l=e.id,c=Math.ceil(s/i),u=this.getResultsText(),d=t?f().createElement(dt,{changeLimit:o,pageSize:i}):null,p=n?f().createElement(ft,{changePage:r,totalPages:c,id:l}):null;return!t&&c<=1?null:f().createElement("div",{className:"usa-dt-pagination"},u,f().createElement("div",{className:"usa-dt-pagination__wrapper"},d,f().createElement(st,{changePage:r,totalItems:s,currentPage:a,pageSize:i}),p))}}]),s}(f().Component);ht.propTypes=mt,ht.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function(){},goToPage:!1};var vt=s(713),gt=s.n(vt),bt=s(38),yt=s.n(bt);function _t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Et(e){for(var t=1;tt.name?1:0},Nt=function(e){var t=e.className,n=void 0===t?"":t,r=e.id,o=void 0===r?"":r,a=e.options,i=e.selectedOption,s=e.icon,l=void 0===s?null:s,c=e.sortFn,u=void 0===c?Ot:c,d=e.isFixedWidth,m=void 0!==d&&d,h=e.children,v=e.dropdownDirection,g=void 0===v?"right":v,y=e.backgroundColor,_=void 0===y?"#1a4480":y,E=(0,p.useRef)(null),x=(0,p.useRef)(null),w=(0,p.useState)(!1),O=yt()(w,2),N=O[0],k=O[1],C=(0,p.useState)({top:0,width:0,left:0,right:0}),S=yt()(C,2),T=S[0],P=S[1],j=function(){x.current&&E.current&&P({top:x.current.offsetHeight,width:x.current.offsetWidth,left:x.current.offsetLeft,right:E.current.offsetWidth-(x.current.offsetWidth+x.current.offsetLeft)})};return(0,p.useEffect)((function(){0!==T.width&&m&&x.current&&x.current.offsetWidth!==T.width&&j()})),(0,p.useEffect)((function(){var e=function(e){N&&E.current&&!E.current.contains(e.target)&&e.target.id!=="".concat(o,"-").concat(xt)&&e.target.parentNode.id!=="".concat(o,"-").concat(xt)&&k(!1)};return j(),document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}),[N]),f().createElement("div",{id:o,className:"usa-dt-picker ".concat(n),ref:E,style:{backgroundColor:_}},f().createElement("div",{className:"usa-dt-picker__dropdown-container",style:{backgroundColor:_}},f().createElement("button",{style:{backgroundColor:_},ref:x,"aria-label":"Dropdown Toggle Button",className:"usa-dt-picker__button",onClick:function(e){e.preventDefault(),k(!N)}},l&&f().createElement("div",{className:"usa-dt-picker__icon"},l),h?f().createElement(f().Fragment,null,h):f().createElement(f().Fragment,null,f().createElement("span",{className:"usa-dt-picker__button-text",style:{backgroundColor:_}},i),f().createElement("span",{className:"usa-dt-picker__button-icon"},!N&&f().createElement(ot,{id:"".concat(o,"-").concat(xt),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),N&&f().createElement(ot,{id:"".concat(o,"-").concat(xt),icon:"chevron-up",alt:"Toggle menu",color:"#555"})))),f().createElement("ul",{className:"usa-dt-picker__list ".concat(N?"":"hide"),style:function(){var e={top:"".concat(T.top,"px"),left:"".concat(T.left,"px")};return m&&"right"===g?Et(Et({},e),{},{width:"".concat(T.width,"px")}):m&&"left"===g?{top:e.top,right:"".concat(T.right),width:"".concat(T.width,"px")}:"left"===g?{top:e.top,right:"".concat(T.right,"px")}:e}()},a.sort((function(e,t){return u(e,t,i)})).map((function(e){return Et(Et({},e),{},{onClick:(t=e.onClick,function(e){t(e),k(!1)})});var t})).map((function(e){return f().createElement("li",{key:(0,b.uniqueId)(),className:"usa-dt-picker__list-item ".concat(null!=e&&e.classNames?e.classNames:"")},f().createElement("button",{className:"usa-dt-picker__item ".concat(e.name===i?"active":""),value:"".concat(e.value||e.name),onClick:function(t){t.preventDefault(),e.onClick(e.value)}},e.component?e.component:e.name))})))))};Nt.propTypes=wt;const kt=Nt;var Ct={disabled:h().bool,active:h().bool,showPeriods:h().bool,quarter:h().string,handleSelection:h().func,handleHover:h().func,handleBlur:h().func,toggleTooltip:h().func,title:h().string},St=function(e){var t=e.disabled,n=e.active,r=e.quarter,o=e.handleSelection,a=e.toggleTooltip,i=e.title,s=void 0===i?"":i,l=e.handleHover,c=e.handleBlur,u=e.showPeriods,d=void 0!==u&&u,p=s||"Q ".concat(r),m=function(){t?a(r):l(r,d?"period":"quarter")},h=function(){a(0),c(d?"period":"quarter")},v=function(e){e.preventDefault(),t||o(r)},g=t?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===r?g+="usa-dt-quarter-picker__quarter_first":"4"===r?g+="usa-dt-quarter-picker__quarter_last":s.includes("-")&&(g+="usa-dt-quarter-picker__quarter_double"),!t&&n&&(g+=" usa-dt-quarter-picker__quarter_active"),f().createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(g),onMouseDown:v,onClick:v,onMouseOver:m,onMouseEnter:m,onFocus:m,onMouseLeave:h,onBlur:h,"aria-disabled":t},p)};St.propTypes=Ct;const Tt=St;var Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,p.useState)(e),n=yt()(t,2),r=n[0],o=n[1],a=function(e){var t=parseInt(e,10),n=r.map((function(e){return parseInt(e,10)})).filter((function(e){return e<=t})).map((function(e){return"".concat(e)}));o(n.concat([e]))};return[r,a]},jt=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],Mt=function(e,t){return t.some((function(t){return parseInt(t,10)>=parseInt(e,10)}))},Rt={handleSelection:h().func,selectedQuarters:h().arrayOf(h().string),disabledQuarters:h().arrayOf(h().string),selectedPeriods:h().arrayOf(h().string),disabledPeriods:h().arrayOf(h().string),periodsPerQuarter:h().arrayOf(h().arrayOf(h().shape({title:h().string,id:h().string}))),showPeriods:h().bool,isCumulative:h().bool},zt=function(e){var t=e.handleSelection,n=e.disabledQuarters,r=void 0===n?[]:n,o=e.disabledPeriods,a=void 0===o?[]:o,i=e.periodsPerQuarter,s=void 0===i?jt:i,l=e.selectedQuarters,c=void 0===l?[]:l,u=e.selectedPeriods,d=void 0===u?[]:u,m=e.showPeriods,h=void 0!==m&&m,v=e.isCumulative,g=void 0!==v&&v,y=(0,p.useState)(""),_=yt()(y,2),E=_[0],x=_[1],w=(0,p.useState)(""),O=yt()(w,2),N=O[0],k=O[1],C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter";"quarter"===t?k(e):x(e)},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter";"quarter"===e?k(""):x("")};return f().createElement("div",{className:"usa-dt-quarter-picker"},f().createElement("ul",{className:"usa-dt-quarter-picker__list"},new Array(4).fill(0).map((function(e,n){var o=n+1,i="".concat(o);if(h){var l=s[n],u=l.every((function(e){return a.includes(e.id)}));return f().createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:(0,b.uniqueId)()},f().createElement("p",{className:u?"disabled":""},"Q".concat(o)),f().createElement("ul",{className:"usa-dt-quarter-picker__period-list"},l.map((function(e){return f().createElement("li",{className:Object.keys(e).includes("className")?"".concat(e.className," usa-dt-quarter-picker__list-item"):"usa-dt-quarter-picker__list-item",key:(0,b.uniqueId)()},f().createElement(Tt,{showPeriods:h,quarter:e.id,title:e.title,disabled:a.includes(e.id),active:Mt(e.id,d)||parseInt(E,10)>=parseInt(e.id,10),handleHover:C,handleBlur:S,handleSelection:t,toggleTooltip:function(){}}))}))))}return f().createElement("li",{className:"usa-dt-quarter-picker__list-item",key:(0,b.uniqueId)()},f().createElement(Tt,{quarter:i,disabled:r.includes(i),active:g?Mt(i,c)||parseInt(N,10)>=o:c.includes(i)||N===i,handleSelection:t,handleHover:C,handleBlur:S,toggleTooltip:function(){}}))}))))};zt.propTypes=Rt;const It=zt;s(670);var Dt={onSearch:h().func,minChars:h().number,isDisabled:h().bool,throttleOnChange:h().number,inputTitle:h().string,placeholder:h().string},qt=function(e){var t=e.onSearch,n=e.minChars,r=e.isDisabled,o=e.throttleOnChange,a=e.inputTitle,i=e.placeholder,s=(0,p.useState)(""),l=yt()(s,2),c=l[0],u=l[1],d=(0,p.useState)(""),m=yt()(d,2),h=m[0],v=m[1],g=function(){u(""),t(""),v("")},y=(0,b.throttle)((function(e){return function(e,t){return!(!t||e.target.value)}(e,h)?g():u(e.target.value)}),o),_="search";return(c&&h===c||h&&c.length=0||(o[n]=e[n]);return o}function Gt(){return Gt=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:t;s(n,e.target.value)},currentSort:i,title:t,displayName:a}))))};Cn.propTypes=kn;const Sn=Cn;var Tn={prefix:"fas",iconName:"angle-double-right",icon:[448,512,[],"f101","M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"]},Pn={prefix:"fas",iconName:"check-circle",icon:[512,512,[],"f058","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"]},jn={prefix:"fas",iconName:"file-download",icon:[384,512,[],"f56d","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm76.45 211.36l-96.42 95.7c-6.65 6.61-17.39 6.61-24.04 0l-96.42-95.7C73.42 337.29 80.54 320 94.82 320H160v-80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v80h65.18c14.28 0 21.4 17.29 11.27 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"]},Mn={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"]},Rn={columns:h().arrayOf(h().object).isRequired,rows:h().arrayOf((0,m.oneOfType)([h().array,h().object])).isRequired,expandable:h().bool,divider:h().string,onClickHandler:h().func,isMobile:h().bool},zn=function(e){var t=e.columns,n=e.rows,r=e.expandable,o=e.divider,a=e.onClickHandler,i=e.isMobile,s=(0,p.useState)(!1),l=yt()(s,2),c=l[0],u=l[1],d=(0,p.useState)(),m=yt()(d,2),h=m[0],v=m[1],g=function(e,t){i&&!c?(u(!0),v(t)):i&&c&&h===t?(a(e),u(!1)):i&&c&&h!==t?v(t):i||a(e)};return f().createElement(f().Fragment,null,n.map((function(e,n){var a=n%2==0?"":" usda-table__row_odd";return r?f().createElement(On,{key:(0,b.uniqueId)(),data:e,oddClass:a,columns:t,divider:o}):f().createElement("tr",{key:(0,b.uniqueId)(),tabIndex:0,onClick:function(){return g(e,n)},onKeyUp:function(t){"Enter"===t.key&&(t.preventDefault(),g(e,n))},className:"usda-table__row-item usda-table__row".concat(a)},e.map((function(e,r){var o,a;return null!==(o=t[r])&&void 0!==o&&o.bodyHeader?f().createElement(Sn,Ft()({className:"table-header_body-header",key:(0,b.uniqueId)()},e)):f().createElement("td",{key:(0,b.uniqueId)(),className:"usda-table__cell".concat(null!==(a=t[r])&&void 0!==a&&a.right?" usda-table__cell_right":"")},t[r]&&f().createElement("div",{className:"usda-table__cell-heading-container"},i&&f().createElement("div",{className:"usda-table__cell-heading"},t[r].displayName),i&&c&&0===r&&h===n&&f().createElement("div",{className:"usda-table__cell-message"},"View next level"," ",f().createElement(ot,{icon:Tn,color:"#2378c3"}))),e)})))})))};zn.propTypes=Rn;const In=zn;function Dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qn(e){for(var t=1;tr?t:r;return o<425?o-10:"bottom"===n.props.tooltipPosition?n.props.width:n.props.wide?a>800?700:a-5:n.props.width})),gt()(ct()(n),"getDimensionsForMobile",(function(e,t){return e?{top:"".concat(n.tooltipContainer.clientHeight+n.tooltipContainer.offsetTop+8,"px"),width:t,left:"".concat(n.tooltipContainer.clientWidth/2-8,"px")}:Vn(Vn({},n.state.spacerStyles),{},{width:t})})),n.state={showTooltip:!1,isHoveringOnTooltip:!1,offsetTop:0,arrowDirection:"left",spacerStyles:{}},n.showTooltip=n.showTooltip.bind(ct()(n)),n.closeTooltip=n.closeTooltip.bind(ct()(n)),n.setTooltipDimensions=(0,b.throttle)(n.setTooltipDimensions.bind(ct()(n)),16),n}return r()(s,[{key:"componentDidMount",value:function(){this.setTooltipDimensions(),window.addEventListener("scroll",(0,b.throttle)(this.setTooltipDimensions,500)),window.addEventListener("resize",(0,b.throttle)(this.setTooltipDimensions,100))}},{key:"componentDidUpdate",value:function(){this.setTooltipDimensions()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.setTooltipDimensions),window.removeEventListener("resize",this.setTooltipDimensions)}},{key:"getAvailableHorizontalSpace",value:function(){var e=window.innerWidth,t=this.tooltipContainer,n=t.offsetLeft;return{right:e-n-t.clientWidth,left:n,total:e}}},{key:"setTooltipDimensions",value:function(){if(Object.keys(this.props.styles).includes("transform")&&this.tooltipContainer)"bottom"===this.props.tooltipPosition?this.setState({arrowDirection:"bottom",spacerStyle:{width:this.getTooltipWidth()}}):this.setState({spacerStyle:{width:this.getTooltipWidth()}});else if(this.tooltipContainer){var e=this.getTooltipWidth(),t=this.getAvailableHorizontalSpace(),n=t.left,r=t.total,o=t.right,a=this.tooltipContainer.offsetTop+this.props.offsetAdjustments.top,i=r<700;if("bottom"===this.props.tooltipPosition||i)this.setState({arrowDirection:"bottom",spacerStyle:Vn({},this.getDimensionsForMobile(i,e))});else if("right"===this.props.tooltipPosition&&o1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[13,32];return function(r){n.includes(r.keyCode)&&e.apply(void 0,Jn()(t))}},er={label:h().string.isRequired,internal:h().string,labelContent:h().element,active:h().bool,enabled:h().bool,switchTab:h().func,className:h().string,tooltip:h().object,count:h().number,tablessStyle:h().bool},tr=function(e){var t=(0,p.useRef)(null),n=function(){var n,r;e.enabled&&(null!=t&&t.current&&null!==(n=t.current)&&void 0!==n&&n.scrollIntoView&&(null===(r=t.current)||void 0===r||r.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})),e.switchTab(e.internal))},r=Zn(n);return f().createElement("div",{className:"usa-dt-tab__wrapper".concat(e.enabled?"":" disabled").concat(e.tablessStyle?" tabless-tab":"").concat(e.active?" active":"")},f().createElement("div",{className:"usa-dt-tab".concat(e.active?" active":""," ").concat(e.className||"").concat(e.enabled?"":" disabled"),ref:t,onClick:n,onKeyDown:r,role:"tab",title:"Show ".concat(e.label),"aria-label":"Show ".concat(e.label),tabIndex:0,disabled:!e.enabled},f().createElement("div",{className:"usa-dt-tab__content"},f().createElement("div",{className:"usa-dt-tab__label"},f().createElement("div",{className:"usa-dt-tab__label-text"},e.label),e.count>=0&&f().createElement("div",{"aria-label":"Count of ".concat(w(e.count)," for ").concat(e.label),className:"count".concat(e.active?" active":"")},w(e.count)),e.tooltip&&f().createElement(Xn,{tooltipComponent:f().createElement(Kn,{title:e.label},e.tooltip),icon:"info"})))))};tr.propTypes=er;const nr=tr;s(78);var rr={types:h().arrayOf(h().shape({label:h().string.isRequired,internal:h().string.isRequired,count:h().number,disabled:h().bool,tooltip:h().element})).isRequired,active:h().string.isRequired,switchTab:h().func.isRequired,tabsClassName:h().string,tablessStyle:h().bool},or=function(e){var t=e.types,n=e.active,r=e.switchTab,o=e.tabsClassName,a=e.tablessStyle,i=t.map((function(e){return f().createElement(nr,Ft()({},e,{active:n===e.internal,switchTab:r,key:"table-type-item-".concat(e.internal),enabled:!e.disabled,className:o,tooltip:e.tooltip,tablessStyle:a}))}));return f().createElement("div",{className:"usa-dt-tab-list".concat(a?" tabless-tabs":""),role:"tablist"},!a&&f().createElement("div",{className:"usa-dt-tab-list__border-pre-filler"}),i,f().createElement("div",{className:"usa-dt-tab-list__border-post-filler"}))};or.propTypes=rr;const ar=or;s(470);const ir=function(e){var t=e.className;return f().createElement(Wt,{className:"coming soon ".concat(t),title:"Coming Soon",description:"This feature is currently under development."})};var sr=function(e,t,n){if(0!==e&&!e)return null;var r=t?function(e){return g().formatMoney(e,y)}(e):w(e);if(Math.abs(e)>x){var o=function(e){var t=Math.abs(e),n=1,r="",o="";return t>=_?(n=_,r="T",o="trillion"):t>=E?(n=E,r="B",o="billion"):t>=x?(n=x,r="M",o="million"):t>=1e3&&(n=1e3,r="k",o="thousand"),{unit:n,unitLabel:r,longLabel:o}}(e);r="".concat(t?function(e,t){var n=Object.assign({},y,{precision:t});return g().formatMoney(e,n)}(e/o.unit,2):O(e/o.unit,2)," ").concat(n?(0,b.startCase)(o.longLabel):o.unitLabel)}return r},lr={2:"two",3:"three",4:"four"};s(350);var cr={boxes:h().arrayOf(h().shape({type:h().string.isRequired,title:h().oneOfType([h().string,h().element]),amount:h().number,isMonetary:h().bool,subtitle:h().string,subtitleBottom:h().string,isLoading:h().bool}))},ur=function(e){var t=e.boxes,n=(0,p.useState)(window.innerWidth>1200),r=yt()(n,2),o=r[0],a=r[1],i=(0,b.throttle)((function(){return a(window.innerWidth>1200)}));return(0,p.useEffect)((function(){return i(),window.addEventListener("resize",i),function(){return window.removeEventListener("resize",i)}}),[]),f().createElement("div",{className:"usa-dt-information-boxes ".concat(lr[t.length],"-boxes")},t.map((function(e){return f().createElement("div",{key:e.type,className:"usa-dt-information-box"},f().createElement("div",{className:"usa-dt-information-box__divider"},f().createElement("div",{className:"usa-dt-information-box__content".concat(e.subtitle?" with-subtitle":"")},f().createElement("div",{className:"usa-dt-information-box__title"},e.title),e.subtitle&&f().createElement("div",{className:"usa-dt-information-box__subtitle"},e.subtitle),f().createElement("div",{className:"usa-dt-information-box__amount".concat(e.isLoading?" loading":"")},e.isLoading&&f().createElement("div",{className:"dot-pulse"}),!e.isLoading&&sr(e.amount,e.isMonetary,o)),e.subtitleBottom&&f().createElement("div",{className:"usa-dt-information-box__subtitle-bottom"},e.subtitleBottom))))})))};ur.propTypes=cr;const dr=ur;s(738);var pr={isControlled:!1,toggleExpand:function(){},isExpanded:!1},fr=function(e){var t=e.title,n=e.icon,r=e.children,o=e.id,a=void 0===o?"":o,i=e.classNames,s=void 0===i?"":i,l=e.isCollapsible,c=void 0!==l&&l,u=e.isComingSoon,d=void 0!==u&&u,m=e.controlledProps,h=void 0===m?pr:m,v=e.defaultExpandedState,g=void 0===v||v,b=e.overLine,y=void 0===b?"":b,_=e.titleTooltip,E=void 0===_?{tooltip:null,tooltipProps:{}}:_,x=e.descTooltip,w=void 0===x?{component:null,props:{}}:x,O=e.description,N=(0,p.useState)(g),k=yt()(N,2),C=k[0],S=k[1],T=function(){h.isControlled?h.toggleExpand():S(!C)},P=C||h.isControlled&&h.isExpanded||!c;return f().createElement("section",{id:a,className:"usda-section__container".concat(s?" ".concat(s):"")},f().createElement("div",{className:"usda-section-title__container"},n&&f().cloneElement(n,{className:"usda-section-title__title-icon"}),f().createElement("div",{className:"usda-section-title__header"},y&&f().createElement("strong",{className:"usda-section-title__overline"},y),f().createElement("div",{className:"usda-section-title__title"},f().createElement("h3",null,t),E.component&&f().createElement(Xn,Ft()({tooltipComponent:E.component,icon:"info",className:"".concat(y?"has-overline":"")},E.props)))),O&&f().cloneElement(O,{className:"usda-section-title__desc has-overline"}),w.component&&f().createElement(Xn,Ft()({tooltipComponent:w.component,icon:"info",tooltipPosition:"left"},w.props)),c&&f().createElement(ot,{tabIndex:0,onKeyDown:Zn(T),className:"usda-section-title__expand-icon",onClick:T,size:"2x",icon:C||h.isControlled&&h.isExpanded?"chevron-up":"chevron-down"})),f().createElement("hr",null),d&&P&&f().createElement(ir,null),P&&!d&&r)};fr.propTypes={icon:h().element.isRequired,children:h().element.isRequired,title:h().string.isRequired,defaultExpandedState:h().bool,overLine:h().string,controlledProps:h().shape({isControlled:h().bool.isRequired,toggleExpand:h().func.isRequired,isExpanded:h().bool.isRequired}),description:h().element,titleTooltip:h().shape({component:h().element,props:h().object}),descTooltip:h().shape({component:h().element,props:h().object}),isCollapsible:h().bool,isComingSoon:h().bool,classNames:h().string,id:h().string};const mr=fr;s(27);var hr={items:h().arrayOf(h().element)},vr=function(e){var t=e.items,n=(0,p.useState)(1),r=yt()(n,2),o=r[0],a=r[1],i=(0,p.useState)(!1),s=yt()(i,2),l=s[0],c=s[1],u=(0,p.useRef)(null),d=(0,p.useRef)(0),m=(0,p.useRef)((0,b.uniqueId)()),h=(0,p.useRef)(null),v=(0,p.useRef)(null),g=function(e){return a(e)},y=function(){return g(o)};(0,p.useEffect)((function(){return window.addEventListener("resize",y),function(){return window.removeEventListener("resize",y)}}),[]),(0,p.useEffect)((function(){var e,n;l||g((e=v.current.offsetWidth,(n=Math.round(-1*d.current/e)+1)>t.length?1:n<1?t.length:n))}),[l]),(0,p.useEffect)((function(){if(h.current&&v.current){var e=v.current.offsetWidth,t=(o-1)*e*-1;d.current=t,h.current.style.transform="translate(".concat(t,"px, 0px)")}}));var _=function(){u.current=null,c(!1)},E=function(){return _()},x=function(e){var t=e-u.current;u.current=e,d.current+=t,h.current.style.transform="translate(".concat(d.current,"px, 0px)")},w=function(){l&&_()},O=function(e){e.preventDefault(),g(parseInt(e.target.value,10))};return f().createElement("div",{className:"usa-dt-carousel","aria-describedby":"".concat(m.current,"-instructions")},f().createElement("div",{id:"".concat(m.current,"-instructions"),className:"usa-dt-carousel__instructions","aria-live":"polite"},"An image carousel containing ","".concat(t.length," item").concat(1!==t.length?"s":""),", with item ",o," shown."),f().createElement("div",{className:"usa-dt-carousel-content"},f().createElement("div",{className:"usa-dt-carousel-item",onTouchStart:function(){return c(!0)},onTouchMove:function(e){if(l&&e.touches&&e.touches.length&&h){var t=e.touches[0];null===u.current?u.current=t.pageX:x(t.pageX)}},onTouchEnd:E,onTouchCancel:E,onMouseDown:function(e){e.preventDefault(),c(!0)},onMouseUp:w,onMouseLeave:w,onMouseMove:function(e){l&&(null===u.current?u.current=e.pageX:x(e.pageX))},role:"presentation",ref:v},f().createElement("div",{className:"usa-dt-carousel-item__list ".concat(l?"usa-dt-carousel-item__list_dragging":""),"aria-live":"polite",ref:h},t.map((function(e,t){return f().createElement("div",{className:"usa-dt-carousel-item__list-item",key:"".concat(t,"-the-list-item"),"aria-hidden":o!==t+1,tabIndex:-1},(0,p.cloneElement)(e,{className:"usa-dt-carousel-item__item"}))}))))),f().createElement("div",{className:"usa-dt-carousel-pager"},f().createElement("div",{className:"usa-dt-carousel-pager__list",role:"menu","aria-label":"Pagination controls for carousel items"},t.map((function(e,t){return f().createElement("button",{className:"usa-dt-carousel-pager__dot-button ".concat(t+1===o?"usa-dt-carousel-pager__dot-button_active":""),value:t+1,key:"".concat(t,"-list-item"),onClick:O,"aria-label":"Skip to carousel item ".concat(t+1),"aria-checked":t+1===o,role:"menuitemradio"},f().createElement("div",{className:"usa-dt-carousel-pager__dot-decorator"}))})))))};vr.propTypes=hr;const gr=vr;var br=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,p.useState)(0),r=yt()(n,2),o=r[0],a=r[1],i=(0,p.useState)(!1),s=yt()(i,2),l=s[0],c=s[1];return[l,o,c,(0,b.throttle)((function(){var e=window.scrollY||document.documentElement.scrollTop;t&&e>=t&&!l||!t&&e>=o&&!l?c(!0):(e<=t||e<=o)&&c(!1)}),100),(0,b.throttle)((function(){var t=e.current?e.current.offsetTop:0;a(t)}),100)]};s(171);var yr=function(e){var t=e.title,n=e.overLine,r=void 0===n?"":n,o=e.stickyBreakPoint,a=void 0===o?0:o,i=e.toolBar,s=void 0===i?[]:i,l=e.backgroundColor,c=void 0===l?"#1a4480":l,u=(0,p.useRef)(null),d=br(u,a),m=yt()(d,5),h=m[0],v=m[3],g=m[4];(0,p.useEffect)((function(){return g(),window.addEventListener("scroll",v),window.addEventListener("resize",g),function(){window.removeEventListener("scroll",v),window.removeEventListener("resize",g)}}));var b,y,_=h?" usda-page-header--sticky":"";return f().createElement("section",{className:"usda-page-header".concat(_),ref:u,style:{backgroundColor:c}},f().createElement("div",{className:"usda-page-header__container"},f().createElement("div",{className:"usda-page-header__mobile-top"},f().createElement("div",{className:"usda-page-header__header"},r&&f().createElement("strong",{className:"usda-page-header__overline"},r),f().createElement("div",{className:"usda-page-header__title"},f().createElement("h1",null,t))),(y=null==s?void 0:s.find((function(e){return"Share Icon"===(null==e?void 0:e.type.displayName)})))?f().cloneElement(y):null,(b=null==s?void 0:s.find((function(e){return"ATDButton"===(null==e?void 0:e.type.displayName)})))?f().cloneElement(b):null),(null==s?void 0:s.length)>0&&f().createElement("div",{className:"usda-page-header__toolbar"},s.map((function(e){var t,n,r,o="".concat(null===(t=e.props)||void 0===t?void 0:t.className," ").concat(null===(n=e.props)||void 0===n?void 0:n.classNames),a="".concat(null===(r=e.props)||void 0===r?void 0:r.classNames);return o?f().cloneElement(e,{className:"".concat(o," toolbar__item")}):a?f().cloneElement(e,{classNames:"".concat(a," toolbar__item")}):f().cloneElement(e,{className:"toolbar__item",classNames:"toolbar__item"})})))))};yr.propTypes={stickyBreakPoint:h().number,overLine:h().string,title:h().string.isRequired,toolBar:h().arrayOf(h().element)};const _r=yr;s(161);var Er={onClick:h().func.isRequired,downloadInFlight:h().bool,tooltipComponent:h().element,isEnabled:h().bool,tooltipPosition:h().string},xr=function(e){var t=e.onClick,n=e.downloadInFlight,r=e.tooltipComponent,o=void 0===r?null:r,a=e.tooltipPosition,i=void 0===a?"left":a,s=e.isEnabled,l=void 0===s||s,c=e.backgroundColor,u=void 0===c?"#1a4480":c,d=function(e){e.preventDefault(),!n&&l&&t()},p=n||!l?" disabled":"",m=n?"Preparing Download...":"Download",h=n?Mn:jn;return o?f().createElement(Xn,{className:"usda-download-btn".concat(p),tooltipPosition:i,tooltipComponent:o},f().createElement("button",{className:"usda-button",title:m,"aria-label":m,disabled:n,onClick:d,style:{backgroundColor:u}},f().createElement(ot,{icon:h,spin:n,color:"#dfe1e2"})),f().createElement("span",{style:{color:"#dfe1e2"}},m)):f().createElement("div",{className:"usda-download-btn".concat(p)},f().createElement("button",{className:"usda-button",title:m,"aria-label":m,disabled:n,onClick:d,style:{backgroundColor:u}},f().createElement(ot,{icon:h,spin:n})),f().createElement("span",null,m))};xr.displayName="Download Icon Button",xr.propTypes=Er;const wr=xr;var Or={prefix:"far",iconName:"calendar-alt",icon:[448,512,[],"f073","M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]};function Nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kr(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:2008,t=arguments.length>1?arguments[1]:void 0;return Jn()(new Array(t-e)).reduce((function(t,n,r){return t.push(e+r+1),t}),[e]).sort((function(e,t){return t-e}))}(i,n).map((function(e){return{name:"FY ".concat(e),value:"".concat(e),onClick:u}})):[{name:"Loading fiscal years...",value:null,onClick:function(){}}]}),f().createElement("span",null,"Fiscal Year"))};Sr.displayName="Fiscal Year Picker",Sr.propTypes={backgroundColor:h().string,selectedFy:h().oneOfType([h().number,h().string]),earliestFy:h().number,latestFy:h().number,options:h().arrayOf(h().shape({name:h().oneOfType([h().string,h().number]),value:h().oneOfType([h().string,h().number])})),handleFyChange:h().func,sortFn:h().func};const Tr=Sr;var Pr=function(e){var t=e.icon,n=e.title;return f().createElement(f().Fragment,null,f().createElement(ot,{icon:t,color:"#555",size:"sm"}),f().createElement("span",null,n))},jr=[{component:f().createElement(Pr,{icon:{prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},title:"Copy link"}),name:"copy"},{component:f().createElement(Pr,{icon:{prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]},title:"Email"}),name:"email"},{component:f().createElement(Pr,{icon:{prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},title:"Twitter"}),name:"twitter"},{component:f().createElement(Pr,{icon:{prefix:"fab",iconName:"facebook-square",icon:[448,512,[],"f082","M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"]},title:"Facebook"}),name:"facebook"},{component:f().createElement(Pr,{icon:{prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},title:"LinkedIn"}),name:"linkedin"},{component:f().createElement(Pr,{icon:{prefix:"fab",iconName:"reddit-square",icon:[448,512,[],"f1a2","M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"]},title:"Reddit"}),name:"reddit"}];function Mr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rr(e){for(var t=1;t