PageSourceSearch

https://kima-fe.vercel.app/static/js/752.ea3ef715.chunk.js

js kima-fe.vercel.app collected 2026-10-03 07:11:15 UTC 5,466 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkkima_fe=self.webpackChunkkima_fe||[]).push([[752],{2443:function(e,l,s){s.r(l),s.d(l,{default:function(){return j}});var a=s(4165),r=s(5861),t=s(4942),i=s(1413),n=s(9439),o=s(2791),d=s(8941),c=s.p+"static/media/kfu-iuef.f7b7b7b749c63f48bede.png",u=s(5249),m=s(1557),x=s(4868),h=s(6907),v=s(5772),p=s(4457),f=s(3402),g=s(2711),b=s(184),j=function(e){var l=e.title,s=(0,o.useState)({}),j=(0,n.Z)(s,2),w=j[0],N=j[1],k=(0,o.useState)(!1),S=(0,n.Z)(k,2),Z=S[0],y=S[1],B=(0,v.s0)(),C=function(e){var l=e.target,s=l.name,a=l.value;N((0,i.Z)((0,i.Z)({},w),{},(0,t.Z)({},s,a)))},X=function(){var e=(0,r.Z)((0,a.Z)().mark((function e(l){var s,r,t,i,n,o,d,c,u;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l.preventDefault(),e.prev=1,null===w||void 0===w||!w.email||null===w||void 0===w||!w.password){e.next=13;break}return e.next=5,m.Z.login(null===w||void 0===w?void 0:w.email,null===w||void 0===w?void 0:w.password);case 5:if(t=e.sent,i=null===t||void 0===t||null===(s=t.data)||void 0===s?void 0:s.token,null===t||void 0===t||null===(r=t.data)||void 0===r||!r.token){e.next=13;break}return localStorage.setItem("access_token",i),e.next=11,x.Z.getProfile();case 11:1===(null===(c=e.sent)||void 0===c||null===(n=c.data)||void 0===n||null===(o=n.user)||void 0===o||null===(d=o.Role)||void 0===d?void 0:d.id)?(localStorage.setItem("userData",JSON.stringify(null===c||void 0===c||null===(u=c.data)||void 0===u?void 0:u.user)),B("/dashboard"),(0,p.Nu)(),f.Am.success("\u0414\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c, \u0430\u0434\u043c\u0438\u043d!")):localStorage.removeItem("access_token");case 13:e.next=19;break;case 15:e.prev=15,e.t0=e.catch(1),console.log(e.t0),f.Am.error("\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b \u0438\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c");case 19:case"end":return e.stop()}}),e,null,[[1,15]])})));return function(l){return e.apply(this,arguments)}}();return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(h.ql,{children:(0,b.jsx)("title",{children:l})}),(0,b.jsx)("section",{className:"paddingX xl:paddingXLonger3 bg-customGray2",children:(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-center w-full min-h-screen max-sm:p-0 paddingX",children:[(0,b.jsxs)("div",{style:{backgroundImage:"url(".concat(c,")"),backgroundSize:"cover"},className:"max-xl:hidden xl:w-[45%] h-[35rem] lg:h-[40rem] p-6 relative shadow-xl",children:[(0,b.jsx)("div",{className:"absolute h-full w-full bg-gradient-to-t from-customBlue from-10% via-customBlue/95 via-10% to-white/75 to-100% left-0 top-0"}),(0,b.jsxs)("div",{className:"relative h-full paddingYLonger",children:[(0,b.jsx)("div",{className:"absolute bottom-0 w-full h-full border-4 border-white"}),(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-2",children:[(0,b.jsx)("div",{className:"paddingX",children:(0,b.jsx)("img",{src:u,alt:"KIMA-logo",className:"object-cover"})}),(0,b.jsxs)("p",{className:"text-center text-white pBigger",children:["\u201c\u041f\u0440\u0435\u0432\u0440\u0430\u0442\u0438 \u0441\u0432\u043e\u0438 \u0437\u043d\u0430\u043d\u0438\u044f ",(0,b.jsx)("br",{})," \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438\u201d"]})]})]})]}),(0,b.jsx)("div",{className:"w-full xl:w-[55%] border-t-2 border-r-2 border-b-2 max-xl:border-2 border-customBlue h-[35rem] lg:h-[40rem] shadow-xl",children:(0,b.jsxs)("div",{className:"flex flex-col h-full",children:[(0,b.jsxs)("div",{className:"xl:h-[30%] bg-customBlue xl:paddingYShorter2 xl:paddingXShorter2 xl:paddingTopShorter max-xl:paddingAllEquals",children:[(0,b.jsx)("h3",{className:"text-customYellow ",children:"\u0414\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c"}),(0,b.jsx)("p",{className:"text-white pBigger",children:"\u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c"})]}),(0,b.jsx)("div",{className:"h-[70%] bg-customGray paddingXShorter paddingTopShorter  paddingBottom max-xl:paddingAllEquals pBigger",children:(0,b.jsxs)("div",{className:"grid gap-5",children:[(0,b.jsx)(d.Z,{className:"rounded-none",name:"email",password:(null===w||void 0===w?void 0:w.email)||"",label:"\u041f\u043e\u0447\u0442\u0430",placeholder:"[email protected]",onChange:C}),(0,b.jsxs)("div",{className:"flex flex-col",children:[(0,b.jsx)("label",{className:"mb-1 ml-1 font-semibold text-customBlue ",children:"\u041f\u0430\u0440\u043e\u043b\u044c"}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(d.Z,{className:"rounded-none w-full pr-12",name:"password",type:Z?"text":"password",password:(null===w||void 0===w?void 0:w.password)||"",placeholder:"********",onChange:C}),(0,b.jsx)("div",{onClick:function(){return y(!Z)},className:"absolute cursor-pointer inset-y-0 right-4 flex items-center",children:(0,b.jsx)(g.JO,{icon:"zondicons:view-show",width:20})})]})]}),(0,b.jsx)("button",{className:"px-10 py-2 mx-auto mt-8 font-semibold border-2 w-fit bg-customYellow border-customText",onClick:X,children:"\u0412\u043e\u0439\u0442\u0438"})]})})]})})]})})]})}}}]);
2//# sourceMappingURL=752.ea3ef715.chunk.js.map

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.