PageSourceSearch

https://reavol.vn/_next/static/chunks/543-43ca4c229442b025.js

js reavol.vn collected 2026-10-02 02:11:13 UTC 13,420 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[543],{58143:function(a,b){"use strict";b.Z={src:"/_next/static/media/avatar.d768e6da.png",height:60,width:60,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAdVBMVEXY2+/Y2u/Z2u/Y2u/b3vPY3/Xc3fHb3fLa3fPY3vPa3fLY3fPY3fLa3PHZ2/DY2/DZ2u/Y2vDY2u/Z2e7Y2e7a0+ba0ubS0+jR0efcy97dyd3Kyt/IyN3bv9Havc/GqbLDpa6/p6i9pqa/iIm+iInuQkbvPEDlFDdyAAAABHRSTlOxsf7+AvvIagAAAEZJREFUeNoFQIcRgCAMfIgiChKMvXf3H9GDYu29ZgWOrmtdZOh8+t7RaTTp9txrWkOK4Tr7UkBijt0IIYhdZisVECjJKKgfjgkD3+LGQcAAAAAASUVORK5CYII="}},67244:function(a,b,c){"use strict";c.r(b),b.default={src:"/_next/static/media/ic_search.2fe8ae3b.svg",height:14,width:14}},37683:function(a,b,c){"use strict";c.r(b),b.default={src:"/_next/static/media/img_notification.8275ff1e.svg",height:18,width:16}},82216:function(a,b,c){"use strict";c.d(b,{Z:function(){return o}});var d=c(85893),e=c(31963),f=c(12667),g=c(58038),h=c(13316),i=c(94321),j=c(26643),k=c(71577),l=c(67294),m=c(94260),n=c.n(m);function o(){var a=(0,g.TL)(),b=(0,g.CG)(e.DI),c=b.change_pass,m=b.otp_response;b.error;var o,p=(0,l.useState)(!1),q=p[0],r=p[1],s=function(a){if(Array.isArray(a))return a}(o=h.Z.useForm())||function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{d||null==h.return||h.return()}finally{if(e)throw f}}return c}(o,1)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}(),t=s[0],u=(0,g.CG)(f.Hy),v=u.verifyResponse;u.passSuccess,u.pending,(0,l.useEffect)(function(){m&&w()},[m]);var w=function(){r(!1),t.resetFields()},x=function(){r(!0)},y=function(){r(!1)};return(0,d.jsxs)(d.Fragment,{children:[v?(null==v?void 0:v.user.password)!==void 0&&(null==v?void 0:v.user.password)!==null&&(null==v?void 0:v.user.password)!==""?(0,d.jsx)("div",{className:n().textButton,onClick:x,children:(0,d.jsx)("span",{children:"Đổi mật khẩu"})}):null:(0,d.jsx)("div",{className:n().textButton,onClick:x,children:(0,d.jsx)("span",{children:"Đổi mật khẩu"})}),(0,d.jsx)(i.Z,{title:"Đổi mật khẩu",visible:q,onOk:function(){return y()},onCancel:function(){return w()},className:n().styleModal,footer:[null],children:(0,d.jsxs)(h.Z,{layout:"vertical",onFinish:function(){a((0,e.s4)({oldPass:t.getFieldValue("oldPass").trim(),newPass:t.getFieldValue("newpass").trim()}))},form:t,children:[(0,d.jsx)(h.Z.Item,{label:"Mật khẩu cũ",name:"oldPass",rules:[{required:!0,message:"Vui l\xf2ng nhập mật khẩu"}],children:(0,d.jsx)(j.Z.Password,{})}),(0,d.jsx)(h.Z.Item,{label:"Nhập mật khẩu mới",name:"newpass",rules:[{required:!0,message:"Vui l\xf2ng nhập mật khẩu"}],children:(0,d.jsx)(j.Z.Password,{})}),(0,d.jsx)(h.Z.Item,{label:"Nhập lại mật khẩu mới",name:"confirmpass",rules:[{required:!0,message:"Vui l\xf2ng nhập mật khẩu"},{validator:function(a,b){return b?b===t.getFieldValue("newpass")?Promise.resolve():Promise.reject("Mật khẩu kh\xf4ng tr\xf9ng khớp"):Promise.reject()}},],children:(0,d.jsx)(j.Z.Password,{})}),(0,d.jsxs)("div",{className:n().buttonPass,children:[(0,d.jsx)(k.Z,{onClick:w,children:"Huỷ"}),(0,d.jsx)(k.Z,{htmlType:"submit",type:"primary",children:"Đổi mật khẩu"})]})]})})]})}},57465:function(a,b,c){"use strict";c.d(b,{Z:function(){return v}});var d=c(85893),e=c(13316),f=c(16536),g=c(94321),h=c(26643),i=c(71577),j=c(25675),k=c(67294),l=c(7870),m=c.n(l),n={src:"/_next/static/media/icon_paddlock.66421c96.svg",height:28,width:28},o=c(31955),p=c(58038),q=c(24582),r=c(78820),s=c(31963),t=c(12667),u=c(25769),v=function(){var a,b,c=(0,k.useState)(!1),l=c[0],v=c[1],w=(0,u.Z)().screenWidth,x=(0,p.CG)(s.DI).userResponse,y=function(a){if(Array.isArray(a))return a}(a=e.Z.useForm())||function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{d||null==h.return||h.return()}finally{if(e)throw f}}return c}
1(a,1)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}(),z=y[0],A=(0,p.TL)(),B=(0,k.useState)(),C=B[0],D=B[1],E=(0,p.CG)(t.Hy).verifyResponse;return(0,k.useEffect)(function(){var a=o.Z.get(r.hf);a&&D(JSON.parse(a))},[]),(0,d.jsxs)("div",{className:"".concat(m().modalInstall," modal-code"),children:[(null==x?void 0:null===(b=x.lastSub)|| void 0===b?void 0:b.status)===1||E?null:(0,d.jsx)(j.default,{src:n,alt:"",width:30,height:30,onClick:function(){v(!0),z.resetFields()}}),(0,d.jsxs)(g.Z,{width:w>576?"30%":void 0,className:m().modalNotifi,title:"Nhập m\xe3",visible:l,footer:null,onCancel:function(){v(!1)},children:[(0,d.jsx)("div",{className:m().title_modal_install_app,children:"Bạn h\xe3y nhập m\xe3 s\xe1ch đ\xe3 nhận được ở đ\xe2y. Nếu chưa c\xf3 vui l\xf2ng quay lại đăng k\xfd g\xf3i đọc"}),(0,d.jsxs)(e.Z,{onFinish:function(a){void 0===a.code?f.ZP.error("Vui l\xf2ng nhập m\xe3 k\xedch hoạt"):(A((0,q.ex)(a)),v(!1))},form:z,children:[(0,d.jsx)(e.Z.Item,{name:"code",rules:[{required:!1,message:""}],className:m().inputTextCode,children:(0,d.jsx)(h.Z,{placeholder:"Nhập m\xe3"})}),(0,d.jsx)("div",{className:m().activated,children:(0,d.jsx)(i.Z,{htmlType:"submit",children:"K\xedch hoạt"})})]})]})]})}},37379:function(a,b,c){"use strict";c.d(b,{Z:function(){return C}});var d=c(85893),e=c(38792),f=c(94321),g=c(13316),h=c(26643),i=c(11475),j=c(25675),k=c(41664),l=c(31955),m=c(67294),n=c(97166),o=c.n(n),p=c(58143),q=c(10676),r=c(58038),s=c(11163),t=c(62193),u=c.n(t);function v(){var a=(0,r.TL)(),b=(0,m.useRef)(null),e=(0,m.useState)("")[0],f=(0,s.useRouter)();(0,m.useEffect)(function(){(null==f?void 0:f.pathname.indexOf("searchbook"))>=0&&b.current.focus()},[]);var g=(0,d.jsx)(j.default,{src:c(67244),alt:"export"});return(0,d.jsx)("div",{className:u().headerUser,children:(0,d.jsx)("div",{className:"centerVertical",children:(0,d.jsx)(h.Z,{className:"searchAccount1",placeholder:"T\xecm Kiếm",ref:b,onClick:function(a){(null==f?void 0:f.pathname)!=="/searchbook"&&(""==a.target.value.trim()||0==a.target.value.length)&&f.push({pathname:"/searchbook"})},onChange:function(b){if(b.target.value!==e&&""!==b.target.value||0!==b.target.value.trim().length&& void 0!==b.target.value){var c={page:0,name:b.target.value.trim()};a((0,q.Y6)(c))}else a((0,q.xl)())},suffix:g})})})}var w=c(78820),x=c(82216),y=c(31963),z=c(57465),A=e.Z.SubMenu,B=f.Z.confirm;function C(){var a,b=(0,m.useState)(!1),n=b[0],q=b[1],t=(0,m.useState)(),u=t[0],C=t[1],D=function(a){if(Array.isArray(a))return a}(a=g.Z.useForm())||function(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(i){e=!0,f=i}finally{try{d||null==h.return||h.return()}finally{if(e)throw f}}return c}(a,1)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}(),E=D[0],F=(0,s.useRouter)(),G=(0,r.TL)();(0,m.useEffect)(function(){var a=localStorage.getItem("admin");a&&C(JSON.parse(a))},[]);var H=function(){q(!0)},I=function(){void 0===l.Z.get(w.JE)?(F.push({pathname:"/login"}),l.Z.remove("admin"),G((0,y.zK)()),G((0,y.Cv)()),G((0,y.r)())):B({title:"Bạn c\xf3 chắc chắn muốn đăng xuất kh\xf4ng?",icon:(0,d.jsx)(i.Z,{}),okText:"X\xe1c nhận",cancelText:"Hủy bỏ",onOk:function(){var a="/login";F.push({pathname:a}),l.Z.remove(w.JE),l.Z.remove(w.Is),l.Z.remove("admin"),G((0,y.zK)()),G((0,y.Cv)()),G((0,y.r)())},onCancel:function(){}})};return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:o().headerUser,children:[(0,d.jsx)("div",{className:"center-vertical ".concat(o().navbar_web_header),children:(0,d.jsxs)("div",{className:o().logout,children:[(0,d.jsx)(v,{}),(0,d.jsx)(z.Z,{}),(0,d.jsxs)("div",{className:o().adButton_login,children:[void 0!==l.Z.get(w.JE)?(0,d.jsx)(e.Z,{mode:"horizontal",children:(0,d.jsxs)(A,{title:(0,d.jsx)("div",{className:o().avatarLogin,children:(0,d.jsx)("div",{className:"d-flex",children:(0,d.jsxs)("div",{className:o().adButton,children:[(0,d.jsx)("div",{className:o().adButton_image,children:u&&u.avatar&&u.avatar.originUrl&&l.Z.get(w.JE)?(0,d.jsx)(j.default,{src:u.avatar.originUrl,alt:"No image",width:50,height:50,unoptimized:!0,placeholder:"blur",blurDataURL:u.avatar.thumbUrl}):(0,d.jsx)(j.default,{src:p.Z,alt:"",width:50,height:50})}),(0,d.jsx)("div",{className:o().spanTextName,children:(0,d.jsx)("span",{children:u?u.name:(0,d.jsx)("span",{})})})]})})}),children:[(0,d.jsx)(e.Z.Item,{className:o().borderButton,children:(0,d.jsx)("div",{className:o().textButton,onClick:H,children:(0,d.jsx)("span",{children:"Th\xf4ng tin"})})},"1"),(0,d.jsx)(e.Z.Item,{className:o().borderButton,children:(0,d.jsx)(x.Z,{})},"2"),(0,d.jsx)(e.Z.Item,{className:o().borderButton,onClick:function(){F.push({pathname:"/overviewcollarator"}),q(!1)},children:(0,d.jsx)("div",{className:o().textButton,children:(0,d.jsx)("span",{children:"Quản l\xfd s\xe1ch"})})},"3"),(0,d.jsx)(e.Z.Item,{className:o().borderButton,children:(0,d.jsx)("div",{className:o().textButton,onClick:I,children:(0,d.jsx)("span",{children:"Đăng xuất"})})},"4")]},"sub1")}
1):(0,d.jsx)("div",{onClick:I,className:o().adButton,children:(0,d.jsx)("div",{style:{display:"flex",marginRight:20},children:(0,d.jsx)("div",{className:o().adButton_logout,children:(0,d.jsx)(j.default,{src:p.Z,alt:"",width:50,height:50})})})}),(0,d.jsx)(k.default,{href:"/account",children:(0,d.jsx)("a",{children:(0,d.jsx)("div",{className:o().ic_notification,children:(0,d.jsx)(j.default,{src:c(37683),alt:"notification",width:27,height:27})})})})]}),(0,d.jsxs)("div",{className:o().adButton_login_ipad,children:[u&& void 0!==l.Z.get(w.JE)?(0,d.jsx)(e.Z,{mode:"horizontal",children:(0,d.jsxs)(A,{title:(0,d.jsx)("div",{className:o().avatarLogin,children:(0,d.jsx)("div",{className:"d-flex",children:(0,d.jsxs)("div",{className:o().adButton,children:[(0,d.jsx)("div",{className:o().adButton_image,children:u&&u.avatar&&u.avatar.originUrl&&l.Z.get(w.JE)?(0,d.jsx)(j.default,{src:u.avatar.originUrl,alt:"No image",width:50,height:50,unoptimized:!0,placeholder:"blur",blurDataURL:u.avatar.thumbUrl}):(0,d.jsx)(j.default,{src:p.Z,alt:"",width:50,height:50})}),(0,d.jsx)("div",{className:o().spanTextName,children:(0,d.jsx)("span",{children:u?u.name:(0,d.jsx)("span",{})})})]})})}),children:[(0,d.jsx)(e.Z.Item,{className:o().borderButton,children:(0,d.jsx)("div",{className:o().textButton,onClick:H,children:(0,d.jsx)("span",{children:"Th\xf4ng tin"})})},"1"),(0,d.jsx)(e.Z.Item,{className:o().borderButton,children:(0,d.jsx)(x.Z,{})},"2"),(0,d.jsx)(e.Z.Item,{className:o().borderButton,children:(0,d.jsx)("div",{className:o().textButton,onClick:I,children:(0,d.jsx)("span",{children:"Đăng xuất"})})},"4")]},"sub1")}):(0,d.jsx)("div",{onClick:I,className:o().adButton,children:(0,d.jsx)("div",{style:{display:"flex",marginRight:20},children:(0,d.jsx)("div",{className:o().adButton_logout,children:(0,d.jsx)(j.default,{src:p.Z,alt:"",width:50,height:50})})})}),(0,d.jsx)(k.default,{href:"/notification",children:(0,d.jsx)("a",{children:(0,d.jsx)("div",{className:o().ic_notification,children:(0,d.jsx)(j.default,{src:c(37683),alt:"notification",width:27,height:27})})})})]})]})}),(0,d.jsx)(f.Z,{title:"TH\xd4NG TIN",visible:n,footer:null,onOk:function(){q(!1)},onCancel:function(){q(!1),E.resetFields()},children:(0,d.jsxs)(g.Z,{layout:"vertical",form:E,children:[(0,d.jsx)(g.Z.Item,{style:{height:100},children:(0,d.jsx)("div",{style:{textAlign:"center"},children:(0,d.jsx)("div",{children:u&&u.avatar&&u.avatar.originUrl?(0,d.jsx)(j.default,{className:o().infoImage,src:u.avatar.originUrl,alt:"No image",width:100,height:100,unoptimized:!0,placeholder:"blur",blurDataURL:u.avatar.thumbUrl}):(0,d.jsx)(j.default,{className:o().infoImage,src:p.Z,alt:"",width:100,height:100})})})}),(0,d.jsx)(g.Z.Item,{label:"Họ v\xe0 t\xean",initialValue:null==u?void 0:u.name,rules:[{required:!1,message:"Kh\xf4ng được bỏ trống!"}],name:"name",children:(0,d.jsx)(h.Z,{disabled:!0,className:o().infoUser})}),(0,d.jsx)(g.Z.Item,{label:"Email",initialValue:null==u?void 0:u.email,rules:[{required:!1,message:"Kh\xf4ng được bỏ trống!"}],name:"email",children:(0,d.jsx)(h.Z,{disabled:!0,className:o().emailUser})})]})})]})})}},94260:function(a){a.exports={buttonPass:"style_buttonPass__PtWuH",styleModal:"style_styleModal__cNnx3",textButton:"style_textButton__aNRTD"}},7870:function(a){a.exports={modalInstall:"style_modalInstall__ZTTd7",modalNotifi:"style_modalNotifi__RPXmY",inputTextCode:"style_inputTextCode__JWAPq",activated:"style_activated__HYWxA"}},62193:function(a){a.exports={headerUser:"style_headerUser__rS0yx"}},97166:function(a){a.exports={headerUser:"style_headerUser__5tmZB",navbar_web_header:"style_navbar_web_header__NHfyo",logout:"style_logout__vudjh",adButton_login:"style_adButton_login__D1J4a",avatarLogin:"style_avatarLogin__LuLLE",adButton:"style_adButton__BmQ1_",adButton_image:"style_adButton_image__faCqy",spanTextName:"style_spanTextName__MjElJ",ic_notification:"style_ic_notification___gie9",adButton_login_ipad:"style_adButton_login_ipad__kjYAw",borderButton:"style_borderButton__DFJ8f",textButton:"style_textButton__TZthj",infoUser:"style_infoUser__yxM90",emailUser:"style_emailUser__4_fJH",infoImage:"style_infoImage__FU3_i",adButton_logout:"style_adButton_logout__VaoPE"}}}])

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.