-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path49.bfcdfea0.js
More file actions
1 lines (1 loc) · 2.51 KB
/
Copy path49.bfcdfea0.js
File metadata and controls
1 lines (1 loc) · 2.51 KB
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{190:function(e,a,t){"use strict";t(50),t(23),t(18),t(17),t(70);var n=t(0),c=t.n(n),o=t(184),r=t.n(o),l=t(183),i=t(186),s=t(187),u=t(126),h=t.n(u);a.a=function(e){var a,o,u=e.handleSearchBarToggle,d=e.isSearchBarExpanded,p=Object(n.useState)(!1),m=p[0],b=p[1],f=Object(n.useRef)(null),v=Object(l.a)().siteConfig,w=(void 0===v?{}:v).themeConfig.algolia,g=Object(i.b)(),E=Object(s.a)().navigateToSearchPage;var k=function(e){void 0===e&&(e=!0),m||Promise.all([Promise.all([t.e(4),t.e(48)]).then(t.t.bind(null,191,7)),t.e(31).then(t.t.bind(null,192,7))]).then((function(a){var t=a[0].default;b(!0),window.docsearch=t,function(e){window.docsearch({appId:w.appId,apiKey:w.apiKey,indexName:w.indexName,inputSelector:"#search_input_react",algoliaOptions:w.algoliaOptions,autocompleteOptions:{openOnFocus:!0,autoselect:!1,hint:!1,tabAutocomplete:!1},handleSelected:function(e,a,t){a.stopPropagation();var n=document.createElement("a");n.href=t.url;var c="#__docusaurus"===n.hash?""+n.pathname:""+n.pathname+n.hash;g.push(c)}}),e&&f.current.focus()}(e)}))},O=Object(n.useCallback)((function(){k(),m&&f.current.focus(),u(!d)}),[d]),N=Object(n.useCallback)((function(){u(!d)}),[d]),_=Object(n.useCallback)((function(e){var a="mouseover"!==e.type;k(a)})),y=Object(n.useCallback)((function(e){e.defaultPrevented||"Enter"!==e.key||E(e.target.value)}));return c.a.createElement("div",{className:"navbar__search",key:"search-box"},c.a.createElement("div",{className:h.a.searchWrapper},c.a.createElement("span",{"aria-label":"expand searchbar",role:"button",className:r()(h.a.searchIconButton,(a={},a[h.a.searchIconButtonHidden]=d,a)),onClick:O,onKeyDown:O,tabIndex:0}),c.a.createElement("input",{id:"search_input_react",type:"search",placeholder:"Search","aria-label":"Search",className:r()("navbar__search-input",h.a.searchInput,(o={},o[h.a.searchInputExpanded]=d,o)),onMouseOver:_,onFocus:_,onBlur:N,onKeyDown:y,ref:f})))}},219:function(e,a,t){"use strict";t.r(a);var n=t(0),c=t.n(n),o=t(189);a.default=function(){return c.a.createElement(o.a,{title:"Page Not Found"},c.a.createElement("div",{className:"container margin-vert--xl"},c.a.createElement("div",{className:"row"},c.a.createElement("div",{className:"col col--6 col--offset-3"},c.a.createElement("h1",{className:"hero__title"},"Page Not Found"),c.a.createElement("p",null,"We could not find what you were looking for."),c.a.createElement("p",null,"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))}}}]);