!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"));else if("function"==typeof define&&define.amd)define(["React"],t);else{var r="object"==typeof exports?t(require("react")):t(e.React);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t,r){e.exports=r(2)()},function(t,r){t.exports=e},function(e,t,r){"use strict";var n=r(3);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){},function(e,t,r){"use strict";r.r(t),r.d(t,"AppRoutes",(function(){return d})),r.d(t,"NavList",(function(){return j})),r.d(t,"redirectToRoute",(function(){return b}));var n=r(1),o=r.n(n),a=r(0),i=r.n(a);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){return(f="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})(e)}function p(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(i)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!1},n=e||{},a=n.location,i=n.Redirect,u=r();return u?o.a.createElement(i,{to:{pathname:t,state:{from:a}}}):null},v=function e(t){var r,n=t.route,a=t.redirect,i=t.routes,s=void 0===i?[]:i,b=y(t,["route","redirect","routes"]),v=p(s);try{var d=function(){var t=r.value,i=t.path,f=t.component,p=t.routes,s=t.exact,y=t.redirect,v=((b||{}).location||{}).pathname,d=p&&p.length,m=v===i,O=d&&v&&v.includes(i),g=y?y(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},b,{Redirect:a})):null;if(m||O)return{v:o.a.createElement(n,{path:i,key:i,exact:s,render:function(t){return g||o.a.createElement(o.a.Fragment,null,o.a.createElement(f,u({},t,{routes:p})),d&&o.a.createElement(e,u({},t,{routes:p,route:n,redirect:a})))}})}};for(v.s();!(r=v.n()).done;){var m=d();if("object"===f(m))return m.v}}catch(e){v.e(e)}finally{v.f()}return null};v.propTypes={routes:i.a.arrayOf(i.a.shape({pageType:i.a.string,title:i.a.node,path:i.a.string,component:i.a.any,exact:i.a.bool,redirect:i.a.func}))};var d=v,m=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((function(e){return!!e})).join(" ")},O=function(e){var t=e.route,r=void 0===t?{}:t,n=e.children,a=void 0===n?null:n,i=e.navLink,u=r.path,c=r.title,l=r.pageType,f=l&&l.toLowerCase().replace("_","-");return o.a.createElement("li",{className:m("nav-list__item",f)},o.a.createElement(i,{exact:!0,to:u,className:"nav-list__link",activeClassName:"nav-list__link--active"},c),a)};O.propTypes={route:i.a.shape({pageType:i.a.string,path:i.a.string,title:i.a.node}),children:i.a.node};var g=O,h=function e(t){var r=t.routes,n=void 0===r?[]:r,a=t.className,i=t.isSubNav,u=t.navLink;return o.a.createElement("ul",{className:m("nav-list",a&&a,i&&"nav-list--sub-nav")},n.map((function(t){var r=t.path,n=t.routes,a=n&&n.length;return o.a.createElement(g,{key:r,route:t,navLink:u},a&&o.a.createElement(e,{routes:n,navLink:u,isSubNav:!0}))}),e))};h.propTypes={routes:i.a.arrayOf(i.a.shape({pageType:i.a.string,title:i.a.node,path:i.a.string,component:i.a.any,exact:i.a.bool,redirect:i.a.func})),className:i.a.string,isSubNav:i.a.bool};var j=h;r(4)}])}));