-
Notifications
You must be signed in to change notification settings - Fork 0
/
3.bbd7bd94c1b6f2a58c01.chunk.js
73 lines (73 loc) · 95.8 KB
/
3.bbd7bd94c1b6f2a58c01.chunk.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
webpackJsonp([3],{"./app/components/AutoCompSearchList/H3.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js");o.a.h3.withConfig({displayName:"H3__H3"})(["margin-top: 0;"])},"./app/components/AutoCompSearchList/InnerWrapper.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.div.withConfig({displayName:"InnerWrapper__InnerWrapper"})(["background-color: #FFF;border: 1px solid #EAEAEA;padding: 10px;font-size: 1.3em;"]);t.a=r},"./app/components/AutoCompSearchList/Wrapper.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.div.withConfig({displayName:"Wrapper__Wrapper"})(["position: absolute;left: 0;top: 70px;width: 100%;margin: 0 auto;padding: 0 70px 0 10px;z-index: 100;"]);t.a=r},"./app/components/AutoCompSearchList/index.js":function(e,t,n){"use strict";function o(e){var t=e.loading,n=e.error,o=e.results,r=e.query;if(t)return f;if(!1!==n){var i=function(){return h};return p(s.a,{component:i})}return!1!==o?o.length<1?p(l.a,{},void 0,p(d.a,{style:{fontSize:".9em"}},void 0,'No results returned for "',r,'"')):p(l.a,{},void 0,p(d.a,{},void 0,p(s.a,{items:o,component:u.a}))):null}var r=n("./node_modules/react/react.js"),i=(n.n(r),n("./node_modules/prop-types/index.js")),s=(n.n(i),n("./app/components/List/index.js")),a=n("./app/components/ListItem/index.js"),c=n("./app/components/LoadingIndicator/index.js"),u=n("./app/components/HomeListItem/index.js"),l=(n("./app/components/AutoCompSearchList/H3.js"),n("./app/components/AutoCompSearchList/Wrapper.js")),d=n("./app/components/AutoCompSearchList/InnerWrapper.js"),p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,r){var i=t&&t.defaultProps,s=arguments.length-3;if(n||0===s||(n={}),n&&i)for(var a in i)void 0===n[a]&&(n[a]=i[a]);else n||(n=i||{});if(1===s)n.children=r;else if(s>1){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+3];n.children=c}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),f=p(s.a,{component:c.a}),h=p(a.a,{item:"Something went wrong, please try again!"});t.a=o},"./app/components/H2/index.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js");o.a.h2.withConfig({displayName:"H2__H2"})(["font-size: 1.5em;"])},"./app/components/HomeListItem/StyledLink.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=n("./node_modules/react-router-dom/index.js"),i=(n.n(r),n.i(o.a)(r.Link).withConfig({displayName:"StyledLink__StyledLink"})(["padding: 15px;width: 100%;display: block;&:hover {text-decoration: none;background-color: #f7f7f7;}"]));t.a=i},"./app/components/HomeListItem/Wrapper.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js");o.a.div.withConfig({displayName:"Wrapper__Wrapper"})(["width: 100%;height: 100%;display: flex;align-items: space-between;"])},"./app/components/HomeListItem/index.js":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n("./node_modules/react/react.js"),a=n.n(s),c=n("./node_modules/prop-types/index.js"),u=(n.n(c),n("./node_modules/react-redux/es/index.js")),l=n("./app/components/HomeListItem/StyledLink.js"),d=(n("./app/components/ListItem/index.js"),n("./app/components/HomeListItem/Wrapper.js"),function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,r){var i=t&&t.defaultProps,s=arguments.length-3;if(n||0===s||(n={}),n&&i)for(var a in i)void 0===n[a]&&(n[a]=i[a]);else n||(n=i||{});if(1===s)n.children=r;else if(s>1){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+3];n.children=c}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}()),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),f=function(e){function t(){return o(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),p(t,[{key:"render",value:function(){var e=this.props.item,t=d(l.a,{to:"dataset/"+e.doc.interra.id},void 0,e.doc.title);return d(function(e){return d("li",{},e.itemKey,e.item)},{itemKey:"repo-list-item-"+e.doc.interra.id,item:t})}}]),t}(a.a.PureComponent);t.a=n.i(u.b)()(f)},"./app/components/HomePageIconList/Wrapper.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.div.withConfig({displayName:"Wrapper__Wrapper"})(["padding: 20px 40px 60px 40px;display: flex;flex-direction: column;"]);t.a=r},"./app/components/HomePageIconList/index.js":function(e,t,n){"use strict";function o(e){var t=(e.loading,e.error),n=e.loadingHomePageIcons,o=e.homePageIcons,r=e.facetClick,i=function(e){var t=1;return 2===e?t=6:3===e?t=4:4===e?t=3:5!==e&&6!=e||(t=2),t}(o.length);if(n)return p;if(!1!==t){var c=function(){return f};return d(a.a,{component:c})}if(!1!==o){var u=o.map(function(e){return e.ref=e.identifier,e.columnWidth=i,e.click=r,e});return d(s.a,{},void 0,d(a.a,{items:u,component:l.a}))}return null}var r=n("./node_modules/react/react.js"),i=(n.n(r),n("./node_modules/prop-types/index.js")),s=(n.n(i),n("./app/components/HomePageIconList/Wrapper.js")),a=n("./app/components/List/index.js"),c=n("./app/components/ListItem/index.js"),u=n("./app/components/LoadingIndicator/index.js"),l=n("./app/containers/HomePageIconListItem/index.js"),d=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,r){var i=t&&t.defaultProps,s=arguments.length-3;if(n||0===s||(n={}),n&&i)for(var a in i)void 0===n[a]&&(n[a]=i[a]);else n||(n=i||{});if(1===s)n.children=r;else if(s>1){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+3];n.children=c}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),p=d(a.a,{component:u.a}),f=d(c.a,{item:"Something went wrong, please try again!"});t.a=o},"./app/components/List/Ul.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.ul.withConfig({displayName:"Ul__Ul"})(["list-style: none;margin: 0;width: 100%;padding: 0;"]);t.a=r},"./app/components/List/Wrapper.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.div.withConfig({displayName:"Wrapper__Wrapper"})(["padding: 0;margin: 0;"]);t.a=r},"./app/components/List/index.js":function(e,t,n){"use strict";function o(e){var t=e.component,n=u;return n=e.items?e.items.map(function(e){return c(t,{item:e},"item-"+e.ref)}):c(t,{}),c(a.a,{},void 0,c(s.a,{},void 0,n))}var r=n("./node_modules/react/react.js"),i=(n.n(r),n("./node_modules/prop-types/index.js")),s=(n.n(i),n("./app/components/List/Ul.js")),a=n("./app/components/List/Wrapper.js"),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,r){var i=t&&t.defaultProps,s=arguments.length-3;if(n||0===s||(n={}),n&&i)for(var a in i)void 0===n[a]&&(n[a]=i[a]);else n||(n=i||{});if(1===s)n.children=r;else if(s>1){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+3];n.children=c}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),u=c("div",{});t.a=o},"./app/components/ListItem/Item.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.div.withConfig({displayName:"Item__Item"})(["display: flex;justify-content: space-between;width: 100%;height: 100%;align-items: center;"]);t.a=r},"./app/components/ListItem/Wrapper.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.li.withConfig({displayName:"Wrapper__Wrapper"})(["width: 100%;padding: 1em 0;position: relative;"]);t.a=r},"./app/components/ListItem/index.js":function(e,t,n){"use strict";function o(e){return c(a.a,{},void 0,c(s.a,{},void 0,e.item))}var r=n("./node_modules/react/react.js"),i=(n.n(r),n("./node_modules/prop-types/index.js")),s=(n.n(i),n("./app/components/ListItem/Item.js")),a=n("./app/components/ListItem/Wrapper.js"),c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,r){var i=t&&t.defaultProps,s=arguments.length-3;if(n||0===s||(n={}),n&&i)for(var a in i)void 0===n[a]&&(n[a]=i[a]);else n||(n=i||{});if(1===s)n.children=r;else if(s>1){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+3];n.children=c}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}();t.a=o},"./app/containers/App/actions.js":function(e,t,n){"use strict";function o(e){return{type:r.d,error:e}}t.a=o;var r=n("./app/containers/App/constants.js")},"./app/containers/App/selectors.js":function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});var o=n("./node_modules/reselect/es/index.js"),r=function(e){return e.get("global")},i=function(){return n.i(o.a)(r,function(e){return e.get("loading")})},s=function(){return n.i(o.a)(r,function(e){return e.get("error")})}},"./app/containers/HomePage/AtPrefix.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js");o.a.span.withConfig({displayName:"AtPrefix__AtPrefix"})(["color: black;margin-left: 0.4em;"])},"./app/containers/HomePage/CenteredSection.js":function(e,t,n){"use strict";var o=n("./app/containers/HomePage/Section.js"),r=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n text-align: center;\n"],["\n text-align: center;\n"]);o.a.extend(r)},"./app/containers/HomePage/Hero.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r={name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}.fontConfig,i=r&&r.heroBackColor?r.heroBackColor:"rgb(31, 63, 95)",s=r&&r.heroPadding?r.heroPadding:"140px 0",a=r&&r.heroImageUrl?r.heroImageUrl:"",c=o.a.div.withConfig({displayName:"Hero__StyledHero"})(["padding: ",";background-color: ",';position: relative;display: block;&::after{content: "";background: url(',");opacity: 0.5;top: 0;left: 0;bottom: 0;right: 0;position: absolute;}"],s,i,a);t.a=c},"./app/containers/HomePage/Input.js":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n("./node_modules/react/react.js"),a=n.n(s),c=n("./node_modules/prop-types/index.js"),u=(n.n(c),n("./node_modules/react-router-dom/index.js")),l=(n.n(u),function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()),d=function(e){function t(){return o(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),l(t,[{key:"render",value:function(){return a.a.createElement("input",this.props)}}]),t}(a.a.PureComponent);d.PropTypes={}},"./app/containers/HomePage/SearchButton.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r={name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}.fontConfig,i=r&&r.heroSearchIconBackColor?r.heroSearchIconBackColor:"#030d17",s=r&&r.heroSearchIconBorderColor?r.heroSearchIconBorderColor:"#999",a=o.a.button.withConfig({displayName:"SearchButton__StyledSearchButton"})(["background-color: ",";height: 60px;width: 60px;border: ",";"],i,s);t.a=a},"./app/containers/HomePage/SearchContainer.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r={name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}.fontConfig,i=r&&r.heroSearchOutlineColor?r.heroSearchOutlineColor:"rgba(255, 255, 255, 0.25)",s=r&&r.heroSearchOutlineBorderColor?r.heroSearchOutlineBorderColor:"#656565",a=o.a.div.withConfig({displayName:"SearchContainer__StyledSearchContainer"})(["margin: 0 auto;position: relative;background-color: ",";padding: 10px !important;border-radius: 6px;border: 1px solid ",";"],i,s);t.a=a},"./app/containers/HomePage/Section.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.section.withConfig({displayName:"Section__Section"})(["margin: 3em auto;&:first-child {margin-top: 0;}"]);t.a=r},"./app/containers/HomePage/actions.js":function(e,t,n){"use strict";n("./app/containers/HomePage/constants.js")},"./app/containers/HomePage/constants.js":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o="boilerplate/Home/CHANGE_USERNAME"},"./app/containers/HomePage/index.js":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{loadIndex:function(){return e(n.i(v.m)())},clearResults:function(){return e(n.i(v.c)())},loadResults:function(t,o){return e(n.i(v.a)(t,o))},loadIcons:function(){return e(n.i(v.n)())},loadFacets:function(){return e(n.i(v.b)())}}}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"HomePage",function(){return C}),t.mapDispatchToProps=s;var a=n("./node_modules/react/react.js"),c=n.n(a),u=n("./node_modules/prop-types/index.js"),l=(n.n(u),n("./node_modules/react-helmet/lib/Helmet.js")),d=(n.n(l),n("./node_modules/react-intl/lib/index.es.js"),n("./node_modules/react-redux/es/index.js")),p=n("./node_modules/redux/es/index.js"),f=n("./node_modules/reselect/es/index.js"),h=n("./node_modules/react-router-dom/index.js"),m=(n.n(h),n("./app/utils/injectReducer.js")),y=n("./app/utils/injectSaga.js"),v=n("./app/containers/SearchPage/actions.js"),b=n("./app/containers/SearchPage/selectors.js"),g=n("./app/containers/App/selectors.js"),j=n("./app/components/AutoCompSearchList/index.js"),_=n("./app/components/HomePageIconList/index.js"),w=(n("./app/components/H2/index.js"),n("./app/containers/HomePage/AtPrefix.js"),n("./app/containers/HomePage/CenteredSection.js"),n("./app/containers/HomePage/Input.js"),n("./app/containers/HomePage/Section.js"),n("./app/containers/HomePage/Hero.js")),x=n("./app/containers/HomePage/SearchButton.js"),k=n("./app/containers/HomePage/SearchContainer.js"),S=(n("./app/containers/HomePage/messages.js"),n("./app/containers/App/actions.js"),n("./app/containers/HomePage/actions.js"),n("./app/containers/HomePage/selectors.js"),n("./app/containers/SearchPage/reducer.js")),F=n("./app/containers/SearchPage/saga.js"),B=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,r){var i=t&&t.defaultProps,s=arguments.length-3;if(n||0===s||(n={}),n&&i)for(var a in i)void 0===n[a]&&(n[a]=i[a]);else n||(n=i||{});if(1===s)n.children=r;else if(s>1){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+3];n.children=c}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),A=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),P=B("i",{className:"glyphicon glyphicon-search"}),I=B(l.Helmet,{},void 0,B("title",{},void 0,"Home")),C=function(e){function t(){return o(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.index,n=e.loadIndex,o=e.results,r=e.clearResults,i=e.loadIcons,s=e.homePageIcons;t||n(),o&&r(),s||i()}},{key:"queryEnter",value:function(e){var t=this.props,n=t.loadResults,o=t.clearResults;e.target.value.length>0?n(e.target.value,null):0==e.target.value.length&&o()}},{key:"letsGoToSearchOnlyIfYouPressEnter",value:function(e){if("Enter"===e.key)return void this.props.history.push("/search")}},{key:"letsGoToSearch",value:function(e){e.push("/search")}},{key:"letsGoToSearchWithFacet",value:function(e){(0,this.props.loadResults)(null,[["theme",e.target.getAttribute("data-facet-name")]])}},{key:"render",value:function(){var e=this,t=this.props,o=t.query,r=t.results,i=t.homePageIcons,s=t.loadingHomePageIcons,a=this.letsGoToSearchWithFacet.bind(this),u={results:r,loading:!1,query:o,error:!1},l={homePageIcons:i,loadingHomePageIcons:s,error:!1,facetClick:a},d=n.i(h.withRouter)(function(t){var n=t.history;return B(x.a,{className:"btn btn-info btn-lg",type:"button",onClick:function(){return e.letsGoToSearch(n)}},void 0,P)});return B("article",{},void 0,I,B(w.a,{className:"jumbotron"},void 0,B(k.a,{className:"input-group col-md-10"},void 0,B("input",{type:"text",onKeyPress:function(t){return e.letsGoToSearchOnlyIfYouPressEnter(t)},onChange:this.queryEnter.bind(this),style:{height:"60px"},className:"form-control input-lg",placeholder:"Search"}),B("span",{className:"input-group-btn"},void 0,B(d,{})),c.a.createElement(j.a,u))),c.a.createElement(_.a,l))}}]),t}(c.a.PureComponent),O=n.i(f.b)({query:n.i(b.a)(),index:n.i(b.l)(),loading:n.i(g.a)(),error:n.i(g.b)(),results:n.i(b.b)(),homePageIcons:n.i(b.m)(),loadingHomePageIcons:n.i(b.n)()}),L=n.i(d.b)(O,s),E=n.i(m.a)({key:"search",reducer:S.a}),T=n.i(y.a)({key:"search",saga:F.a});t.default=n.i(p.compose)(E,T,L)(C)},"./app/containers/HomePage/messages.js":function(e,t,n){"use strict";var o=n("./node_modules/react-intl/lib/index.es.js");n.i(o.d)({startProjectHeader:{id:"boilerplate.containers.HomePage.start_project.header",defaultMessage:"A lot more to come"},startProjectMessage:{id:"boilerplate.containers.HomePage.start_project.message",defaultMessage:"A highly scalable, offline-first foundation with the best DX and a focus on performance and best practices"},trymeHeader:{id:"boilerplate.containers.HomePage.tryme.header",defaultMessage:"Try me!"},trymeMessage:{id:"boilerplate.containers.HomePage.tryme.message",defaultMessage:"Show Github repositories by"},trymeAtPrefix:{id:"boilerplate.containers.HomePage.tryme.atPrefix",defaultMessage:"@"}})},"./app/containers/HomePage/selectors.js":function(e,t,n){"use strict";n("./node_modules/reselect/es/index.js")},"./app/containers/HomePageIconListItem/StyledLink.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=n("./node_modules/react-router-dom/index.js"),i=(n.n(r),n.i(o.a)(r.Link).withConfig({displayName:"StyledLink__StyledLink"})(["&:hover {text-decoration: none}"]));t.a=i},"./app/containers/HomePageIconListItem/Wrapper.js":function(e,t,n){"use strict";var o=n("./node_modules/styled-components/dist/styled-components.es.js"),r=o.a.li.withConfig({displayName:"Wrapper__Wrapper"})(["text-align: center;"]);t.a=r},"./app/containers/HomePageIconListItem/index.js":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n("./node_modules/react/react.js"),a=n.n(s),c=n("./node_modules/prop-types/index.js"),u=(n.n(c),n("./node_modules/react-redux/es/index.js")),l=n("./node_modules/react-router-dom/index.js"),d=(n.n(l),n("./app/components/ListItem/index.js"),n("./app/containers/HomePageIconListItem/Wrapper.js")),p=n("./app/containers/HomePageIconListItem/StyledLink.js"),f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,o,r){var i=t&&t.defaultProps,s=arguments.length-3;if(n||0===s||(n={}),n&&i)for(var a in i)void 0===n[a]&&(n[a]=i[a]);else n||(n=i||{});if(1===s)n.children=r;else if(s>1){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+3];n.children=c}return{$$typeof:e,type:t,key:void 0===o?null:""+o,ref:null,props:n,_owner:null}}}(),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),m=function(e){function t(){return o(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),h(t,[{key:"render",value:function(){var e=this.props.item,t=(e.columnWidth,e.click),n=f(p.a,{to:"search",onClick:t},void 0,f("div",{"data-facet-name":e.title,className:"font-icon-select-1 font-icon-select-1-"+e.icon}),f("div",{"data-facet-name":e.title},void 0,e.title));return f(d.a,{className:"col-xs-12 col-sm-6 col-md-"+e.columnWidth},e.ref,n)}}]),t}(a.a.PureComponent);t.a=n.i(u.b)()(m)},"./app/containers/SearchPage/actions.js":function(e,t,n){"use strict";function o(e){return{type:v.h,index:e}}function r(){return{type:v.a}}function i(){return{type:v.n}}function s(){return{type:v.e}}function a(e){return{type:v.f,homePageIcons:e}}function c(e,t){return{type:v.i,query:e,selectedFacets:t}}function u(e){return{type:v.d,facetsResults:e}}function l(e){return{type:v.k,sort:e}}function d(){return{type:v.m}}function p(){return{type:v.b}}function f(e){return{type:v.c,facets:e}}function h(e){return{type:v.l,number:e}}function m(e){return{type:v.j,results:e}}function y(e){return{type:v.o,error:e}}t.j=o,t.c=r,t.m=i,t.n=s,t.f=a,t.a=c,t.k=u,t.d=l,t.e=d,t.b=p,t.g=f,t.l=h,t.i=m,t.h=y;var v=n("./app/containers/SearchPage/constants.js")},"./app/containers/SearchPage/saga.js":function(e,t,n){"use strict";function o(e){var t,o,r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}["front-page-icon-collection"],o={name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}["front-page-icons"],r=window.location.href.split("/")[0]+"//"+window.location.href.split("/")[2],e.prev=3,e.next=6,o.map(function(e){return n.i(g.a)(w.a,r+"/api/v1/collections/"+t+"/"+e+".json")});case 6:return i=e.sent,e.next=9,n.i(g.b)(n.i(_.f)(i));case 9:return e.abrupt("return",i);case 12:return e.prev=12,e.t0=e.catch(3),console.log("error getting Icons",e.t0),e.abrupt("return",null);case 16:case"end":return e.stop()}},F,this,[[3,12]])}function r(){var e,t,o;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=window.location.href.split("/")[0]+"//"+window.location.href.split("/")[2],t=e+"/api/v1/schema.json",r.prev=2,r.next=5,n.i(g.a)(w.a,t);case 5:return o=r.sent,r.next=8,n.i(g.b)(n.i(_.g)(o.facets));case 8:return r.abrupt("return",o.facets);case 11:return r.prev=11,r.t0=r.catch(2),console.log("error?",r.t0),r.next=16,n.i(g.b)(n.i(_.h)(r.t0));case 16:return r.abrupt("return",null);case 17:case"end":return r.stop()}},B,this,[[2,11]])}function i(e){var t,o,r,i,s,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.i(g.c)(n.i(x.b)());case 2:return t=e.sent,e.next=5,n.i(g.c)(n.i(x.h)());case 5:return o=e.sent,e.next=8,n.i(g.c)(n.i(x.a)());case 8:r=e.sent,e.t0=o,e.next="relevance"===e.t0?12:"alpha"===e.t0?16:"date"===e.t0?20:24;break;case 12:return i=p(t),e.next=15,n.i(g.b)(n.i(_.i)(i));case 15:return e.abrupt("return");case 16:return s=h(t),e.next=19,n.i(g.b)(n.i(_.i)(s));case 19:return e.abrupt("break",24);case 20:return a=f(t),e.next=23,n.i(g.b)(n.i(_.i)(a));case 23:return e.abrupt("return");case 24:case"end":return e.stop()}},A,this)}function s(){var e,t,o;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e={name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}.search.type,t=new S.a[e],r.next=4,t.init();case 4:return o=r.sent,r.next=7,n.i(g.b)(n.i(_.j)(o));case 7:return r.abrupt("return",o);case 8:case"end":return r.stop()}},P,this)}function a(e,t,n){var o=n[t].field.split("."),r=new Object,i=[];return o.forEach(function(t,n){o.length-1===n&&Array.isArray(r)?(i=r,i.forEach(function(e,n){r[n]=e[t]})):r=Array.isArray(e[t])?e[t].slice(0):0===Object.keys(r).length?Object.assign({},e[t]):r[t]}),r}function c(){var e,t,o;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,n.i(g.c)(n.i(x.i)());case 2:if(e=i.sent){i.next=7;break}return i.next=6,r();case 6:e=i.sent;case 7:return i.next=9,n.i(g.c)(n.i(x.b)());case 9:return t=i.sent,i.next=12,l(e,t);case 12:return o=i.sent,i.next=15,n.i(g.b)(n.i(_.k)(o));case 15:case"end":return i.stop()}},I,this)}function u(e,t){var n;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=[],t.forEach(function(t){for(var o in e){var r=a(t.doc,o,e);n[o]=n[o]?n[o]:[],Array.isArray(r)?r.forEach(function(e,t){n[o].push(e)}):r&&0!==Object.keys(r).length&&n[o].push(r)}}),o.abrupt("return",n);case 3:case"end":return o.stop()}},C,this)}function l(e,t){var n,o,r,i,s,a;return regeneratorRuntime.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return n=10,c.next=3,u(e,t);case 3:o=c.sent,r={};for(i in e)r[i]={},o[i]&&o[i].forEach(function(e){r[i][e]=(r[i][e]||0)+1});s={};for(i in e)s[i]=[],s[i]=Object.entries(r[i]).sort(function(e,t){return e[1]>t[1]?-1:t[1]>e[1]?1:0});a={};for(i in e)a[i]=s[i].slice(0,n);return c.abrupt("return",a);case 14:case"end":return c.stop()}},O,this)}function d(e){var t,o,i,c,u,d,p,f,m,y,v,b,j;return regeneratorRuntime.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return t={name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}.search.type,o=new S.a[t],i=e.query,w.next=5,n.i(g.c)(n.i(x.l)());case 5:return c=w.sent,u=e.selectedFacets,w.next=9,n.i(g.c)(n.i(x.h)());case 9:if(d=w.sent,p=25,f=0,w.prev=12,c){w.next=17;break}return w.next=16,n.i(g.a)(s);case 16:c=w.sent;case 17:return w.next=19,n.i(g.c)(n.i(x.i)());case 19:if(m=w.sent){w.next=24;break}return w.next=23,r();case 23:m=w.sent;case 24:if(y=[],console.time("Querying index."),!i){w.next=32;break}return w.next=29,o.query(i,c);case 29:y=w.sent,w.next=36;break;case 32:return w.next=34,o.getAll(c);case 34:y=w.sent,y=h(y);case 36:return console.timeEnd("Query Loaded"),v=[],u&&u.length>0?u.forEach(function(e){var t=e[0],n=e[1];v=y.filter(function(e){var o=a(e.doc,t,m);if(Array.isArray(o)){if(Object.values(o).indexOf(n)>-1)return!0}else if(o==n)return!0;return!1})}):(console.log("no selected facets"),v=y),w.next=41,n.i(g.b)(n.i(_.l)(v.length));case 41:return b=v.slice(0,p),w.next=44,n.i(g.b)(n.i(_.i)(b));case 44:if(!m){w.next=50;break}return w.next=47,l(m,v);case 47:return j=w.sent,w.next=50,n.i(g.b)(n.i(_.k)(j));case 50:w.next=57;break;case 52:return w.prev=52,w.t0=w.catch(12),console.log("error getResults?",w.t0),w.next=57,n.i(g.b)(n.i(_.h)(w.t0));case 57:case"end":return w.stop()}},L,this,[[12,52]])}function p(e){return e.sort(m)}function f(e){return e.sort(y)}function h(e){return e.sort(v)}function m(e,t){return e.score<t.score?-1:e.score>t.score?1:0}function y(e,t){return e.doc.modified>t.doc.modified?-1:e.doc.modified<t.doc.modified?1:0}function v(e,t){return e.doc.title<t.doc.title?-1:e.doc.title>t.doc.title?1:0}function b(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.i(g.d)(j.e,o);case 2:return e.next=4,n.i(g.d)(j.i,d);case 4:return e.next=6,n.i(g.d)(j.k,i);case 6:return e.next=8,n.i(g.d)(j.b,r);case 8:return e.next=10,n.i(g.d)(j.m,c);case 10:return e.next=12,n.i(g.d)(j.n,s);case 12:case"end":return e.stop()}},E,this)}t.a=b;var g=n("./node_modules/redux-saga/es/effects.js"),j=(n("./app/containers/App/constants.js"),n("./app/containers/SearchPage/constants.js")),_=n("./app/containers/SearchPage/actions.js"),w=n("./app/utils/request.js"),x=n("./app/containers/SearchPage/selectors.js"),k=n("./node_modules/elasticlunr/elasticlunr.js"),S=(n.n(k),n("./app/search.js")),F=regeneratorRuntime.mark(o),B=regeneratorRuntime.mark(r),A=regeneratorRuntime.mark(i),P=regeneratorRuntime.mark(s),I=regeneratorRuntime.mark(c),C=regeneratorRuntime.mark(u),O=regeneratorRuntime.mark(l),L=regeneratorRuntime.mark(d),E=regeneratorRuntime.mark(b);Object.filter=function(e,t){return Object.keys(e).filter(function(n){return t(e[n])}).reduce(function(t,n){return t[n]=e[n],t},{})}},"./app/containers/SearchPage/selectors.js":function(e,t,n){"use strict";n.d(t,"l",function(){return i}),n.d(t,"h",function(){return m}),n.d(t,"i",function(){return u}),n.d(t,"k",function(){return l}),n.d(t,"d",function(){return d}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return y}),n.d(t,"j",function(){return p}),n.d(t,"g",function(){return b}),n.d(t,"c",function(){return v}),n.d(t,"m",function(){return a}),n.d(t,"n",function(){return c});var o=n("./node_modules/reselect/es/index.js"),r=function(){return function(e){return e.get("search")}},i=function(){return n.i(o.a)(r(),function(e){return e.get("index")})},s=function(){return n.i(o.a)(r(),function(e){return e.get("query")})},a=function(){return n.i(o.a)(r(),function(e){return e.get("homePageIcons")})},c=function(){return n.i(o.a)(r(),function(e){return e.get("loadingHomePageIcons")})},u=function(){return n.i(o.a)(r(),function(e){return e.get("facets")})},l=function(){return n.i(o.a)(r(),function(e){return e.get("selectedFacets")})},d=function(){return n.i(o.a)(r(),function(e){return e.get("loadingFacets")})},p=function(){return n.i(o.a)(r(),function(e){return e.get("resultsCount")})},f=function(){return n.i(o.a)(r(),function(e){return e.get("facetsResults")})},h=function(){return n.i(o.a)(r(),function(e){return e.get("loadingFacetsResults")})},m=function(){return n.i(o.a)(r(),function(e){return e.get("sort")})},y=function(){return n.i(o.a)(r(),function(e){return e.get("results")})},v=function(){return n.i(o.a)(r(),function(e){return e.get("loading")})},b=function(){return n.i(o.a)(r(),function(e){return e.get("error")})}},"./app/search.js":function(e,t,n){"use strict";function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=n("./node_modules/redux-saga/es/effects.js"),a=n("./app/utils/request.js"),c=n("./node_modules/elasticlunr/elasticlunr.js"),u=n.n(c),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),d=function(){function e(){i(this,e)}return l(e,[{key:"init",value:regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}},e,this)})},{key:"query",value:function(){}}]),e}(),p=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),l(t,[{key:"init",value:regeneratorRuntime.mark(function e(){var t,o,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=window.location.origin+"/api/v1/search-index.json",console.time("Loading index."),e.next=4,n.i(s.a)(a.a,t);case 4:return o=e.sent,r=u.a.Index.load(o),console.timeEnd("Index Loaded"),e.abrupt("return",r);case 8:case"end":return e.stop()}},e,this)})},{key:"query",value:regeneratorRuntime.mark(function e(t,n){var o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.search(t,{expand:!0}),e.abrupt("return",o);case 2:case"end":return e.stop()}},e,this)})},{key:"getAll",value:regeneratorRuntime.mark(function e(t){var n,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.documentStore.docs,o=Object.keys(n).map(function(e){return{doc:n[e],ref:e,score:1}}),e.abrupt("return",o);case 3:case"end":return e.stop()}},e,this)})}]),t}(d),f=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),l(t,[{key:"init",value:regeneratorRuntime.mark(function e(){var t,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=window.location.origin+"/api/v1/search-index.json",console.time("Loading index."),e.next=4,n.i(s.a)(a.a,t);case 4:return o=e.sent,console.timeEnd("Index Loaded"),e.abrupt("return",{index:o});case 7:case"end":return e.stop()}},e,this)})},{key:"getAll",value:regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.index);case 1:case"end":return e.stop()}},e,this)})},{key:"query",value:function(e){function t(t,o){var r=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(e.apply(this,r),"t0",1);case 1:return t.abrupt("return",t.t0);case 2:case"end":return t.stop()}},n,this)}var n=regeneratorRuntime.mark(t);return t.toString=function(){return e.toString()},t}(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.index.reduce(function(e,n){var o=JSON.stringify(n.doc);return new RegExp(t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i").test(o)&&e.push(n),e},[]));case 1:case"end":return e.stop()}},e,this)}))}]),t}(d),h=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),l(t,[{key:"query",value:function(e){function t(t,o){var r=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(e.apply(this,r),"t0",1);case 1:return t.abrupt("return",t.t0);case 2:case"end":return t.stop()}},n,this)}var n=regeneratorRuntime.mark(t);return t.toString=function(){return e.toString()},t}(regeneratorRuntime.mark(function e(t,o){var r,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.i(s.a)(a.a,{name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}.search.endpoint+"?q="+t+"*");case 2:return r=e.sent,i=r.hits.hits.map(function(e){return{doc:e._source,score:e._score,ref:e._source.interra.id}}),e.abrupt("return",i);case 6:case"end":return e.stop()}},e,this)}))},{key:"getAll",value:regeneratorRuntime.mark(function e(t){var o,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.i(s.a)(a.a,{name:"HealthData",description:"This was a lot of work",url:"healthdata-example.interra.io",identifier:"healthdata",schema:"pod-full","front-page-icon-collection":"theme","front-page-icons":["health","medicare","facilities-and-services","hospital-compare","diseases-and-conditions","demographics"],search:{type:"elasticSearch",endpoint:"https://aj1585l13a.execute-api.us-west-2.amazonaws.com/prod",fields:["title","keyword","publisher","description","theme","modified","distribution"]},fontConfig:{backColor:"#fff",link:"#0A77BD",linkHover:"#002245",linkFocus:"#002245",navBarBackColor:"#0A77BD",navBarLink:"#FFF",navBarLinkHover:"#FFF",navBarLinkHoverBack:"#002245",navBarLinkActive:"#FFF",navBarLinkActiveBack:"#005489",navBarLinkActiveHoverBack:"#005489",navBarLinkActiveHover:"#FFF",heroBackColor:"#003366",heroSearchIconBackColor:"#0A77BD",heroSearchIconBorderColor:"#999",footerBackColor:"#319bbf",footerFontColor:"#caeef9",footerLinkColor:"#FFFFFF"}}.search.endpoint);case 2:return o=e.sent,r=o.hits.hits.map(function(e){return{doc:e._source,score:e._score,ref:e._source.interra.id}}),e.abrupt("return",r);case 5:case"end":return e.stop()}},e,this)})}]),t}(d),m={elasticSearch:h,simpleSearch:f,elasticLunr:p};t.a=m},"./app/utils/checkStore.js":function(e,t,n){"use strict";function o(e){var t={dispatch:a.a,subscribe:a.a,getState:a.a,replaceReducer:a.a,runSaga:a.a,injectedReducers:u.a,injectedSagas:u.a};d()(i()(e,t),"(app/utils...) injectors: Expected a valid redux store")}t.a=o;var r=n("./node_modules/lodash/conformsTo.js"),i=n.n(r),s=n("./node_modules/lodash/isFunction.js"),a=n.n(s),c=n("./node_modules/lodash/isObject.js"),u=n.n(c),l=n("./node_modules/invariant/browser.js"),d=n.n(l)},"./app/utils/constants.js":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i});var o="@@saga-injector/restart-on-remount",r="@@saga-injector/daemon",i="@@saga-injector/once-till-unmount"},"./app/utils/injectReducer.js":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n("./node_modules/react/react.js"),a=n.n(s),c=n("./node_modules/prop-types/index.js"),u=n.n(c),l=n("./node_modules/hoist-non-react-statics/index.js"),d=n.n(l),p=n("./app/utils/reducerInjectors.js"),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.a=function(e){var t=e.key,s=e.reducer;return function(e){var c=function(c){function u(){var e,t,i,s;o(this,u);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return t=i=r(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(c))),i.injectors=n.i(p.a)(i.context.store),s=t,r(i,s)}return i(u,c),f(u,[{key:"componentWillMount",value:function(){(0,this.injectors.injectReducer)(t,s)}},{key:"render",value:function(){return a.a.createElement(e,this.props)}}]),u}(a.a.Component);return c.WrappedComponent=e,c.contextTypes={store:u.a.object.isRequired},c.displayName="withReducer("+(e.displayName||e.name||"Component")+")",d()(c,e)}}},"./app/utils/injectSaga.js":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n("./node_modules/react/react.js"),a=n.n(s),c=n("./node_modules/prop-types/index.js"),u=n.n(c),l=n("./node_modules/hoist-non-react-statics/index.js"),d=n.n(l),p=n("./app/utils/sagaInjectors.js"),f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.a=function(e){var t=e.key,s=e.saga,c=e.mode;return function(e){var l=function(u){function l(){var e,t,i,s;o(this,l);for(var a=arguments.length,c=Array(a),u=0;u<a;u++)c[u]=arguments[u];return t=i=r(this,(e=l.__proto__||Object.getPrototypeOf(l)).call.apply(e,[this].concat(c))),i.injectors=n.i(p.a)(i.context.store),s=t,r(i,s)}return i(l,u),f(l,[{key:"componentWillMount",value:function(){(0,this.injectors.injectSaga)(t,{saga:s,mode:c},this.props)}},{key:"componentWillUnmount",value:function(){(0,this.injectors.ejectSaga)(t)}},{key:"render",value:function(){return a.a.createElement(e,this.props)}}]),l}(a.a.Component);return l.WrappedComponent=e,l.contextTypes={store:u.a.object.isRequired},l.displayName="withSaga("+(e.displayName||e.name||"Component")+")",d()(l,e)}}},"./app/utils/reducerInjectors.js":function(e,t,n){"use strict";function o(e,t){return function(o,r){t||n.i(f.a)(e),s()(p()(o)&&!c()(o)&&l()(r),"(app/utils...) injectReducer: Expected `reducer` to be a reducer function"),Reflect.has(e.injectedReducers,o)&&e.injectedReducers[o]===r||(e.injectedReducers[o]=r,e.replaceReducer(n.i(h.a)(e.injectedReducers)))}}function r(e){return n.i(f.a)(e),{injectReducer:o(e,!0)}}t.a=r;var i=n("./node_modules/invariant/browser.js"),s=n.n(i),a=n("./node_modules/lodash/isEmpty.js"),c=n.n(a),u=n("./node_modules/lodash/isFunction.js"),l=n.n(u),d=n("./node_modules/lodash/isString.js"),p=n.n(d),f=n("./app/utils/checkStore.js"),h=n("./app/reducers.js")},"./app/utils/request.js":function(e,t,n){"use strict";(function(e){function o(e){return 204===e.status||205===e.status?null:e.json()}function r(e){if(e.status>=200&&e.status<300)return e;var t=new Error(e.statusText);throw t.response=e,t}function i(t,n){return e(t,n).then(r).then(o)}t.a=i;var s=n("./node_modules/whatwg-fetch/fetch.js");n.n(s)}).call(t,n("./node_modules/exports-loader/index.js?self.fetch!./node_modules/whatwg-fetch/fetch.js"))},"./app/utils/sagaInjectors.js":function(e,t,n){"use strict";function o(e,t){return function(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2];t||n.i(y.a)(e);var s=b({},r,{mode:r.mode||v.a}),a=s.saga,c=s.mode;j(o),_(s);var u=Reflect.has(e.injectedSagas,o);(!u||u&&c!==v.b&&c!==v.c)&&(e.injectedSagas[o]=b({},s,{task:e.runSaga(a,i)}))}}function r(e,t){return function(o){if(t||n.i(y.a)(e),j(o),Reflect.has(e.injectedSagas,o)){var r=e.injectedSagas[o];r.mode!==v.b&&(r.task.cancel(),e.injectedSagas[o]="done")}}}function i(e){return n.i(y.a)(e),{injectSaga:o(e,!0),ejectSaga:r(e,!0)}}t.a=i;var s=n("./node_modules/lodash/isEmpty.js"),a=n.n(s),c=n("./node_modules/lodash/isFunction.js"),u=n.n(c),l=n("./node_modules/lodash/isString.js"),d=n.n(l),p=n("./node_modules/invariant/browser.js"),f=n.n(p),h=n("./node_modules/lodash/conformsTo.js"),m=n.n(h),y=n("./app/utils/checkStore.js"),v=n("./app/utils/constants.js"),b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},g=[v.a,v.b,v.c],j=function(e){return f()(d()(e)&&!a()(e),"(app/utils...) injectSaga: Expected `key` to be a non empty string")},_=function(e){var t={saga:u.a,mode:function(e){return d()(e)&&g.includes(e)}};f()(m()(e,t),"(app/utils...) injectSaga: Expected a valid saga descriptor")}},"./node_modules/elasticlunr/elasticlunr.js":function(e,t,n){var o,r;/**
* elasticlunr - http://weixsong.github.io
* Lightweight full-text search engine in Javascript for browser search and offline search. - 0.9.5
*
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
* MIT Licensed
* @license
*/
!function(){function i(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}/*!
* elasticlunr.js
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
*/
var s=function(e){var t=new s.Index;return t.pipeline.add(s.trimmer,s.stopWordFilter,s.stemmer),e&&e.call(t,t),t};s.version="0.9.5",lunr=s,/*!
* elasticlunr.utils
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
*/
s.utils={},s.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),s.utils.toString=function(e){return void 0===e||null===e?"":e.toString()},/*!
* elasticlunr.EventEmitter
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
*/
s.EventEmitter=function(){this.events={}},s.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},s.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);-1!==n&&(this.events[e].splice(n,1),0==this.events[e].length&&delete this.events[e])}},s.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)},this)}},s.EventEmitter.prototype.hasHandler=function(e){return e in this.events},/*!
* elasticlunr.tokenizer
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
*/
s.tokenizer=function(e){if(!arguments.length||null===e||void 0===e)return[];if(Array.isArray(e)){var t=e.filter(function(e){return null!==e&&void 0!==e});t=t.map(function(e){return s.utils.toString(e).toLowerCase()});var n=[];return t.forEach(function(e){var t=e.split(s.tokenizer.seperator);n=n.concat(t)},this),n}return e.toString().trim().toLowerCase().split(s.tokenizer.seperator)},s.tokenizer.defaultSeperator=/[\s\-]+/,s.tokenizer.seperator=s.tokenizer.defaultSeperator,s.tokenizer.setSeperator=function(e){null!==e&&void 0!==e&&"object"==typeof e&&(s.tokenizer.seperator=e)},s.tokenizer.resetSeperator=function(){s.tokenizer.seperator=s.tokenizer.defaultSeperator},s.tokenizer.getSeperator=function(){return s.tokenizer.seperator},/*!
* elasticlunr.Pipeline
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
*/
s.Pipeline=function(){this._queue=[]},s.Pipeline.registeredFunctions={},s.Pipeline.registerFunction=function(e,t){t in s.Pipeline.registeredFunctions&&s.utils.warn("Overwriting existing registered function: "+t),e.label=t,s.Pipeline.registeredFunctions[t]=e},s.Pipeline.getRegisteredFunction=function(e){return e in s.Pipeline.registeredFunctions!=!0?null:s.Pipeline.registeredFunctions[e]},s.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||s.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},s.Pipeline.load=function(e){var t=new s.Pipeline;return e.forEach(function(e){var n=s.Pipeline.getRegisteredFunction(e);if(!n)throw new Error("Cannot load un-registered function: "+e);t.add(n)}),t},s.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){s.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},s.Pipeline.prototype.after=function(e,t){s.Pipeline.warnIfFunctionNotRegistered(t);var n=this._queue.indexOf(e);if(-1===n)throw new Error("Cannot find existingFn");this._queue.splice(n+1,0,t)},s.Pipeline.prototype.before=function(e,t){s.Pipeline.warnIfFunctionNotRegistered(t);var n=this._queue.indexOf(e);if(-1===n)throw new Error("Cannot find existingFn");this._queue.splice(n,0,t)},s.Pipeline.prototype.remove=function(e){var t=this._queue.indexOf(e);-1!==t&&this._queue.splice(t,1)},s.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,o=this._queue.length,r=0;r<n;r++){for(var i=e[r],s=0;s<o&&(void 0!==(i=this._queue[s](i,r,e))&&null!==i);s++);void 0!==i&&null!==i&&t.push(i)}return t},s.Pipeline.prototype.reset=function(){this._queue=[]},s.Pipeline.prototype.get=function(){return this._queue},s.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return s.Pipeline.warnIfFunctionNotRegistered(e),e.label})},/*!
* elasticlunr.Index
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
*/
s.Index=function(){this._fields=[],this._ref="id",this.pipeline=new s.Pipeline,this.documentStore=new s.DocumentStore,this.index={},this.eventEmitter=new s.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},s.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},s.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},s.Index.load=function(e){e.version!==s.version&&s.utils.warn("version mismatch: current "+s.version+" importing "+e.version);var t=new this;t._fields=e.fields,t._ref=e.ref,t.documentStore=s.DocumentStore.load(e.documentStore),t.pipeline=s.Pipeline.load(e.pipeline),t.index={};for(var n in e.index)t.index[n]=s.InvertedIndex.load(e.index[n]);return t},s.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new s.InvertedIndex,this},s.Index.prototype.setRef=function(e){return this._ref=e,this},s.Index.prototype.saveDocument=function(e){return this.documentStore=new s.DocumentStore(e),this},s.Index.prototype.addDoc=function(e,t){if(e){var t=void 0===t||t,n=e[this._ref];this.documentStore.addDoc(n,e),this._fields.forEach(function(t){var o=this.pipeline.run(s.tokenizer(e[t]));this.documentStore.addFieldLength(n,t,o.length);var r={};o.forEach(function(e){e in r?r[e]+=1:r[e]=1},this);for(var i in r){var a=r[i];a=Math.sqrt(a),this.index[t].addToken(i,{ref:n,tf:a})}},this),t&&this.eventEmitter.emit("add",e,this)}},s.Index.prototype.removeDocByRef=function(e,t){if(e&&!1!==this.documentStore.isDocStored()&&this.documentStore.hasDoc(e)){var n=this.documentStore.getDoc(e);this.removeDoc(n,!1)}},s.Index.prototype.removeDoc=function(e,t){if(e){var t=void 0===t||t,n=e[this._ref];this.documentStore.hasDoc(n)&&(this.documentStore.removeDoc(n),this._fields.forEach(function(t){this.pipeline.run(s.tokenizer(e[t])).forEach(function(e){this.index[t].removeToken(e,n)},this)},this),t&&this.eventEmitter.emit("remove",e,this))}},s.Index.prototype.updateDoc=function(e,t){var t=void 0===t||t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},s.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var o=this.index[t].getDocFreq(e),r=1+Math.log(this.documentStore.length/(o+1));return this._idfCache[n]=r,r},s.Index.prototype.getFields=function(){return this._fields.slice()},s.Index.prototype.search=function(e,t){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var n=null;null!=t&&(n=JSON.stringify(t));for(var o=new s.Configuration(n,this.getFields()).get(),r={},i=Object.keys(e),a=0;a<i.length;a++){var c=i[a];r[c]=this.pipeline.run(s.tokenizer(e[c]))}var u={};for(var l in o){var d=r[l]||r.any;if(d){var p=this.fieldSearch(d,l,o),f=o[l].boost;for(var h in p)p[h]=p[h]*f;for(var h in p)h in u?u[h]+=p[h]:u[h]=p[h]}}var m,y=[];for(var h in u)m={ref:h,score:u[h]},this.documentStore.hasDoc(h)&&(m.doc=this.documentStore.getDoc(h)),y.push(m);return y.sort(function(e,t){return t.score-e.score}),y},s.Index.prototype.fieldSearch=function(e,t,n){var o=n[t].bool,r=n[t].expand,i=n[t].boost,s=null,a={};if(0!==i)return e.forEach(function(e){var n=[e];1==r&&(n=this.index[t].expandToken(e));var i={};n.forEach(function(n){var r=this.index[t].getDocs(n),c=this.idf(n,t);if(s&&"AND"==o){var u={};for(var l in s)l in r&&(u[l]=r[l]);r=u}n==e&&this.fieldSearchStats(a,n,r);for(var l in r){var d=this.index[t].getTermFrequency(n,l),p=this.documentStore.getFieldLength(l,t),f=1;0!=p&&(f=1/Math.sqrt(p));var h=1;n!=e&&(h=.15*(1-(n.length-e.length)/n.length));var m=d*c*f*h;l in i?i[l]+=m:i[l]=m}},this),s=this.mergeScores(s,i,o)},this),s=this.coordNorm(s,a,e.length)},s.Index.prototype.mergeScores=function(e,t,n){if(!e)return t;if("AND"==n){var o={};for(var r in t)r in e&&(o[r]=e[r]+t[r]);return o}for(var r in t)r in e?e[r]+=t[r]:e[r]=t[r];return e},s.Index.prototype.fieldSearchStats=function(e,t,n){for(var o in n)o in e?e[o].push(t):e[o]=[t]},s.Index.prototype.coordNorm=function(e,t,n){for(var o in e)if(o in t){var r=t[o].length;e[o]=e[o]*r/n}return e},s.Index.prototype.toJSON=function(){var e={};return this._fields.forEach(function(t){e[t]=this.index[t].toJSON()},this),{version:s.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:e,pipeline:this.pipeline.toJSON()}},s.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},/*!
* elasticlunr.DocumentStore
* Copyright (C) 2017 Wei Song
*/
s.DocumentStore=function(e){this._save=null===e||void 0===e||e,this.docs={},this.docInfo={},this.length=0},s.DocumentStore.load=function(e){var t=new this;return t.length=e.length,t.docs=e.docs,t.docInfo=e.docInfo,t._save=e.save,t},s.DocumentStore.prototype.isDocStored=function(){return this._save},s.DocumentStore.prototype.addDoc=function(e,t){this.hasDoc(e)||this.length++,!0===this._save?this.docs[e]=i(t):this.docs[e]=null},s.DocumentStore.prototype.getDoc=function(e){return!1===this.hasDoc(e)?null:this.docs[e]},s.DocumentStore.prototype.hasDoc=function(e){return e in this.docs},s.DocumentStore.prototype.removeDoc=function(e){this.hasDoc(e)&&(delete this.docs[e],delete this.docInfo[e],this.length--)},s.DocumentStore.prototype.addFieldLength=function(e,t,n){null!==e&&void 0!==e&&0!=this.hasDoc(e)&&(this.docInfo[e]||(this.docInfo[e]={}),this.docInfo[e][t]=n)},s.DocumentStore.prototype.updateFieldLength=function(e,t,n){null!==e&&void 0!==e&&0!=this.hasDoc(e)&&this.addFieldLength(e,t,n)},s.DocumentStore.prototype.getFieldLength=function(e,t){return null===e||void 0===e?0:e in this.docs&&t in this.docInfo[e]?this.docInfo[e][t]:0},s.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},/*!
* elasticlunr.stemmer
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
*/
s.stemmer=function(){var e={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},t={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[aeiouy]",o="[^aeiou][^aeiouy]*",r=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),i=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),s=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),a=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),c=/^(.+?)(ss|i)es$/,u=/^(.+?)([^s])s$/,l=/^(.+?)eed$/,d=/^(.+?)(ed|ing)$/,p=/.$/,f=/(at|bl|iz)$/,h=new RegExp("([^aeiouylsz])\\1$"),m=new RegExp("^"+o+n+"[^aeiouwxy]$"),y=/^(.+?[^aeiou])y$/,v=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,b=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,g=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,j=/^(.+?)(s|t)(ion)$/,_=/^(.+?)e$/,w=/ll$/,x=new RegExp("^"+o+n+"[^aeiouwxy]$");return function(n){var o,k,S,F,B,A,P;if(n.length<3)return n;if(S=n.substr(0,1),"y"==S&&(n=S.toUpperCase()+n.substr(1)),F=c,B=u,F.test(n)?n=n.replace(F,"$1$2"):B.test(n)&&(n=n.replace(B,"$1$2")),F=l,B=d,F.test(n)){var I=F.exec(n);F=r,F.test(I[1])&&(F=p,n=n.replace(F,""))}else if(B.test(n)){var I=B.exec(n);o=I[1],B=a,B.test(o)&&(n=o,B=f,A=h,P=m,B.test(n)?n+="e":A.test(n)?(F=p,n=n.replace(F,"")):P.test(n)&&(n+="e"))}if(F=y,F.test(n)){var I=F.exec(n);o=I[1],n=o+"i"}if(F=v,F.test(n)){var I=F.exec(n);o=I[1],k=I[2],F=r,F.test(o)&&(n=o+e[k])}if(F=b,F.test(n)){var I=F.exec(n);o=I[1],k=I[2],F=r,F.test(o)&&(n=o+t[k])}if(F=g,B=j,F.test(n)){var I=F.exec(n);o=I[1],F=i,F.test(o)&&(n=o)}else if(B.test(n)){var I=B.exec(n);o=I[1]+I[2],B=i,B.test(o)&&(n=o)}if(F=_,F.test(n)){var I=F.exec(n);o=I[1],F=i,B=s,A=x,(F.test(o)||B.test(o)&&!A.test(o))&&(n=o)}return F=w,B=i,F.test(n)&&B.test(n)&&(F=p,n=n.replace(F,"")),"y"==S&&(n=S.toLowerCase()+n.substr(1)),n}}(),s.Pipeline.registerFunction(s.stemmer,"stemmer"),/*!
* elasticlunr.stopWordFilter
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
*/
s.stopWordFilter=function(e){if(e&&!0!==s.stopWordFilter.stopWords[e])return e},s.clearStopWords=function(){s.stopWordFilter.stopWords={}},s.addStopWords=function(e){null!=e&&!1!==Array.isArray(e)&&e.forEach(function(e){s.stopWordFilter.stopWords[e]=!0},this)},s.resetStopWords=function(){s.stopWordFilter.stopWords=s.defaultStopWords},s.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,do:!0,does:!0,either:!0,else:!0,ever:!0,every:!0,for:!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,if:!0,in:!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,let:!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,this:!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,while:!0,who:!0,whom:!0,why:!0,will:!0,with:!0,would:!0,yet:!0,you:!0,your:!0},s.stopWordFilter.stopWords=s.defaultStopWords,s.Pipeline.registerFunction(s.stopWordFilter,"stopWordFilter"),/*!
* elasticlunr.trimmer
* Copyright (C) 2017 Oliver Nightingale
* Copyright (C) 2017 Wei Song
*/
s.trimmer=function(e){if(null===e||void 0===e)throw new Error("token should not be undefined");return e.replace(/^\W+/,"").replace(/\W+$/,"")},s.Pipeline.registerFunction(s.trimmer,"trimmer"),/*!
* elasticlunr.InvertedIndex
* Copyright (C) 2017 Wei Song
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
*/
s.InvertedIndex=function(){this.root={docs:{},df:0}},s.InvertedIndex.load=function(e){var t=new this;return t.root=e.root,t},s.InvertedIndex.prototype.addToken=function(e,t,n){for(var n=n||this.root,o=0;o<=e.length-1;){var r=e[o];r in n||(n[r]={docs:{},df:0}),o+=1,n=n[r]}var i=t.ref;n.docs[i]?n.docs[i]={tf:t.tf}:(n.docs[i]={tf:t.tf},n.df+=1)},s.InvertedIndex.prototype.hasToken=function(e){if(!e)return!1;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return!1;t=t[e[n]]}return!0},s.InvertedIndex.prototype.getNode=function(e){if(!e)return null;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return null;t=t[e[n]]}return t},s.InvertedIndex.prototype.getDocs=function(e){var t=this.getNode(e);return null==t?{}:t.docs},s.InvertedIndex.prototype.getTermFrequency=function(e,t){var n=this.getNode(e);return null==n?0:t in n.docs?n.docs[t].tf:0},s.InvertedIndex.prototype.getDocFreq=function(e){var t=this.getNode(e);return null==t?0:t.df},s.InvertedIndex.prototype.removeToken=function(e,t){if(e){var n=this.getNode(e);null!=n&&t in n.docs&&(delete n.docs[t],n.df-=1)}},s.InvertedIndex.prototype.expandToken=function(e,t,n){if(null==e||""==e)return[];var t=t||[];if(void 0==n&&null==(n=this.getNode(e)))return t;n.df>0&&t.push(e);for(var o in n)"docs"!==o&&"df"!==o&&this.expandToken(e+o,t,n[o]);return t},s.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},/*!
* elasticlunr.Configuration
* Copyright (C) 2017 Wei Song
*/
s.Configuration=function(e,t){var e=e||"";if(void 0==t||null==t)throw new Error("fields should not be null");this.config={};var n;try{n=JSON.parse(e),this.buildUserConfig(n,t)}catch(e){s.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(t)}},s.Configuration.prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},s.Configuration.prototype.buildUserConfig=function(e,t){var n="OR",o=!1;if(this.reset(),"bool"in e&&(n=e.bool||n),"expand"in e&&(o=e.expand||o),"fields"in e)for(var r in e.fields)if(t.indexOf(r)>-1){var i=e.fields[r],a=o;void 0!=i.expand&&(a=i.expand),this.config[r]={boost:i.boost||0===i.boost?i.boost:1,bool:i.bool||n,expand:a}}else s.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(n,o,t)},s.Configuration.prototype.addAllFields2UserConfig=function(e,t,n){n.forEach(function(n){this.config[n]={boost:1,bool:e,expand:t}},this)},s.Configuration.prototype.get=function(){return this.config},s.Configuration.prototype.reset=function(){this.config={}},/*!
* lunr.SortedSet
* Copyright (C) 2017 Oliver Nightingale
*/
lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){var e,t;for(e=0;e<arguments.length;e++)t=arguments[e],~this.indexOf(t)||this.elements.splice(this.locationFor(t),0,t);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(e,t){return this.elements.map(e,t)},lunr.SortedSet.prototype.forEach=function(e,t){return this.elements.forEach(e,t)},lunr.SortedSet.prototype.indexOf=function(e){for(var t=0,n=this.elements.length,o=n-t,r=t+Math.floor(o/2),i=this.elements[r];o>1;){if(i===e)return r;i<e&&(t=r),i>e&&(n=r),o=n-t,r=t+Math.floor(o/2),i=this.elements[r]}return i===e?r:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,o=n-t,r=t+Math.floor(o/2),i=this.elements[r];o>1;)i<e&&(t=r),i>e&&(n=r),o=n-t,r=t+Math.floor(o/2),i=this.elements[r];return i>e?r:i<e?r+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,o=0,r=this.length,i=e.length,s=this.elements,a=e.elements;;){if(n>r-1||o>i-1)break;s[n]!==a[o]?s[n]<a[o]?n++:s[n]>a[o]&&o++:(t.add(s[n]),n++,o++)}return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){var t,n,o;this.length>=e.length?(t=this,n=e):(t=e,n=this),o=t.clone();for(var r=0,i=n.toArray();r<i.length;r++)o.add(i[r]);return o},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},function(i,s){o=s,void 0!==(r="function"==typeof o?o.call(t,n,t,e):o)&&(e.exports=r)}(0,function(){return s})}()},"./node_modules/exports-loader/index.js?self.fetch!./node_modules/whatwg-fetch/fetch.js":function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function r(e){this.map={},e instanceof r?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function s(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function a(e){var t=new FileReader,n=s(t);return t.readAsArrayBuffer(e),n}function c(e){var t=new FileReader,n=s(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}function l(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&g(e))this._bodyArrayBuffer=l(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!j(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=l(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(a)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e){var t=e.toUpperCase();return _.indexOf(t)>-1?t:e}function f(e,t){t=t||{};var n=t.body;if(e instanceof f){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new r(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new r(t.headers)),this.method=p(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}}),t}function m(e){var t=new r;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),o=n.shift().trim();if(o){var r=n.join(":").trim();t.append(o,r)}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new r(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=function(e){return e&&DataView.prototype.isPrototypeOf(e)},j=ArrayBuffer.isView||function(e){return e&&b.indexOf(Object.prototype.toString.call(e))>-1};r.prototype.append=function(e,o){e=t(e),o=n(o);var r=this.map[e];this.map[e]=r?r+","+o:o},r.prototype.delete=function(e){delete this.map[t(e)]},r.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},r.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},r.prototype.set=function(e,o){this.map[t(e)]=n(o)},r.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},r.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),o(e)},r.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),o(e)},r.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),o(e)},v.iterable&&(r.prototype[Symbol.iterator]=r.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})},d.call(f.prototype),d.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new r(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];y.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=r,e.Request=f,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,o){var r=new f(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:m(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new y(t,e))},i.onerror=function(){o(new TypeError("Network request failed"))},i.ontimeout=function(){o(new TypeError("Network request failed"))},i.open(r.method,r.url,!0),"include"===r.credentials&&(i.withCredentials=!0),"responseType"in i&&v.blob&&(i.responseType="blob"),r.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send(void 0===r._bodyInit?null:r._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this),e.exports=self.fetch},"./node_modules/hoist-non-react-statics/index.js":function(e,t,n){"use strict";var o={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.getOwnPropertySymbols,s=(Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable),a=Object.getPrototypeOf,c=a&&a(Object),u=Object.getOwnPropertyNames;e.exports=function e(t,n,l){if("string"!=typeof n){if(c){var d=a(n);d&&d!==c&&e(t,d,l)}var p=u(n);i&&(p=p.concat(i(n)));for(var f=0;f<p.length;++f){var h=p[f];if(!(o[h]||r[h]||l&&l[h])&&(s.call(n,h)||"function"==typeof n[h]))try{t[h]=n[h]}catch(e){}}return t}return t}},"./node_modules/lodash/_DataView.js":function(e,t,n){var o=n("./node_modules/lodash/_getNative.js"),r=n("./node_modules/lodash/_root.js"),i=o(r,"DataView");e.exports=i},"./node_modules/lodash/_Map.js":function(e,t,n){var o=n("./node_modules/lodash/_getNative.js"),r=n("./node_modules/lodash/_root.js"),i=o(r,"Map");e.exports=i},"./node_modules/lodash/_Promise.js":function(e,t,n){var o=n("./node_modules/lodash/_getNative.js"),r=n("./node_modules/lodash/_root.js"),i=o(r,"Promise");e.exports=i},"./node_modules/lodash/_Set.js":function(e,t,n){var o=n("./node_modules/lodash/_getNative.js"),r=n("./node_modules/lodash/_root.js"),i=o(r,"Set");e.exports=i},"./node_modules/lodash/_Symbol.js":function(e,t,n){var o=n("./node_modules/lodash/_root.js"),r=o.Symbol;e.exports=r},"./node_modules/lodash/_WeakMap.js":function(e,t,n){var o=n("./node_modules/lodash/_getNative.js"),r=n("./node_modules/lodash/_root.js"),i=o(r,"WeakMap");e.exports=i},"./node_modules/lodash/_arrayLikeKeys.js":function(e,t,n){function o(e,t){var n=s(e),o=!n&&i(e),l=!n&&!o&&a(e),p=!n&&!o&&!l&&u(e),f=n||o||l||p,h=f?r(e.length,String):[],m=h.length;for(var y in e)!t&&!d.call(e,y)||f&&("length"==y||l&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,m))||h.push(y);return h}var r=n("./node_modules/lodash/_baseTimes.js"),i=n("./node_modules/lodash/isArguments.js"),s=n("./node_modules/lodash/isArray.js"),a=n("./node_modules/lodash/isBuffer.js"),c=n("./node_modules/lodash/_isIndex.js"),u=n("./node_modules/lodash/isTypedArray.js"),l=Object.prototype,d=l.hasOwnProperty;e.exports=o},"./node_modules/lodash/_baseConformsTo.js":function(e,t){function n(e,t,n){var o=n.length;if(null==e)return!o;for(e=Object(e);o--;){var r=n[o],i=t[r],s=e[r];if(void 0===s&&!(r in e)||!i(s))return!1}return!0}e.exports=n},"./node_modules/lodash/_baseGetTag.js":function(e,t,n){function o(e){return null==e?void 0===e?c:a:u&&u in Object(e)?i(e):s(e)}var r=n("./node_modules/lodash/_Symbol.js"),i=n("./node_modules/lodash/_getRawTag.js"),s=n("./node_modules/lodash/_objectToString.js"),a="[object Null]",c="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=o},"./node_modules/lodash/_baseIsArguments.js":function(e,t,n){function o(e){return i(e)&&r(e)==s}var r=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isObjectLike.js"),s="[object Arguments]";e.exports=o},"./node_modules/lodash/_baseIsNative.js":function(e,t,n){function o(e){return!(!s(e)||i(e))&&(r(e)?h:u).test(a(e))}var r=n("./node_modules/lodash/isFunction.js"),i=n("./node_modules/lodash/_isMasked.js"),s=n("./node_modules/lodash/isObject.js"),a=n("./node_modules/lodash/_toSource.js"),c=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,l=Function.prototype,d=Object.prototype,p=l.toString,f=d.hasOwnProperty,h=RegExp("^"+p.call(f).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=o},"./node_modules/lodash/_baseIsTypedArray.js":function(e,t,n){function o(e){return s(e)&&i(e.length)&&!!a[r(e)]}var r=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isLength.js"),s=n("./node_modules/lodash/isObjectLike.js"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=o},"./node_modules/lodash/_baseKeys.js":function(e,t,n){function o(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}var r=n("./node_modules/lodash/_isPrototype.js"),i=n("./node_modules/lodash/_nativeKeys.js"),s=Object.prototype,a=s.hasOwnProperty;e.exports=o},"./node_modules/lodash/_baseTimes.js":function(e,t){function n(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}e.exports=n},"./node_modules/lodash/_baseUnary.js":function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},"./node_modules/lodash/_coreJsData.js":function(e,t,n){var o=n("./node_modules/lodash/_root.js"),r=o["__core-js_shared__"];e.exports=r},"./node_modules/lodash/_freeGlobal.js":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/lodash/_getNative.js":function(e,t,n){function o(e,t){var n=i(e,t);return r(n)?n:void 0}var r=n("./node_modules/lodash/_baseIsNative.js"),i=n("./node_modules/lodash/_getValue.js");e.exports=o},"./node_modules/lodash/_getRawTag.js":function(e,t,n){function o(e){var t=s.call(e,c),n=e[c];try{e[c]=void 0;var o=!0}catch(e){}var r=a.call(e);return o&&(t?e[c]=n:delete e[c]),r}var r=n("./node_modules/lodash/_Symbol.js"),i=Object.prototype,s=i.hasOwnProperty,a=i.toString,c=r?r.toStringTag:void 0;e.exports=o},"./node_modules/lodash/_getTag.js":function(e,t,n){var o=n("./node_modules/lodash/_DataView.js"),r=n("./node_modules/lodash/_Map.js"),i=n("./node_modules/lodash/_Promise.js"),s=n("./node_modules/lodash/_Set.js"),a=n("./node_modules/lodash/_WeakMap.js"),c=n("./node_modules/lodash/_baseGetTag.js"),u=n("./node_modules/lodash/_toSource.js"),l=u(o),d=u(r),p=u(i),f=u(s),h=u(a),m=c;(o&&"[object DataView]"!=m(new o(new ArrayBuffer(1)))||r&&"[object Map]"!=m(new r)||i&&"[object Promise]"!=m(i.resolve())||s&&"[object Set]"!=m(new s)||a&&"[object WeakMap]"!=m(new a))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,o=n?u(n):"";if(o)switch(o){case l:return"[object DataView]";case d:return"[object Map]";case p:return"[object Promise]";case f:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},"./node_modules/lodash/_getValue.js":function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},"./node_modules/lodash/_isIndex.js":function(e,t){function n(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||r.test(e))&&e>-1&&e%1==0&&e<t}var o=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=n},"./node_modules/lodash/_isMasked.js":function(e,t,n){function o(e){return!!i&&i in e}var r=n("./node_modules/lodash/_coreJsData.js"),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=o},"./node_modules/lodash/_isPrototype.js":function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||o)}var o=Object.prototype;e.exports=n},"./node_modules/lodash/_nativeKeys.js":function(e,t,n){var o=n("./node_modules/lodash/_overArg.js"),r=o(Object.keys,Object);e.exports=r},"./node_modules/lodash/_nodeUtil.js":function(e,t,n){(function(e){var o=n("./node_modules/lodash/_freeGlobal.js"),r="object"==typeof t&&t&&!t.nodeType&&t,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===r,a=s&&o.process,c=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(t,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/_objectToString.js":function(e,t){function n(e){return r.call(e)}var o=Object.prototype,r=o.toString;e.exports=n},"./node_modules/lodash/_overArg.js":function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},"./node_modules/lodash/_root.js":function(e,t,n){var o=n("./node_modules/lodash/_freeGlobal.js"),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},"./node_modules/lodash/_toSource.js":function(e,t){function n(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var o=Function.prototype,r=o.toString;e.exports=n},"./node_modules/lodash/conformsTo.js":function(e,t,n){function o(e,t){return null==t||r(e,t,i(t))}var r=n("./node_modules/lodash/_baseConformsTo.js"),i=n("./node_modules/lodash/keys.js");e.exports=o},"./node_modules/lodash/isArguments.js":function(e,t,n){var o=n("./node_modules/lodash/_baseIsArguments.js"),r=n("./node_modules/lodash/isObjectLike.js"),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,c=o(function(){return arguments}())?o:function(e){return r(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},"./node_modules/lodash/isArray.js":function(e,t){var n=Array.isArray;e.exports=n},"./node_modules/lodash/isArrayLike.js":function(e,t,n){function o(e){return null!=e&&i(e.length)&&!r(e)}var r=n("./node_modules/lodash/isFunction.js"),i=n("./node_modules/lodash/isLength.js");e.exports=o},"./node_modules/lodash/isBuffer.js":function(e,t,n){(function(e){var o=n("./node_modules/lodash/_root.js"),r=n("./node_modules/lodash/stubFalse.js"),i="object"==typeof t&&t&&!t.nodeType&&t,s=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=s&&s.exports===i,c=a?o.Buffer:void 0,u=c?c.isBuffer:void 0,l=u||r;e.exports=l}).call(t,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/isEmpty.js":function(e,t,n){function o(e){if(null==e)return!0;if(c(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||d(e)||s(e)))return!e.length;var t=i(e);if(t==p||t==f)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var r=n("./node_modules/lodash/_baseKeys.js"),i=n("./node_modules/lodash/_getTag.js"),s=n("./node_modules/lodash/isArguments.js"),a=n("./node_modules/lodash/isArray.js"),c=n("./node_modules/lodash/isArrayLike.js"),u=n("./node_modules/lodash/isBuffer.js"),l=n("./node_modules/lodash/_isPrototype.js"),d=n("./node_modules/lodash/isTypedArray.js"),p="[object Map]",f="[object Set]",h=Object.prototype,m=h.hasOwnProperty;e.exports=o},"./node_modules/lodash/isFunction.js":function(e,t,n){function o(e){if(!i(e))return!1;var t=r(e);return t==a||t==c||t==s||t==u}var r=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isObject.js"),s="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",u="[object Proxy]";e.exports=o},"./node_modules/lodash/isLength.js":function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}var o=9007199254740991;e.exports=n},"./node_modules/lodash/isObject.js":function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},"./node_modules/lodash/isObjectLike.js":function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},"./node_modules/lodash/isString.js":function(e,t,n){function o(e){return"string"==typeof e||!i(e)&&s(e)&&r(e)==a}var r=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isArray.js"),s=n("./node_modules/lodash/isObjectLike.js"),a="[object String]";e.exports=o},"./node_modules/lodash/isTypedArray.js":function(e,t,n){var o=n("./node_modules/lodash/_baseIsTypedArray.js"),r=n("./node_modules/lodash/_baseUnary.js"),i=n("./node_modules/lodash/_nodeUtil.js"),s=i&&i.isTypedArray,a=s?r(s):o;e.exports=a},"./node_modules/lodash/keys.js":function(e,t,n){function o(e){return s(e)?r(e):i(e)}var r=n("./node_modules/lodash/_arrayLikeKeys.js"),i=n("./node_modules/lodash/_baseKeys.js"),s=n("./node_modules/lodash/isArrayLike.js");e.exports=o},"./node_modules/lodash/stubFalse.js":function(e,t){function n(){return!1}e.exports=n},"./node_modules/whatwg-fetch/fetch.js":function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function r(e){this.map={},e instanceof r?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function s(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function a(e){var t=new FileReader,n=s(t);return t.readAsArrayBuffer(e),n}function c(e){var t=new FileReader,n=s(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}function l(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&g(e))this._bodyArrayBuffer=l(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!j(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=l(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(a)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e){var t=e.toUpperCase();return _.indexOf(t)>-1?t:e}function f(e,t){t=t||{};var n=t.body;if(e instanceof f){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new r(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new r(t.headers)),this.method=p(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}}),t}function m(e){var t=new r;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),o=n.shift().trim();if(o){var r=n.join(":").trim();t.append(o,r)}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new r(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=function(e){return e&&DataView.prototype.isPrototypeOf(e)},j=ArrayBuffer.isView||function(e){return e&&b.indexOf(Object.prototype.toString.call(e))>-1};r.prototype.append=function(e,o){e=t(e),o=n(o);var r=this.map[e];this.map[e]=r?r+","+o:o},r.prototype.delete=function(e){delete this.map[t(e)]},r.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},r.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},r.prototype.set=function(e,o){this.map[t(e)]=n(o)},r.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},r.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),o(e)},r.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),o(e)},r.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),o(e)},v.iterable&&(r.prototype[Symbol.iterator]=r.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})},d.call(f.prototype),d.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new r(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];y.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=r,e.Request=f,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,o){var r=new f(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:m(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new y(t,e))},i.onerror=function(){o(new TypeError("Network request failed"))},i.ontimeout=function(){o(new TypeError("Network request failed"))},i.open(r.method,r.url,!0),"include"===r.credentials&&(i.withCredentials=!0),"responseType"in i&&v.blob&&(i.responseType="blob"),r.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send(void 0===r._bodyInit?null:r._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)}});