PageSourceSearch

https://naik.com.vn/_next/static/chunks/pages/tai-khoan/dang-nhap/zalo-dc2a8835f69dd450.js

js naik.com.vn collected 2026-10-02 02:14:18 UTC 3,570 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4215],{61869:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tai-khoan/dang-nhap/zalo",function(){return c(96498)}])},96498:function(a,b,c){"use strict";c.r(b);var d=c(85893),e=c(67294),f=c(89070),g=c(96771),h=c.n(g),i=c(11163),j=c(88767),k=c(98199),l=c(31955),m=c(16735),n=c(12954),o=c(15755),p=c(41664),q=c(25617),r=c(7608);function s(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}var t=function(){var a=(0,i.useRouter)().query,b=(0,o.TL)(),c=(0,i.useRouter)(),f=/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent);"naikapp://LoginZaloScreen?code=".concat(null==a?void 0:a.code,"code_challenge=").concat(null==a?void 0:a.code_challenge,"state=").concat(null==a?void 0:a.state);var g=(0,q.v9)(function(a){return a.dataGlobal}),t=(0,e.useState)(!1);t[0],t[1],(0,e.useEffect)(function(){if((null==a?void 0:a.code)&&(null==a?void 0:a.code_challenge)&&(null==a?void 0:a.state))if(f){var b="naikapp://LoginZaloScreen?code=".concat(null==a?void 0:a.code,"code_challenge=").concat(null==a?void 0:a.code_challenge,"state=").concat(null==a?void 0:a.state);window.location.href=b}else u.mutate()},[a]);var u=(0,j.useMutation)({mutationFn:function(){return k.YR.callbackZalo({code:null==a?void 0:a.code,code_challenge:null==a?void 0:a.code_challenge,state:null==a?void 0:a.state})},onSuccess:function(a){var d=a.Data;l.Z.set(m.vc.tokenName,d),(0,k.o4)(d);var e=JSON.parse(n.Jy.getJWTDecode(d)["http://schemas.microsoft.com/ws/2008/06/identity/claims/userdata"]);console.log(e),k.EA.getByID(null==e?void 0:e.UserId).then(function(a){var f,g=null==a?void 0:a.Data;b((0,o.Nq)(function(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{},d=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(d=d.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),d.forEach(function(b){s(a,b,c[b])})}return a}({},g,{IsConfirmOTP:!1,Roles:[],LastName:"",FirstName:"",Token:d}))),c.push(null!==(f=m.eS.find(function(a){return a.id===g.UserGroupId}).page)&& void 0!==f?f:"/khach-hang/"),b((0,o.OD)(e.UserGroupId))}).catch(function(){console.log("error to fetching user by id!")})},onError:function(a,b,d){r.Amu.error("Đăng nhập thất bại"),c.push("/tai-khoan/dang-nhap")}});return(0,d.jsxs)("div",{className:h().loginPage,children:[(0,d.jsx)("div",{className:"backdrop-blur-xs absolute inset-0 bg-white/100"}),(0,d.jsx)("div",{className:h().loginWrapper,children:(0,d.jsx)("div",{children:(0,d.jsxs)("div",{className:h().loginText,children:[(0,d.jsx)(p.default,{href:"/",children:(0,d.jsx)("a",{className:"mb-4 flex items-center justify-center rounded-md p-2 hover:opacity-80",children:(0,d.jsx)("div",{className:h().loginLogo,children:(0,d.jsx)("img",{src:"".concat(null==g?void 0:g.LogoIMG),alt:"",className:"w-[180px] rounded-md"})})})}),(0,d.jsx)("h1",{children:"Đăng nhập hệ thống"})]})})})]})};t.Layout=f.Z,t.displayName="Hệ thống",b.default=t},96771:function(a){a.exports={loginPage:"tai-khoan_loginPage__XzOje",img:"tai-khoan_img__mnP1u",loginWrapper:"tai-khoan_loginWrapper__CgZco",loginLogo:"tai-khoan_loginLogo__ac81Y",loginText:"tai-khoan_loginText__1C_uC",loginContact:"tai-khoan_loginContact__mpAGU",infoWrapper:"tai-khoan_infoWrapper__nyyK2",infoLabel:"tai-khoan_infoLabel__s5zEw",infoValue:"tai-khoan_infoValue___Tslg"}}},function(a){a.O(0,[9774,675,7570,5987,3206,2888,179],function(){return a(a.s=61869)}),_N_E=a.O()}])

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.