PageSourceSearch

https://onnuristore.com/_next/static/chunks/pages/auth/app-login/kakao-336bc7c0d04658d2.js

js onnuristore.com collected 2026-10-06 16:22:52 UTC 1,995 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2939],{49246:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/app-login/kakao",function(){return n(17576)}])},17576:function(e,t,n){"use strict";n.r(t);var i=n(35944),o=n(29323),u=n(67294),s=n(44807),r=n(62564),a=n(11687);t.default=(0,o.Pi)(()=>{let e=new URL(window.location.href).searchParams.get("code")||"",t=(0,u.useRef)(!1);return(0,u.useEffect)(()=>{t.current||(t.current=!0,s.ZP.oauthService.kakaoCallbackUsingPOST(e,"/auth/app-login/kakao").then(e=>{let t=(0,r.J)(e.data.data);t||alert("탈퇴한 계정입니다.")}).catch(e=>{var t,n,i,o;let u=(null==e?void 0:null===(i=e.response)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:null===(t=n.error)||void 0===t?void 0:t.message)||(null==e?void 0:null===(o=e.response)||void 0===o?void 0:o.data)||(null==e?void 0:e.message)||"소셜 로그인에 실패하였습니다.";(0,a.Pw)("string"==typeof u?u:"소셜 로그인 실패")}))},[]),(0,i.tZ)(i.HY,{})})},11687:function(e,t,n){"use strict";n.d(t,{Ko:function(){return notifyBack},Pw:function(){return notifyLoginFailure},yg:function(){return notifyLoginSuccess}});let sendResultToApp=e=>{var t;if(null===(t=window.ReactNativeWebView)||void 0===t?void 0:t.postMessage){window.ReactNativeWebView.postMessage(JSON.stringify(e));return}},notifyLoginSuccess=e=>{let t={type:"ONNS_AI_LOGIN_SUCCESS"};Object.keys(e).forEach(n=>{let i=e[n];"string"==typeof i&&""!==i&&(t[n]=i)}),sendResultToApp(t)},notifyLoginFailure=e=>{sendResultToApp({type:"ONNS_AI_LOGIN_FAILURE",reason:e})},notifyBack=()=>{sendResultToApp({type:"ONNS_AI_BACK"})}},62564:function(e,t,n){"use strict";n.d(t,{J:function(){return sendAuthResultToApp}});var i=n(11687);let sendAuthResultToApp=e=>"WITHDRAWAL"===e.user.state?((0,i.Pw)("WITHDRAWAL"),!1):((0,i.yg)({uuid:e.user.uuid,loginId:e.user.loginId,provider:e.user.provider,email:e.user.email}),!0)}},function(e){e.O(0,[9323,9774,2888,179],function(){return e(e.s=49246)}),_N_E=e.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.