(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{5632:function(e,s,t){Promise.resolve().then(t.bind(t,5693))},5693:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return v}});var n=t(7437),a=t(6722),l=t.n(a);t(7960);var i=t(9376),r=t(8516),c=t(1886),o=t(2265),d=t(4405),h=t(3577),u=t(3145),m=t(7648),x=t(5129),f=t(7165),p=t(9657),b=t(718),g=t.n(b);function j(e){let{task:s}=e,t=(0,i.usePathname)().endsWith("login"),[a,l]=(0,o.useState)(!1),r=()=>l(!0),b=()=>l(!1);return(0,n.jsx)(c.pJ,{as:"nav",className:"bg-white",children:()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mx-auto px-4 sm:px-6 lg:px-8",children:(0,n.jsxs)("div",{className:"flex h-16 justify-between",children:[(0,n.jsx)("div",{className:"flex",children:(0,n.jsxs)("div",{className:"flex flex-shrink-0 items-center",children:[(0,n.jsx)(m.default,{href:"/dashboard",prefetch:!1,children:(0,n.jsx)(u.default,{height:"32",width:"32",src:"".concat(p.s,"/img/orca.png"),alt:"blackfish"})}),(0,n.jsx)(m.default,{href:"/dashboard",prefetch:!1,children:(0,n.jsx)("div",{className:"pl-4 text-4xl text-gray-900 font-bold",children:"blackfish"})}),(0,n.jsx)("div",{className:"pl-4 text-4xl font-extralight text-slate-300 italic",children:s})]})}),!t&&(0,n.jsx)("div",{className:"flex items-center",children:(0,n.jsx)("button",{onClick:r,className:"text-black hover:text-blue-600 focus:outline-none transition-transform transform hover:scale-110","aria-label":"Help",children:(0,n.jsx)(x.Z,{className:"h-6 w-6"})})})]})}),a&&(0,n.jsx)(d.Vq,{open:a,onClose:b,className:"fixed inset-0 z-10 flex items-center justify-center p-4 bg-black bg-opacity-50",children:(0,n.jsxs)(d.EM,{className:"relative rounded-lg bg-white p-6 sm:max-w-lg shadow-md",children:[(0,n.jsx)("button",{onClick:b,className:"absolute top-3 right-3 text-black hover:text-gray-700 focus:outline-none","aria-label":"Close",children:(0,n.jsx)(f.Z,{className:"h-5 w-5"})}),(0,n.jsx)(d.$N,{className:"text-lg font-bold",children:"Having issues?"}),(0,n.jsx)(h.dk,{className:"mt-2 text-sm text-gray-600",children:"Check out our issues page on GitHub. There, you can search for known bugs, find solutions to common problems, or create a new issue if nothing seems to meet your needs. Go ahead—drop us a line!"}),(0,n.jsx)("div",{className:"mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3",children:(0,n.jsx)("a",{type:"button",href:"https://github.com/princeton-ddss/blackfish/issues",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center w-full justify-center rounded-md bg-blue-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600 sm:col-start-2",children:"View on GitHub"})})]})})]})})}function N(e){let{children:s}=e,t=(0,i.usePathname)();return(0,n.jsxs)("html",{lang:"en",children:[(0,n.jsx)("link",{rel:"icon",href:"".concat(p.s,"/img/favicon.ico"),sizes:"any"}),(0,n.jsx)("head",{children:(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:'\n              window.__BLACKFISH_CONFIG__ = {\n                apiUrl: "http://{{ request.app.state.HOST }}:{{ request.app.state.PORT }}{{ request.app.state.BASE_PATH }}",\n                basePath: "{{ request.app.state.BASE_PATH }}"\n              };\n            '}})}),(0,n.jsx)("body",{className:l().className,children:(0,n.jsxs)(r.am,{children:[(0,n.jsx)(j,{task:t.slice(1)}),s]})})]})}j.propTypes={task:g().string},N.propTypes={children:g().node};var v=N},7960:function(){}},function(e){e.O(0,[361,501,753,145,819,516,971,117,744],function(){return e(e.s=5632)}),_N_E=e.O()}]);