1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4521],{3321:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forget",function(){return l(7027)}])},89:function(e,t,l){"use strict";l.d(t,{Z:function(){return n}});var r=l(5893);function n(e){return e.notRender?null:(0,r.jsxs)("div",{className:"flex flex-col mt-4",children:[(0,r.jsx)("label",{children:e.label}),(0,r.jsx)("input",{type:e.type,placeholder:e.placeholder,value:e.value,onChange:function(t){var l;return null===(l=e.valueChanged)||void 0===l?void 0:l.call(e,t.target.value)},required:e.required,className:e.className})]})}},3419:function(e,t,l){"use strict";var r=l(7294),n=l(7823);t.Z=function(){return(0,r.useContext)(n.Z)}},6069:function(e,t,l){"use strict";l.d(t,{Z:function(){return m}});var r=l(5893),n=l(7294),s=l(1664),a=l.n(s),i=function(e){return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("footer",{className:(e.absolute?"absolute w-full bottom-0 bg-blueGray-800":"relative")+" pb-6",children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[(0,r.jsx)("hr",{className:"mb-6 border-b-1 border-blueGray-600"}),(0,r.jsx)("div",{className:"flex flex-wrap items-center md:justify-between justify-center",children:(0,r.jsx)("div",{className:"w-full md:w-4/12 px-4",children:(0,r.jsxs)("div",{className:"text-sm text-blueGray-500 font-semibold py-1 text-center md:text-left",children:["Copyright \xa9 ",(new Date).getFullYear()," ",(0,r.jsx)(a(),{href:"/",children:(0,r.jsx)("a",{className:"text-white hover:text-blueGray-300 text-sm font-semibold py-1",children:"MediTechLabs"})})]})})})]})})})},o=l(828),c=l(9417),u=l(7814),d=l(3419);function x(){var e=(0,o.Z)(n.useState(!1),2),t=e[0],l=e[1],s=(0,d.Z)().user;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("nav",{className:"top-0 absolute z-50 w-full flex flex-wrap items-center justify-between px-2 py-3 navbar-expand-lg",children:(0,r.jsxs)("div",{className:"container px-4 mx-auto flex flex-wrap items-center justify-between",children:[(0,r.jsxs)("div",{className:"w-full relative flex justify-between lg:w-auto lg:static lg:block lg:justify-start",children:[(0,r.jsx)(a(),{href:"/",children:(0,r.jsx)("img",{className:"left-auto sm:w-6/12 -ml-4",src:"/img/logo-reverse.png",alt:"meditechlabs-logo"})}),(0,r.jsx)("button",{className:"cursor-pointer text-xl leading-none px-3 py-1 border border-solid border-transparent rounded bg-transparent block lg:hidden outline-none focus:outline-none",type:"button",onClick:function(){return l(!t)},children:(0,r.jsx)(u.G,{icon:c.xiG})})]}),(0,r.jsx)("div",{className:"lg:flex flex-grow items-center bg-white lg:bg-opacity-0 lg:shadow-none"+(t?" block rounded shadow-lg":" hidden"),id:"example-navbar-warning",children:(0,r.jsxs)("ul",{className:"flex flex-col lg:flex-row list-none lg:ml-auto",children:[(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(a(),{href:"/about",children:(0,r.jsx)("a",{className:"lg:text-white lg:hover:text-blueGray-200 text-blueGray-700 px-3 py-4 lg:py-2 flex items-center text-xs uppercase font-bold",children:"Hakk\u0131m\u0131zda"})})}),(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(a(),{href:"/saglik-rehberi",children:(0,r.jsx)("a",{className:"lg:text-white lg:hover:text-blueGray-200 text-blueGray-700 px-3 py-4 lg:py-2 flex items-center text-xs uppercase font-bold",children:"Sa\u011fl\u0131k Rehberi"})})}),(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(a(),{href:"/contact",children:(0,r.jsx)("a",{className:"lg:text-white lg:hover:text-blueGray-200 text-blueGray-700 px-3 py-4 lg:py-2 flex items-center text-xs uppercase font-bold",children:"\u0130leti\u015fim"})})}),(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(a(),{href:"/en/",children:(0,r.jsx)("a",{className:"lg:text-white lg:hover:text-blueGray-200 text-blueGray-700 px-3 py-4 lg:py-2 flex items-center text-xs uppercase font-bold",children:"EN"})})}),(null===s||void 0===s?void 0:s.email)?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(a(),{href:"/question",children:(0,r.jsxs)("button",{className:"bg-white text-blueGray-700 active:bg-blueGray-50 text-xs font-bold uppercase px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none lg:mr-1 lg:mb-0 ml-3 mb-3 ease-linear transition-all duration-150",type:"button",children:[(0,r.jsx)(u.G,{icon:c.b7W})," HESABIM"]})})})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(a(),{href:"login",children:(0,r.jsxs)("button",{className:"bg-white text-blueGray-700 active:bg-blueGray-50 text-xs font-bold uppercase px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none lg:mr-1 lg:mb-0 ml-3 mb-3 ease-linear transition-all duration-150",type:"button",children:[(0,r.jsx)(u.G,{icon:c.Yem})," Giri\u015f Yap"]})})}),(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(a(),{href:"/register",children:(0,r.jsxs)("button",{className:"bg-white text-blueGray-700 active:bg-blueGray-50 text-xs font-bold uppercase px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none lg:mr-1 lg:mb-0 ml-3 mb-3 ease-linear transition-all duration-150",type:"button",children:[(0,r.jsx)(u.G,{icon:c.FKd})," Kay\u0131t Ol"]})})})]})]})})]})})})}function m(e){var t=e.children;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x,{}),(0,r.jsx)("main",{children:(0,r.jsxs)("section",{className:"relative w-full h-full py-40 min-h-screen",children:[(0,r.jsx)("div",{className:"absolute top-0 w-full h-full bg-blueGray-800 bg-no-repeat bg-full",style:{backgroundImage:"url('/img/bg.png')"}}),t,(0,r.jsx)(i,{absolute:!0})]})})]})}},7027:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return x}});var r=l(7568),n=l(7582),s=l(5893),a=l(7294),i=l(89),o=l(3419),c=l(1664),u=l.n(c),d=l(6069);function x(){var e=(0,o.Z)(),t=(e.register,e.login,e.forgetPassword),l=(0,a.useState)(""),c=l[0],d=l[1],x=(0,a.useState)(""),m=(x[0],x[1],(0,a.useState)("login")),h=(m[0],m[1],(0,a.useState)(null));h[0],h[1];function f(){return(f=(0,r.Z)((function(){return(0,n.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,null===t||void 0===t?void 0:t(c)];case 1:return e.sent(),[3,3];case 2:return e.sent(),console.log("error"),[3,3];case 3:return[2]}}
1))}))).apply(this,arguments)}return(0,s.jsx)("div",{className:"container mx-auto px-4 h-full",children:(0,s.jsx)("div",{className:"flex content-center items-center justify-center h-full",children:(0,s.jsxs)("div",{className:"w-full lg:w-4/12 px-4",children:[(0,s.jsx)("div",{className:"relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded-lg bg-blueGray-200 border-0",children:(0,s.jsxs)("div",{className:"flex-auto px-4 lg:px-10 py-10 pt-0",children:[(0,s.jsx)("div",{className:"text-blueGray-400 text-center mb-3 font-bold",children:(0,s.jsx)("small",{children:" Parolam\u0131 unuttum"})}),(0,s.jsxs)("form",{children:[(0,s.jsxs)("div",{className:"relative w-full mb-3",children:[(0,s.jsx)("label",{className:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password",children:"Email"}),(0,s.jsx)(i.Z,{type:"email",value:c,placeholder:"Email",className:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",valueChanged:d,required:!0})]}),(0,s.jsx)("div",{className:"text-center mt-6",children:(0,s.jsx)("button",{onClick:function(){return f.apply(this,arguments)},className:"bg-blueGray-800 text-white active:bg-blueGray-600 text-sm font-bold uppercase px-6 py-3 rounded shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 w-full ease-linear transition-all duration-150",type:"button",children:"G\xd6NDER"})})]})]})}),(0,s.jsxs)("div",{className:"flex flex-wrap mt-6 relative",children:[(0,s.jsx)("div",{className:"w-1/2"}),(0,s.jsx)("div",{className:"w-1/2 text-right",children:(0,s.jsx)(u(),{href:"/register",children:(0,s.jsx)("a",{href:"#",className:"text-blueGray-200",children:(0,s.jsx)("small",{children:"Yeni bir hesap a\xe7"})})})})]})]})})})}x.layout=d.Z},943:function(e,t,l){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,r=new Array(t);l<t;l++)r[l]=e[l];return r}l.d(t,{Z:function(){return r}})},3375:function(e,t,l){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}l.d(t,{Z:function(){return r}})},828:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var r=l(3375);var n=l(1566);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,n.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1566:function(e,t,l){"use strict";l.d(t,{Z:function(){return n}});var r=l(943);function n(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(l):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?(0,r.Z)(e,t):void 0}}}},function(e){e.O(0,[9774,2888,179],(function(){return t=3321,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.